Send your first onchain request

1

Get your API credentials

Sign up at portal.cdp.coinbase.com, then navigate to API Keys and Wallets to download your Secret API key and Wallet Secret.

2

Clone the Quickstart repo

git clone --depth=1 https://github.com/coinbase/cdp-sdk && cd cdp-sdk/examples/typescript/quickstart
3

Run the project

npm install && npm run build && npm start
4

You're done!

🔐 Loaded API key from cdp_api_key.json
🔐 Loaded wallet secret from cdp_wallet_secret.txt
 Created EVM account: 0x1234567890123456789012345678901234567890
🚰 Received testnet ETH: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890
📦 TX confirmed: https://sepolia.basescan.org/tx/0x1a2b3c4d5e6f7890abcdef1234567890abcdef1234567890abcdef1234567890

What next?