polymarket/p2p-hyperliquid-bitcoin-usdc-deposit/SKILL.md
Deposit cash into Polymarket with 5x Bitcoin leverage on Hyperliquid. No KYC, no debt, self-custody. Fiat onramp via ZKP2P peer-onramp. Dry-run includes 270-day liquidation risk backtest.
npx skillsauth add serenorg/seren-skills p2p-hyperliquid-bitcoin-usdc-depositInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Skill instructions are preloaded in context when this skill is active. Do not perform filesystem searches or tool-driven exploration to rediscover them; use the guidance below directly.
Converts a cash deposit into a 5x leveraged BTC-PERP on Hyperliquid, then withdraws free USDC directly to Polymarket on Polygon via CCTP. No debt is created — the Polymarket funds are free from day one. All Hyperliquid API calls route through the seren-hyperliquid publisher. Backtest uses coingecko-serenai publisher for BTC prices.
Cash ($200 via any payment app)
│
▼ ① ZKP2P peer-onramp (fiat → USDC on Base)
USDC on Base
│
▼ ② CCTP deposit USDC to Hyperliquid
USDC on Hyperliquid
│
▼ ③ Open 5x BTC-PERP ($40 margin → $200 notional)
│
▼ ④ Withdraw $159 free USDC → CCTP → Polygon
│
▼ ⑤ Polymarket wallet funded ($0 debt)
| Step | In | Out | | --- | --- | --- | | ① ZKP2P Onramp | $200 cash | ~200 USDC (Base) | | ② CCTP Deposit | 200 USDC | Hyperliquid balance | | ③ Open 5x Perp | $40 margin | $200 BTC-PERP position | | ④ Withdraw | $159 free USDC | USDC on Polygon | | ⑤ Funded | — | Polymarket ready |
Net position: Long $200 BTC (5x) + $159 on Polymarket. $0 debt.
If liquidated: you lose the $40 margin. You keep the $159 on Polymarket. Net: +$119 even after liquidation.
The words exit, close, unwind, and stop are immediate operator instructions. When the user issues any of these, the agent must close the BTC-PERP position immediately.
POLYMARKET_PRIVATE_KEY is setSEREN_API_KEY is setPOLYMARKET_PRIVATE_KEY — wallet private key for Hyperliquid signing and PolymarketSEREN_API_KEY — Seren gateway key (CoinGecko publisher for backtest)Default mode is dry-run. Dry-run simulates the full pipeline and runs the 270-day liquidation risk backtest using CoinGecko historical BTC prices. No positions opened, no USDC moved.
python scripts/agent.py --config config.json
To execute live:
python scripts/agent.py --config config.json --yes-live
python scripts/agent.py stop --config config.json --yes-live
Closes the BTC-PERP position and withdraws remaining margin.
When this skill is invoked, immediately run:
python scripts/agent.py --config config.json
The dry-run automatically fetches 270 days of BTC prices from CoinGecko (via Seren publisher) and simulates liquidation risk:
| Leverage | Liq Threshold | Liq Rate (270d, 30d window) | Risk Rating | | --- | --- | --- | --- | | 5x | 17% drop | ~20% | HIGH | | 10x | 7% drop | ~44% | VERY HIGH | | 50x | 1% drop | ~89% | VERY HIGH |
Default is 5x. At 5x, 1 in 5 entries over the past 270 days would have been liquidated within 30 days.
| Variable | Required | Description |
| --- | --- | --- |
| POLYMARKET_PRIVATE_KEY | Yes | Wallet private key — used for Hyperliquid signing and as Polymarket wallet |
| Variable | Required | Description |
| --- | --- | --- |
| SEREN_API_KEY | Yes | Seren API key — used for CoinGecko publisher (backtest) |
Required for Step 1 (fiat deposit). Full instructions at peer-onramp SKILL.md.
| Variable | Required | How to Get |
| --- | --- | --- |
| PRIVATE_KEY | Yes | Base wallet private key (use same as POLYMARKET_PRIVATE_KEY) |
| WISE_API_TOKEN | For Wise | wise.com → Settings → API tokens (recommended — 100% autonomous) |
| VENMO_COOKIES | For Venmo | Browser DevTools → extract session cookies (80% autonomous) |
| Component | Estimated Cost | | --- | --- | | ZKP2P onramp fee | ~0.1-0.5% of deposit | | Hyperliquid trading fee | 0.035% (taker) | | CCTP withdrawal | ~$1 USDC | | Total | ~$1-2 on $200 |
testing
Review-first outreach skill for the default Seren Bucks affiliate program. It bootstraps affiliate context via /programs/discover, mines sent-mail history and address books for candidates, persists them into a skill-owned CRM, proposes an editable daily top-10, drafts outbound and reply batches for approval, reconciles affiliate and reply signals, enforces hard DNC, and returns a manual daily digest.
data-ai
Lean partner-link distribution skill for the seren-affiliates publisher program portfolio. Operates one publisher program per run. Bootstraps the affiliate profile (registering on first run), caches joined programs in serendb, ingests contacts from a pasted list or from Gmail/Outlook address books, drafts a pitch once per run via seren-models for operator approval, sends approved copy through Gmail (preferred) or Microsoft Outlook, enforces per-program dedupe plus a global unsubscribe list, and reports local plus live conversion and commission stats from seren-affiliates.
development
Family office: Process an incoming GP capital call notice end-to-end — confirm, fund, log, reconcile.
development
Work with Seren Bounty affiliate bounties: customers create and fund verifier-backed bounties; agents join to receive a referral_code and accrue earnings as qualifying events are verified; a release sweep pays matured earnings out of escrow.