p2p-leverage-bitcoin-usdc-deposit

Convert fiat cash into leveraged Bitcoin exposure and route borrowed USDC to Polymarket via Base and Polygon.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you convert fiat cash into a leveraged Bitcoin position that funds a Polymarket wallet, reducing manual coordination across multiple crypto protocols and steps.

Core Features & Use Cases

  • P2P fiat → USDC on Base using the upstream ZKP2P peer-onramp flow for supported payment apps.
  • USDC → cbBTC swap on Base via the lowest-spread DEX path (e.g., Aerodrome or Uniswap V3).
  • Aave V3 Base collateralization and borrowing to borrow USDC against cbBTC at the intended leverage/LTV.
  • Stargate (LayerZero) bridge Base → Polygon to move borrowed USDC to the destination chain.
  • Polymarket wallet funding on Polygon by ensuring USDC.e arrives on the configured wallet.

Quick Start

Trigger the deposit and pipeline simulation by running: python scripts/agent.py --config config.json

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

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

FAQPage Schema
How do I fund Polymarket using leveraged Bitcoin on Base?

You can fund Polymarket with leveraged Bitcoin by converting fiat to USDC on Base, swapping USDC for cbBTC, supplying cbBTC as Aave V3 collateral to borrow USDC, and bridging it to Polygon via Stargate.

What is the process for borrowing USDC against cbBTC on Aave V3 to bridge to Polygon?

The process involves supplying cbBTC as collateral into Aave V3 on Base, borrowing USDC at your desired leverage ratio, and routing the borrowed USDC through the Stargate LayerZero bridge to arrive on Polygon.

Can I use a P2P onramp to acquire USDC on Base and swap it to cbBTC?

Yes, you can use an upstream ZKP2P peer-onramp flow to convert fiat into USDC on Base, then execute a USDC to cbBTC swap via the lowest-spread DEX path like Aerodrome or Uniswap V3.

Do I need specific RPC publishers and private keys to automate DeFi funding pipelines?

Yes, automating this DeFi funding pipeline requires correct SEREN publishers for Base and Polygon JSON-RPC, a validated POLYMARKET_PRIVATE_KEY, and strict fail-closed dependency checks for contract reachability.

How does Stargate LayerZero bridging move borrowed USDC from Base to Polygon?

Stargate LayerZero bridging moves borrowed USDC from Base to Polygon by locking the assets on the source chain and minting the corresponding USDC.e on the destination chain to fund your configured Polymarket wallet.

What are the limitations of using a dry-run safety gate for crypto wallet funding?

The dry-run safety gate limits execution by default, restricting live transactions and fund transfers until you explicitly enable optional live execution, which prevents unintended asset movement during pipeline simulation.