pumpclaw-cli
v0.1.0
Published
CLI for PumpClaw - token launcher on Base
Readme
PumpClaw CLI
Command-line interface for PumpClaw - token launcher on Base.
Installation
cd client-cli
npm installUsage
Set your private key:
export BASE_PRIVATE_KEY=your_private_key_hereCommands
List 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, 20 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 constantsContracts (V2)
| Contract | Address |
|----------|---------|
| Factory | 0xe5bCa0eDe9208f7Ee7FCAFa0415Ca3DC03e16a90 |
| LP Locker | 0x9047c0944c843d91951a6C91dc9f3944D826ACA8 |
| Swap Router | 0x3A9c65f4510de85F1843145d637ae895a2Fe04BE |
| Fee Viewer | 0xd25Da746946531F6d8Ba42c4bC0CbF25A39b4b39 |
