pump-fun
bởi playdadev
AI & LLMsTóm tắt
Buy, sell, and launch tokens on Pump.fun using the PumpPortal API.
Mô tả
Kỹ năng này làm gì
Executes token trades and launches on Pump.fun via the PumpPortal API. Supports buying and selling by mint address with configurable slippage, and creates new tokens with an optional initial developer buy. Transactions are signed locally using your Solana private key before submission.
Signing transactions locally before submission keeps your private key off third-party signing services.
Khi nào nên dùng
- Buy a specific token by mint address with a set SOL amount
- Sell 50% or 100% of a position in one command
- Launch a new Pump.fun token with a custom initial dev buy
- Adjust slippage tolerance for volatile token swaps
- Route trades through Raydium for tokens that have graduated from the bonding curve
Quy trình ví dụ
User asks: Buy 0.1 SOL worth of token 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
- 1
Parse mint address and SOL amount from the command
- 2
Auto-select the optimal pool (pump, pump-amm, or raydium)
- 3
Build and sign the transaction locally using SOLANA_PRIVATE_KEY
- 4
Submit the signed transaction via PumpPortal API
- 5
Return the confirmation and applied fee details
Transaction confirmed: 0.1 SOL exchanged for tokens at the specified mint, 0.5% PumpPortal fee applied
Yêu cầu
- SOLANA_PRIVATE_KEY environment variable (base58-encoded Solana wallet private key)
- Funded Solana wallet with SOL for trades and network fees
Cài đặt
clawhub install playdadev/pump-funChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.