- Create a wallet and a faucet request for each supported token standard
- Claim testnet funds onchain
- Return faucet transaction information and verify wallet balance(s)
Prerequisites
It is assumed you have:- Created and signed in to an existing CDP account
- Completed the CDP SDK getting started guide
UI (CDP Portal)
While the CDP Faucets API allows for programmatic faucet requests, you can also use the CDP Portal UI with a wallet address to claim funds in-browser. Assuming you completed the prerequisites, navigate to Faucets.- Select a Network (either Base Sepolia, Ethereum Sepolia, or Solana Devnet).
- Select a Token (either ETH, USDC, EURC, cbBTC, or SOL).
- Enter a wallet address and click the Claim button.

Programmatically
The majority of this quickstart will focus on claiming faucet funds using a new wallet created using our Wallet API. If you’d like to use your own wallet, skip to Step 4: Use an external address.1. Create a wallet
To create a wallet, use the following snippet:Wallets are created for Base Sepolia by default. Change the network by passing in a network identifier:
2. Claim ETH from faucet
Continue reading to create an ETH faucet request.ETH claim limits are capped at 10 claims per every 24 hours at 0.0001 ETH per claim.
This is an example where the created wallet is not persisted by default. For more details, see the Wallet API documentation.
3. Claim ERC-20 token from faucet
Continue reading to create a request for (and claim) ERC-20 funds from a faucet.ERC-20 claim limits are capped at 10 claims per every 24 hours.
Funds per claim are dependent on token symbol.
4. Use an external address (optional)
You can also bring your own wallet to claim faucet funds. Try the following to use an external address. First, use your address to create an external address object, then wait for the faucet request to land onchain.What to read next
- Faucets: Welcome: An overview of faucets on CDP
- Wallet API documentation: Create and manage wallets using the CDP SDK
- Wallet API Reference: Create and manage wallets using our REST API