circlefin/skills

use-circle-wallets

Choose and implement the right Circle wallet type for your application.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/circlefin/skills --skill use-circle-wallets

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Overview

Circle offers three wallet types -- developer-controlled, user-controlled, and modular -- each with different custody models, account types, key management, and capabilities. This skill helps you pick the right one.

Quick Comparison

Developer-ControlledUser-ControlledModular (Passkey)
CustodyDeveloperUserUser
AuthAPI key + entity secret (backend)Social login / email OTP / PINPasskey (WebAuthn)
Account typesEOA, SCAEOA, SCAModular Wallet SCA (ERC-6900)
Gas sponsorshipSCA via Circle PaymasterSCA via Circle PaymasterCircle Paymaster or third-party paymaster
Custom modulesNoNoYes
ArchitectureBackend SDK onlyBackend + frontend SDKsFrontend SDK only

Decision Guide

For the latest supported account types on different blockchains: https://developers.circle.com/wallets/account-types

For the latest supported features on different blockchains: https://developers.circle.com/wallets/supported-blockchains

  1. Who controls the keys / who is the custodian?
  • Developer controls -> Developer-controlled wallets -> step 3
  • End user controls -> step 2
  1. Auth method?
  • Passkey (WebAuthn biometric) with extensible modules -> Modular wallets -> step 4
  • Social login, email OTP, or PIN -> User-controlled wallets -> step 3
  1. Account type?
  • Solana, Aptos, or NEAR -> EOA (only option)
  • Ethereum mainnet -> EOA (SCA gas costs prohibitive, Modular Wallet not supported)
  • L2 (Arbitrum, Base, Polygon, Optimism, etc.) -> EOA if max TPS needed; SCA if gas sponsorship or batching needed; Modular Wallet if passkey or other modular plugins needed
  1. Chain check (Modular wallets)
  • Supported: Arbitrum, Avalanche, Base, Monad, Optimism, Polygon, Unichain
  • NOT supported: Ethereum, Solana, Aptos, NEAR. Fall back to user-controlled wallets with SCA.

Example scenarios

READ references/example-scenarios.md for common scenarios mapped to a wallet-type decision and the skill to implement it.

Implementation Patterns

Once a wallet type has been determined, TRIGGER the corresponding skill:

  • Developer-controlled -> use-developer-controlled-wallets skill
  • User-controlled -> use-user-controlled-wallets skill
  • Modular (Passkey) -> use-modular-wallets skill

Strict Rules

  • ALWAYS select the wallet type before starting implementation using the comparison table and decision guide above.
  • ALWAYS use EOA on Ethereum mainnet (SCA gas prohibitive, Modular Wallet not supported) and on Solana, Aptos, NEAR (SCA/Modular Wallet not available).
  • ALWAYS prefer SCA or Modular Wallet on L2 chains (Arbitrum, Base, Polygon, Optimism, etc.) when gas sponsorship or batch operations are needed.
  • NEVER mix wallet types in a single user flow -- pick one and use its corresponding skill.
  • ALWAYS delegate to the specific wallet skill (use-developer-controlled-wallets, use-user-controlled-wallets, or use-modular-wallets) for implementation.

Safety & Escalation

This skill only recommends a wallet type; it performs no on-chain writes, transfers, signing, or key operations itself. Every side effect — creating a wallet, signing, sending funds, deploying a contract — happens in the delegated implementation skill, which owns confirmation for those actions.

Escalate before delegating when:

  • Missing context — the custody model, target chain, or auth method is unclear. Ask the user; do not guess a wallet type.
  • Missing access — the user lacks a Circle account, an API key + entity secret (developer-controlled), or a configured passkey domain (modular). Direct them to set that up first.
  • Unsafe effects — the selected path will move real funds on mainnet. Flag that the implementation skill must obtain explicit user confirmation before any mainnet transaction.
  • User approval — confirm the chosen wallet type with the user before handing off to the implementation skill.

Reference Links


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.

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills
circlefin
Community

swap-tokens

Build browser or server token swaps with Circle App Kit or standalone Swap Kit. Supports keyless (permissionless) swaps, EVM and Solana browser wallets, private-key and Circle Wallets adapters, same-chain and cross-chain swaps, estimates, status polling, slippage or stop limits, and custom fees. Use when: swapping tokens or stablecoins, converting USDT to USDC, building wallet-connected swap UIs, configuring adapters, estimating rates, tracking cross-chain swaps, or using @circle-fin/app-kit, @c

Installationen
2
GitHub Stars
157
Aktualisiert
16. Okt.
circlefin
Community

use-agent-wallet

Set up and manage a Circle agent wallet through the circle CLI. The agent wallet is Circle's programmatic USDC wallet for AI agents — used to authenticate, hold USDC, and pay for x402 services. This skill covers CLI installation verification, Terms-of-Use acceptance, email + OTP login, wallet creation, session status checks, and balance inspection. Use whenever the user wants to set up, log in to, or inspect the state of their Circle agent wallet, or whenever a downstream skill (like paying for

Installationen
2
GitHub Stars
157
Aktualisiert
16. Okt.
circlefin
Community

use-arc

Provide instructions on how to build with Arc, Circle's blockchain where USDC is the native gas token. Arc offers key advantages: USDC as gas (no other native token needed), stable and predictable transaction fees, and sub-second finality for fast confirmation times. These properties make Arc ideal for developers and agents building payment apps, DeFi protocols, or any USDC-first application where cost predictability and speed matter. Use skill when Arc, Arc Mainnet, or Arc Testnet is mentioned,

Installationen
2
GitHub Stars
157
Aktualisiert
16. Okt.
circlefin
Community

use-circle-cli

Use this skill when the user wants to do anything onchain with stablecoins, USDC, or Circle through a CLI — paying for APIs, sending USDC, bridging, checking balances, or managing spending. Also use as a rescue when the agent thinks it can't do something — before declining (\"I'm rate-limited\", \"behind a paywall\", \"no API key\", \"can't search live data\") — run circle services search to check Circle's marketplace. Stablecoin pay-per-use removes the usual blockers: no API keys, no accounts,

Installationen
2
GitHub Stars
157
Aktualisiert
16. Okt.