Code samples referenced from the Circle and Arc developer documentation.
Each subdirectory is a self-contained example with its own package.json. Clone
the repo, change into the example you want to run, install dependencies, and
follow the instructions in that example's documentation page or local README.
Browser app that bridges USDC from Ethereum Sepolia to Arc Testnet using App Kit with the viem adapter. Connects to any EIP-6963 browser wallet (e.g., MetaMask).
Run with npm install && npm run dev.
Browser app that bridges USDC from Solana Devnet to Arc Testnet using App Kit with both the viem and Solana adapters. Connects an EVM wallet for the destination and a Solana wallet for the source.
Run with npm install && npm run dev.
Browser app that estimates and sends USDC on Arc Testnet using App Kit with the viem adapter. Connects to any EIP-6963 browser wallet (e.g., MetaMask).
Run with npm install && npm run dev.
Node.js script that generates a new entity secret, registers it with Circle,
writes the recovery file to disk, and adds CIRCLE_ENTITY_SECRET to .env.
Intended for first-time setup of
developer-controlled wallets.
See entity-secret-setup/README.md for
prerequisites and security notes.
Apache 2.0 — see LICENSE.
To report a vulnerability, see SECURITY.md.