{"skill":{"slug":"nexwave-gateway","displayName":"Nexwave Gateway","summary":"Unified crosschain USDC balance via Circle Gateway + Circle Programmable Wallets. Deposit USDC on any supported chain, check your unified balance, and instantly mint USDC on any destination chain in <500ms — no bridging, no raw private keys.","description":"---\nname: nexwave-gateway\ndescription: Unified crosschain USDC balance via Circle Gateway + Circle Programmable Wallets. Deposit USDC on any supported chain, check your unified balance, and instantly mint USDC on any destination chain in <500ms — no bridging, no raw private keys.\nversion: 1.1.0\ntags:\n  - usdc\n  - circle\n  - gateway\n  - crosschain\n  - defi\n  - payments\n  - agent-commerce\n  - circle-wallet\n  - arc\nauthor: nexwave\nrequiredEnv:\n  - CIRCLE_API_KEY\n  - CIRCLE_ENTITY_SECRET\n  - CIRCLE_WALLET_SET_ID\ndependencies:\n  - eltontay/circle-wallet\n---\n\n# Nexwave Gateway — Unified Crosschain USDC for OpenClaw Agents\n\n## What This Skill Does\n\nCircle Gateway gives you a **single unified USDC balance** that is instantly accessible on any supported chain in under 500 milliseconds. Instead of holding separate USDC balances on Ethereum, Base, Avalanche, etc., you deposit USDC into Gateway on any chain and can mint it out on any other chain — instantly.\n\nThis is fundamentally different from bridging. There are no liquidity pools, no bridge operators, no 15-minute waits. Gateway uses a deposit → sign burn intent → receive attestation → mint flow that executes in <500ms.\n\n## Supported Chains (Testnet)\n\n| Chain | Domain ID | USDC Address |\n|---|---|---|\n| Ethereum Sepolia | 0 | `0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238` |\n| Base Sepolia | 6 | `0x036CbD53842c5426634e7929541eC2318f3dCF7e` |\n| Arc Testnet | 26 | `0x3600000000000000000000000000000000000000` |\n\n**Note:** Arc is Circle's purpose-built L1 blockchain where USDC is the native gas token. No separate gas token needed — USDC covers everything. Arc has the fastest Gateway finality at ~0.5 seconds.\n\n**Gateway Contracts (same address on all EVM chains):**\n- Gateway Wallet: `0x0077777d7EBA4688BDeF3E311b846F25870A19B9`\n- Gateway Minter: `0x0022222ABE238Cc2C7Bb1f21003F0a260052475B`\n\n**Gateway API (testnet):** `https://gateway-api-testnet.circle.com/v1`\n\n## Prerequisites\n\n1. Circle Developer Account with API key and entity secret (https://console.circle.com)\n2. The `circle-wallet` skill installed (`clawhub install eltontay/circle-wallet`) with a wallet set containing wallets on ETH-SEPOLIA, BASE-SEPOLIA, and ARC-TESTNET\n3. Testnet USDC from https://faucet.circle.com (20 USDC per address per chain, every 2 hours)\n4. Testnet ETH for gas on Sepolia/Base Sepolia (use Google's Sepolia faucet). On Arc, USDC is the native gas token — same faucet covers everything.\n5. Node.js installed with the `viem`, `dotenv`, and `@circle-fin/developer-controlled-wallets` packages\n\n## How To Use This Skill\n\n### Step 1: Setup the Project\n\nRun the setup script to initialize the project with all dependencies:\n\n```bash\ncd /path/to/nexwave-gateway && bash setup.sh\n```\n\nThis creates a `gateway-app/` directory with all necessary files pre-configured.\n\n### Step 2: Check Gateway Info and Your Balance\n\n```bash\ncd gateway-app && node check-balance.js\n```\n\nThis queries the Gateway API for supported chains and shows your unified USDC balance across all chains.\n\n### Step 3: Deposit USDC into Gateway\n\n```bash\nnode deposit.js\n```\n\nThis deposits USDC into the Gateway Wallet contract on Ethereum Sepolia and Arc Testnet. After deposit and chain finality, your unified balance is credited. Arc finalizes in ~0.5 seconds; Ethereum may take up to 20 minutes.\n\n### Step 4: Transfer USDC Crosschain Instantly\n\n```bash\nnode transfer.js\n```\n\nThis creates burn intents, signs them via Circle Programmable Wallets (MPC — no raw private keys), submits them to the Gateway API for attestation, and mints USDC on Base Sepolia. The attestation response typically arrives in <500ms.\n\n## Key Concepts\n\n**Unified Balance:** After depositing USDC into Gateway on any chain, the Gateway system credits your address with a unified balance. This balance is not locked to any specific chain — it can be accessed on any supported chain.\n\n**Burn Intent:** To withdraw from your unified balance to a specific chain, you sign a \"burn intent\" — an EIP-712 typed data structure specifying the source chain, destination chain, amount, and recipient. Signing is done securely via Circle's MPC Programmable Wallets (no raw private keys). Gateway verifies your balance is sufficient and returns a signed attestation.\n\n**Circle Programmable Wallets:** Instead of raw private keys in `.env` files, this skill uses Circle's developer-controlled wallets backed by multi-party computation (MPC). The private key is never exposed — signing happens server-side via Circle's API. This makes the skill safe for agent use without risk of key exfiltration.\n\n**Attestation:** The Gateway API's signed proof that authorizes minting on the destination chain. You submit this attestation to the Gateway Minter contract on the destination chain to receive USDC.\n\n**Fees:** 0.5 basis points (0.005%) during the early access period (through June 30, 2026). Plus base gas fees for on-chain transactions.\n\n## Flow Diagram\n\n```\nAgent deposits USDC on Chain A\n        │\n        ▼\nGateway Wallet Contract (approve + deposit)\n        │\n        ▼\nWait for chain finality → Unified balance credited\n        │\n        ▼\nAgent signs burn intent (EIP-712 via Circle MPC Wallets)\n        │\n        ▼\nSubmit to Gateway API ──► Attestation returned (<500ms)\n        │\n        ▼\nSubmit attestation to Gateway Minter on Chain B\n        │\n        ▼\nUSDC minted on Chain B for recipient\n```\n\n## Agent Use Cases\n\n- **Multi-chain arbitrage:** Access USDC on any chain instantly to capture price differences\n- **Cross-chain payments:** Pay for services on any chain from a single balance\n- **Treasury management:** Consolidate USDC from multiple chains into one balance\n- **Agent-to-agent commerce:** Accept payment on one chain, spend on another without delays\n- **Capital efficiency:** No need to pre-position USDC across chains\n\n## Troubleshooting\n\n- **\"Insufficient balance\"**: Wait for chain finality after depositing. Ethereum takes ~20 min, Arc is ~0.5 seconds.\n- **\"Gateway deposit not yet picked up\"**: The Gateway API waits for block confirmations. Be patient on Ethereum.\n- **Gas errors**: On Ethereum/Base you need testnet ETH for gas. On Arc, USDC is the gas token — same faucet covers everything.\n- **Faucet limits**: You can get 20 USDC per address per chain every 2 hours from faucet.circle.com.\n\n## References\n\n- Circle Gateway Docs: https://developers.circle.com/gateway\n- Circle Programmable Wallets: https://developers.circle.com/wallets\n- Circle Wallet Skill (ClawHub): https://clawhub.ai/eltontay/circle-wallet\n- Arc Testnet Docs: https://docs.arc.network\n- Gateway Quickstart: https://developers.circle.com/gateway/quickstarts/unified-balance-evm\n- Full Quickstart Code: https://github.com/circlefin/evm-gateway-contracts/tree/master/quickstart\n- Circle Faucet: https://faucet.circle.com\n- Gateway API Reference: https://gateway-api-testnet.circle.com/v1/info\n","topics":["Crosschain","Usdc","Agent Commerce","Arc","Circle Wallet"],"tags":{"latest":"1.0.2"},"stats":{"comments":0,"downloads":1690,"installsAllTime":63,"installsCurrent":0,"stars":0,"versions":3},"createdAt":1770492800356,"updatedAt":1778486075083},"latestVersion":{"version":"1.0.2","createdAt":1770557834986,"changelog":"**Circle Programmable Wallets integration and safer agent usage**\n\n- Added integration with Circle Programmable Wallets (no raw private keys required).\n- Added dependency on the `circle-wallet` skill (`eltontay/circle-wallet`).\n- Updated environment variables: now requires `CIRCLE_API_KEY`, `CIRCLE_ENTITY_SECRET`, and `CIRCLE_WALLET_SET_ID`.\n- Introduced a new `circle-wallet-client.js` file for wallet interactions.\n- Documentation updated to reflect Circle MPC wallet use, removing the need for direct private keys and improving security for agent operations.","license":null},"metadata":null,"owner":{"handle":"botmechanic","userId":"s1739jt1r421t1kzr15fprkh89885aay","displayName":"botmechanic","image":"https://avatars.githubusercontent.com/u/162460549?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1779957565165}}