Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

PumpClaw CLI

Command-line interface for PumpClaw - token launcher on Base.

Installation

cd client-cli
npm install

Usage

Set your private key:

export BASE_PRIVATE_KEY=your_private_key_here

Commands

List tokens:

npx tsx src/cli.ts list
npx tsx src/cli.ts list --limit 5 --offset 0

Get token info:

npx tsx src/cli.ts info 0x...tokenAddress

Create 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...tokenAddress

Claim LP fees:

npx tsx src/cli.ts claim 0x...tokenAddress

Buy tokens:

npx tsx src/cli.ts buy 0x...tokenAddress -e 0.01

Sell tokens:

npx tsx src/cli.ts sell 0x...tokenAddress -a 1000000

List tokens by creator:

npx tsx src/cli.ts by-creator 0x...creatorAddress

Show constants:

npx tsx src/cli.ts constants

Contracts (V2)

Contract Address
Factory 0xe5bCa0eDe9208f7Ee7FCAFa0415Ca3DC03e16a90
LP Locker 0x6e4D241957074475741Ff42ec352b8b00217Bf5d
Swap Router 0x3A9c65f4510de85F1843145d637ae895a2Fe04BE
Fee Viewer 0xd25Da746946531F6d8Ba42c4bC0CbF25A39b4b39