Skip to content

USDC on Base

Overview

The usdc-base rail sends USDC on Base (Coinbase’s L2). Settlement in ~2 seconds. Gas ~$0.001. Ideal for paying crypto-native vendors, contractors, and cross-border freelancers.

Setup

WALLET_PRIVATE_KEY=0x...
BASE_RPC_URL=https://mainnet.base.org
USDC_CONTRACT_ADDRESS=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Usage

const result = await executeAgentPayment(signed, {
recipient: '0xVendorAddress...',
amount: 500,
currency: 'USDC',
rail: 'usdc-base',
})
console.log(result.txHash) // On-chain transaction hash

Recipe: Pay a USDC Vendor