Prerequisites
- A Rhinestone API key
- A wallet with testnet USDC on Optimism Sepolia (Circle faucet)
Configure your client
Set up gas sponsorship so deposit bridging is covered. This is a one-time call per API key.You should see
Setup: 200.Register a managed account
Register a server-managed account with a target chain and token. The service creates a smart account deterministically from your API key and the salt you provide, and returns deposit addresses.You should see two deposit addresses printed. The
evmDepositAddress is where users send tokens on any supported EVM chain.Deposit tokens
Transfer USDC to the deposit address on Optimism Sepolia. The deposit service detects it and bridges it to Base Sepolia automatically.
Check deposit status
Poll the deposits endpoint by transaction hash to track the bridging progress. See status tracking for the full response schema.Once bridging completes, the deposit status changes to
completed and includes the destination transaction hash. The USDC is now at the recipient address on Base Sepolia.Next steps
Initial setup
Webhooks, sponsorship rules, and deposit whitelists.
Account registration
User-owned accounts, session configuration, and output token rules.
Deposit processing
Deposit lifecycle, retries, and status tracking.
Status tracking
Track deposits via polling or webhooks.