1.0.0 • Published 6 months ago
pumpfun-tool v1.0.0
Pump CLI
A command-line interface tool for interacting with pump.fun, allowing you to create and manage tokens on Solana.
Features
- Create new tokens with customizable parameters
- Execute bulk token creation and buys
- Manage wallets
- Trade tokens (buy/sell)
- View token information
- Configure network settings
Installation
npm install -g pumpfun-tool
Prerequisites
- Node.js v16 or higher
- npm v7 or higher
- Solana wallet with SOL for transactions
Configuration
The CLI tool can be configured using the following command:
pump config set
This will prompt you for:
- Network selection (mainnet/devnet)
- RPC endpoint
- Default slippage tolerance
- Confirmation level
- Priority fee
View current configuration:
pump config show
Usage
Wallet Management
Create a new wallet:
pump wallet create <name>
List wallets:
pump wallet list
Import existing wallet:
pump wallet import <name>
Check wallet balance:
pump wallet balance <name>
Token Creation
Create a single token:
pump create token <wallet-name> \
-n "Token Name" \
-s "SYMBOL" \
-i ./path/to/image.png \
-d "Token description" \
-b 1.5 # Optional: Initial buy amount in SOL
Create token bundle (bulk creation):
pump create bundle <creator-wallet> <buyers-file.json>
Trading
Buy tokens:
pump trade buy <wallet-name> <mint-address> -a <amount-in-sol>
Sell tokens:
pump trade sell <wallet-name> <mint-address> <amount>
Check token price:
pump trade price <mint-address>
Token Information
Get token details:
pump info token <mint-address>
Important Notes
- This tool only works with pump.fun's mainnet services
- Always verify transaction details before confirming
- Keep your wallet files secure
- Ensure sufficient SOL balance for transactions
Error Handling
If you encounter errors:
- Check your network connection
- Verify wallet has sufficient SOL
- Ensure correct file paths for images
- Verify token parameters are valid
Support
For issues and feature requests, please visit: GitHub Issues
License
ISC License
1.0.0
6 months ago