p2p-hyperliquid-bitcoin-usdc-deposit

Convert cash to USDC, open a 5x BTC-PERP position on Hyperliquid, and withdraw USDC to Polygon.

2|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/terraleiloa/seren-skills --skill p2p-hyperliquid-bitcoin-usdc-deposit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: p2p-hyperliquid-bitcoin-usdc-deposit
Source: https://github.com/terraleiloa/seren-skills/tree/main/polymarket/p2p-hyperliquid-bitcoin-usdc-deposit
Command: npx skills add https://github.com/terraleiloa/seren-skills --skill p2p-hyperliquid-bitcoin-usdc-deposit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables depositing cash into Polymarket by converting funds into a 5x leveraged BTC position on Hyperliquid and then withdrawing free USDC to Polymarket, while running a liquidation-risk backtest in dry-run mode.

Core Features & Use Cases

  • P2P fiat onramp to USDC: Uses ZKP2P peer-onramp to move cash into USDC for downstream execution.
  • Hyperliquid 5x BTC-PERP position setup (no debt): Opens a leveraged BTC-PERP exposure using margin derived from the deposit.
  • CCTP withdrawal to Polygon/Polymarket: Withdraws free USDC via CCTP to fund the Polymarket wallet.
  • Liquidation risk backtest (dry-run default): Simulates a 270-day liquidation-risk scenario using CoinGecko historical BTC prices and fails closed if required inputs are missing.

Quick Start

Run the skill in dry-run mode for a $200 deposit with default 5x leverage and review the 270-day liquidation risk results before executing live.

Frequently Asked Questions about p2p-hyperliquid-bitcoin-usdc-deposit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deposit cash into Polymarket using Hyperliquid BTC leverage?

Yes, you can withdraw free USDC from Hyperliquid to fund a Polymarket wallet using CCTP. The Skill bridges USDC to the Polygon network, enabling self-custody deposits directly into your Polymarket account without KYC requirements.

How does the liquidation risk backtest work for leveraged perp positions?

Yes, this leveraged perp deposit flow supports a no-KYC self-custody setup. It uses ZKP2P peer-onramp for fiat conversion and requires the POLYMARKET_PRIVATE_KEY and SEREN_API_KEY environment variables to execute the decentralized funding process.

What is the best way to assess liquidation risk before opening a 5x BTC position?

The best way to assess liquidation risk is running the Skill in dry-run mode, which performs a 270-day liquidation-risk backtest using historical BTC prices. It fails closed if required inputs are missing, ensuring safety before live execution.

Do I need specific API keys to run the P2P onramp to USDC conversion?

Yes, you need the POLYMARKET_PRIVATE_KEY and SEREN_API_KEY environment variables to run the P2P onramp to USDC conversion. The script fails closed if these required inputs are missing, ensuring secure execution of the leveraged deposit flow.