Command-line interface for PumpClaw - token launcher on Base.
cd client-cli
npm installSet your private key:
export BASE_PRIVATE_KEY=your_private_key_hereList tokens:
npx tsx src/cli.ts list
npx tsx src/cli.ts list --limit 5 --offset 0Get token info:
npx tsx src/cli.ts info 0x...tokenAddressCreate a token:
# Basic (1B supply, 2 ETH FDV)
npx tsx src/cli.ts create -n "My Token" -s "MTK"
# With image
npx tsx src/cli.ts create -n "My Token" -s "MTK" -i "https://example.com/image.png"
# With website
npx tsx src/cli.ts create -n "My Token" -s "MTK" -w "https://mytoken.com"
# With custom FDV
npx tsx src/cli.ts create -n "My Token" -s "MTK" -f 50
# With custom supply
npx tsx src/cli.ts create -n "My Token" -s "MTK" --supply 500000000
# On behalf of another creator
npx tsx src/cli.ts create -n "My Token" -s "MTK" --creator 0x...Check pending fees:
npx tsx src/cli.ts fees 0x...tokenAddressClaim LP fees:
npx tsx src/cli.ts claim 0x...tokenAddressBuy tokens:
npx tsx src/cli.ts buy 0x...tokenAddress -e 0.01Sell tokens:
npx tsx src/cli.ts sell 0x...tokenAddress -a 1000000List tokens by creator:
npx tsx src/cli.ts by-creator 0x...creatorAddressShow constants:
npx tsx src/cli.ts constants| Contract | Address |
|---|---|
| Factory | 0xe5bCa0eDe9208f7Ee7FCAFa0415Ca3DC03e16a90 |
| LP Locker | 0x6e4D241957074475741Ff42ec352b8b00217Bf5d |
| Swap Router | 0x3A9c65f4510de85F1843145d637ae895a2Fe04BE |
| Fee Viewer | 0xd25Da746946531F6d8Ba42c4bC0CbF25A39b4b39 |