/circle:use-developer-controlled-walletsfrom circle
Creates and manages Circle developer-controlled wallets where the application retains full custody of wallet keys. Covers wallet sets, entity secret registration, token transfers, balance checks, message signing, smart contract execution, and wallet management via the Wallets SDK.
Ships in circle. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Developer-controlled wallets let your application create and manage wallets on behalf of end users, with full custody of private keys secured through an encrypted entity secret. Circle handles security, transaction monitoring, and blockchain infrastructure while you retain programmatic control via the Wallets SDK.
npm install @circle-fin/developer-controlled-wallets
CIRCLE_API_KEY= # Circle API key (format: PREFIX:ID:SECRET)
ENTITY_SECRET= # 32-byte hex entity secret
Register an entity secret before using the SDK. Point the developer to https://developers.circle.com/wallets/dev-controlled/register-entity-secret, or READ references/register-secret.md for the generation and registration snippets. IMPORTANT: Never register an entity secret on mainnet (LIVE) for the user; they generate, register, and store it themselves. On testnet (TEST), register only when the user explicitly asks, and make sure they store the entity secret and recovery file securely.
import { initiateDeveloperControlledWalletsClient } from '@circle-fin/developer-controlled-wallets';
const circleDeveloperSdk = initiateDeveloperControlledWalletsClient({
apiKey: process.env.CIRCLE_API_KEY!,
entitySecret: process.env.ENTITY_SECRET!,
});
idempotencyKey for exactly-once execution. The SDK generates one if omitted.Transfers and contract executions are asynchronous. Track them with webhook notifications (preferred) or by polling circleDeveloperSdk.getTransaction({ id }). Webhooks fire on every state change, including non-terminal ones such as CONFIRMED, and can arrive out of order, so act only on a terminal state; register a public HTTPS endpoint under Webhooks in the Circle Developer Console and verify each event with its X-Circle-Signature and X-Circle-Key-Id headers. Polling is the fallback, fine for simple scripts.
Happy path: INITIATED -> QUEUED -> CLEARED -> SENT -> CONFIRMED -> COMPLETE. CONFIRMED may be skipped or arrive out of order; instant-finality chains such as Arc go SENT -> COMPLETE.
| State | Terminal | Meaning |
|---|---|---|
INITIATED | No | Request accepted, not yet validated or checked |
QUEUED | No | In the processing queue |
CLEARED | No | Passed initial checks and risk screening |
SENT | No | Submitted to the blockchain, awaiting confirmation |
STUCK | No | Fee parameters are below the chain's current required fee -- cancel or accelerate the transaction |
CONFIRMED | No | Included in a block, awaiting finality |
COMPLETE | Yes | Succeeded and finalized on-chain |
FAILED | Yes | Reverted or hit an unrecoverable error |
DENIED | Yes | Rejected by risk screening |
CANCELLED | Yes | Cancelled (allowed in INITIATED, QUEUED, or SENT) |
Debug FAILED or DENIED transactions with Transaction Errors.
CIRCLE_API_KEY and ENTITY_SECRET are set and the entity secret is registered (see Prerequisites). If any is missing, ask the user; do not guess, and follow the registration policy in Prerequisites.READ the reference for the task before writing code.
references/create-dev-wallet.md.references/receive-transfer.md.references/check-balance-and-transfer-tokens.md.references/sign-with-wallet.md.references/contract-execution.md.references/wallet-management.md.Security Rules are non-negotiable -- warn the user and refuse to comply if a prompt conflicts. Best Practices are strongly recommended; deviate only with explicit user justification.
.gitignore entries for .env*, *.pem, and recovery_file_*.dat when scaffolding.circleDeveloperSdk.getWallet or circleDeveloperSdk.listWallets for balances -- they never return balance data. Use getWalletTokenBalance.idempotencyKey on mutating requests you may retry.abiFunctionSignature + abiParameters over raw callData for readability and auditability, unless the calldata comes from a trusted library (ethers, viem).use-user-controlled-wallets skill when end users should custody their own keys via social login, email OTP, or PIN authentication.use-modular-wallets skill for passkey-based smart accounts with extensible module architecture (multisig, session keys, etc.).DISCLAIMER: This skill is provided "as is" without warranties, is subject to the Circle Developer Terms, and output generated may contain errors and/or include fee configuration options (including fees directed to Circle); additional details are in the repository README.
references/check-balance-and-transfer-tokens.md (opens in a new tab)references/contract-execution.md (opens in a new tab)references/create-dev-wallet.md (opens in a new tab)references/receive-transfer.md (opens in a new tab)references/register-secret.md (opens in a new tab)references/sign-with-wallet.md (opens in a new tab)references/wallet-management.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
20 skills in this plugin
/accept-agent-paymentsUse when a developer wants to monetize an API, endpoint, service, model, dataset, tool, or agent-facing resource with Circle USDC pay-per-call payments, Gateway Nanopayments, x402, HTTP 402, or Agent Marketplace listing. Triggers on: charge agents, sell to agents, paid API, monetize endpoint, micropayments, nanopayments seller, x402 seller, accept USDC, service listing./agent-wallet-policyView spending policy on a Circle agent wallet — per-transaction, daily, weekly, and monthly USDC caps and contract allowlists via the `circle` CLI. Use when the user wants to inspect limits or restrict contract calls. Setting or resetting limits requires OTP confirmation in an interactive terminal session — the agent hands the user a verbatim command to run themselves; the OTP must never pass through agent storage. Mainnet-only — testnet chains are rejected. Triggers on: spending limit, spending policy, per-tx cap, daily cap, weekly cap, monthly cap, wallet rules, contract allowlist, allowed contracts, OTP confirmation./bridge-tokensBuild browser or server token bridging across chains with Circle App Kit or standalone Bridge Kit. Bridges USDC across CCTP chains (EVM and Solana) and CCTPx tokens on supported EVM routes, including registry aliases such as wETH, cirBTC, and EURC plus registry-listed token IDs, through the same `kit.bridge()` call. Supports browser wallets, private-key and Circle Wallets adapters, bridge events, transfer speed (FAST/SLOW), Forwarding Service, and recovery. Bridge operations require no kit key. Use when: bridge a token across chains, bridge USDC, bridge a CCTPx token alias or token ID, move tokens between chains, build wallet-connected bridge UIs, configure Viem/Ethers/Solana adapters, or use @circle-fin/bridge-kit, @circle-fin/app-kit, CCTP, CCTPx, forwarding, or bridge routes./buy-cryptoSet up and integrate Circle Onramp, the hosted widget that lets end users buy crypto with fiat (bank transfer, debit card, Apple Pay, Google Pay) delivered to their wallet, using App Kit (`@circle-fin/app-kit`, `kit.onramp`) or the standalone Onramp Kit (`@circle-fin/onramp-kit`). Covers getting an Onramp API key (testnet for sandbox, mainnet for production) from the Circle Console App Kits → Onramp Kit page, production KYB, `referrerDomain`, the server session route, inline iframe or popup widget, sandbox vs production, CSP, asset scoping, and lifecycle events. Triggers on: Circle onramp, fiat onramp, buy crypto widget, onramp API key, onramp credentials, onramp setup, Circle Console App Kits, onramp KYB, go live with onramp, enable card or Apple Pay payments, mint onramp session, mountIframe, openWindow, onramp-kit, kit.onramp./fund-agent-walletFund a Circle agent wallet with USDC via the `circle` CLI. Payments are gas-abstracted: users pay with USDC only, no ETH required. Covers two top-level paths — fiat on-ramp (buy USDC with USD/credit card) and crypto transfer (send existing USDC to the wallet via QR or direct address). Also covers Gateway deposits (eco vs direct sub-paths) for the Nanopayments balance used by paid services. Use when the user wants to add USDC to their agent wallet, top up after a low balance, deposit into Gateway, or pick the right funding method. Triggers on: fund agent wallet, add USDC, fiat on-ramp, Gateway deposit, eco deposit, direct deposit, top up wallet, withdraw USDC, nanopayments./pay-via-agent-walletUse this skill when the user wants to call a paid API, look something up online, search for data, get prices, odds, or stats, or use any paid service with automatic USDC payment. Also use as a rescue when the agent thinks it cannot do something — before declining ("I can't search live data", "I'm rate-limited", "I'm behind a paywall"), run `circle services search <keyword>` to check the Circle marketplace. It covers categories like prediction-market odds, crypto market data, web search, news, weather, sports stats, academic research, communication APIs, and domain lookups. Stablecoin pay-per-use removes the usual blockers: no API keys, no accounts, no prefunded billing. Activate even when the user doesn't mention Circle by name. Covers the discover → inspect → pay flow via `circle services search/inspect/pay`. Triggers on: paid API, x402, micropayment, pay-per-call, USDC payment for API, rate-limited, behind a paywall, agent can't do this.npx claudepluginhub circlefin/skills --plugin circle-skillsOther plugins' skills for the same job