Take any AI agent onchain with one command. Free token launch + basename on Base.
npm install @axiombot/agent-launchpad> One command to take any AI agent onchain.
Wallet β Name β Token in a single CLI invocation.
Built on Base using Coinbase Developer Platform and Clanker.
``bash1. Set up credentials
export CDP_API_KEY_ID="organizations/.../apiKeys/..."
export CDP_API_KEY_SECRET="-----BEGIN EC PRIVATE KEY-----
...
-----END EC PRIVATE KEY-----"
export CDP_WALLET_SECRET="your-secret"
What It Does
$3
Creates an ERC-4337 smart account via CDP SDK. The smart account:
- Gets gasless transactions on Base via CDP's built-in paymaster
- Is owned by a server-managed EOA (the "signer")
- Can execute UserOperations without holding ETH for gas$3
Registers via the Base Name Service:
- Uses the Basename registrar controller at 0xd3e6775ed9b7dc12b205c8e608dc3767b9e5efda
- Registers for 1 year
- Sets reverse record (so the address resolves back to the name)
- Note: Requires ~0.002 ETH in the smart account for the registration fee$3
Deploys a token through Clanker v4:
- 100B total supply (standard Clanker supply)
- WETH-paired pool on Uniswap V4
- Dynamic fee hook for MEV protection
- Locked liquidity with fee rewards
- Configurable initial market cap (default: 10 ETH)$3
LP trading fees are automatically distributed (hardcoded, enforced on-chain):
- 75% β Agent's wallet
- 25% β Protocol feeThe protocol fee slot is admin-locked β only the protocol wallet can modify its recipient. Agents cannot override the fee split.
Environment Variables
| Variable | Description |
|----------|-------------|
|
CDP_API_KEY_ID | CDP API key identifier (format: organizations/.../apiKeys/...) |
| CDP_API_KEY_SECRET | EC private key in PEM format |
| CDP_WALLET_SECRET | Encryption secret for CDP wallet data |Get your CDP API keys at portal.cdp.coinbase.com.
CLI Reference
`
Usage: node scripts/launch.mjs --name "Name" --symbol "SYM" [options]Required:
--name, -n Token name
--symbol, -s Token symbol
Optional:
--description, -d Token description
--image, -i Token image URL
--basename, -b Register .base.eth
--market-cap, -m Initial market cap in ETH (default: 10)
--help, -h Show help
`Architecture
`
βββββββββββββββββββ ββββββββββββββββ βββββββββββββββ
β CDP SDK β β Clanker SDK β β Base L1/L2 β
β βββββββββββββ β β ββββββββββββ β β ββββββββββ β
β EOA Account ββββββΆβ Token Deploy ββββββΆβ Uniswap V4 β
β Smart Account β β LP Locking β β Pool + LP β
β UserOperations β β Fee Rewards β β Rewards β
βββββββββββββββββββ ββββββββββββββββ βββββββββββββββ
β
β (optional)
βΌ
βββββββββββββββββββ
β Basename β
β Registrar β
β βββββββββββββ β
β name.base.eth β
βββββββββββββββββββ
`Important Notes
- EOA vs Smart Account: The Clanker SDK uses the EOA (server account) for signing the deployment transaction, since it expects a standard viem WalletClient. The smart account is used as the reward recipient and basename owner.
- Gas Requirements: The EOA needs ETH on Base for the Clanker deployment (~0.01 ETH). Basename registration goes through the smart account but requires ETH for the name fee (~0.002 ETH).
- Network: All operations are on Base mainnet (chain ID 8453).
- Idempotency: Each run creates new accounts and deploys a new token. Save the output!
Dependencies
`json
{
"@coinbase/cdp-sdk": "^1.44.0",
"clanker-sdk": "^4.2.10",
"viem": "^2.45.1"
}
``MIT