Build a decentralized, cost-effective bridge between Base (Ethereum L2) and Stacks (Bitcoin L2) that allows users to transfer USDC at significantly lower costs than bridging via Ethereum L1.
- EVM bridge contract (Solidity) with multi-sig support
- Stacks xUSDC SIP-010 token upgraded to Clarity 4 (
wrapped-usdc-v4) - Relayer service for event watching + mint/release flows
- Frontend with wallet connection (WalletConnect + MetaMask + Base Account)
- Deposit flow: Base USDC -> Stacks xUSDC
- Withdraw flow: Stacks xUSDC -> Base USDC
- Multi-signature validation (2-of-3 signers)
- Rate limiting (hourly and daily caps) using
stacks-block-time - Timelocked releases for large transactions
- Emergency pause mechanism
- Immutable on-chain audit trail
- Repository documentation + contribution guidelines
- Local E2E harness scripts + guide (
docs/local-e2e.md) - Deployment scripts with network-specific USDC validation
- Config management (mainnet/testnet auto-detect +
STACKS_CORE_API_URL) - Stacks devnet support + signer initialization v4 script
- Frontend wallet UX upgrades (OnchainKit + Base Account, wagmi v2)
- Initial testing (EVM unit tests + Clarinet tests for
wrapped-usdc-v4) - GitHub issue templates
- Good first issues for contributors (templates)
- API documentation (contracts + relayer flow)
- Expanded developer guides (setup, runbook, troubleshooting, deployment)
Official USDCx Contract:
SP120SBRBQJ00MCWS7TM5R8WJNTTKD5K0HFRC2CNE.usdcx(Circle xReserve)
- Configure official Circle USDCx contract address in all contracts
- Update frontend with USDCx contract reference
- DEX adapter trait + Velar adapter stub contract
-
execute-mint-and-swapflow + auto-swap toggles inwrapped-usdc-v4 - Research: DEX liquidity pool creation for xUSDC/USDCx (No pool exists; Velar permissionless, Bitflow preferred for stable-swaps)
- Integration: Velar on-chain swap calls + pool configuration (
velar-adapter.clar) - Alternative: Direct Circle xReserve integration (
xreserve-adapter.clar+ relayer handler) - Documentation: Bridge to USDCx workflow (
docs/usdcx-workflow.md)
- Base Sepolia: BridgeBase at
0xFCDF3e427e4a4CF3E573762693B9a1bBb35C504B - Stacks Testnet:
wrapped-usdc-v5deployed and signers initialized - Stacks Testnet:
xreserve-adapterdeployed - Relayer auto-reconnect for RPC filter expiration
- Frontend simplified with native wagmi wallet connection
- Deposit E2E Verified: Base → Stacks mint flow tested
- Withdraw E2E Verified: Stacks → Base release flow tested
- Burn TX:
e19bb46b... - Execute Release TX:
0x40320215...
- Burn TX:
- Transaction History UI: Component fetching from Blockscout API
- Functional Withdraw Button:
burnTokens()viaopenContractCall
- Decentralized relayer network (multiple operators)
- Governance token for protocol decisions
- Fee sharing with relayer operators
- Staking mechanism for relayers
- Arbitrum One support
- Optimism support
- Other EVM L2 chains
- Cross-chain routing optimization
- Deploy BridgeBase contract
- Verify on BaseScan (Etherscan V2 API)
- Contract:
0x0EdF28403D027Be0917625C751c78236407dD4E0
- Deploy wrapped-usdc-v5 and sip-010-trait
- Initialize 3-of-3 signers
- Contract:
SP1MTYHV6K2FNH3QNF4P5QXS9VJ3XZ0GBB5T1SJPK.wrapped-usdc-v5 - Signers TX:
0x82f87b95... - Block Height: 6202949
- 2-of-3 multi-sig on both chains
- Rate limits: 10K/tx, 50K/hr, 200K/day
- Timelock for large transactions
- Relayer configured and running
- Etherscan Gas Oracle v2 API integration
- Dynamic L1 vs L2 fee comparison
- Visual comparison bars (green L2 / red L1)
- L1 gas price display in Gwei (e.g., "L1: 0.47 Gwei")
- Edge case handling when L1 is cheaper (isCheaper boolean)
-
FooterStatscomponent with real-time avg fee - Live calculation from
usePriceshook - Shows "<$0.01" for very low fees
- ETH/USD from Chainlink on Base mainnet (updates every block)
- STX/USD from Coinbase API (5-minute cache)
-
usePriceshook with fallback values
-
ConnectButtoncomponent with hydration handling -
useSyncExternalStorefor React 18 compatibility - Lazy AppKit initialization via
openAppKitModal() -
projectIdvalidation with user-friendly error state
-
BridgeStats: Dynamic Blockscout API (mainnet/testnet) -
TransactionHistory: Auto-switches based onNEXT_PUBLIC_NETWORK -
FeeEstimator: Live price badges showing data sources
- Security audit by reputable firm
- Bug bounty program
- Liquidity bootstrapping
- DEX pool creation for xUSDC/USDCx
See CONTRIBUTING.md for details on how to help with any of these phases. For contract APIs and relayer flow details, see docs/developer-api.md.
- Security Audit - Third-party code review
- Liquidity - DEX pool creation for better UX
- Decentralization - Multiple relayer operators
- Documentation - User guides and tutorials