pump-fun
由 playdadev 提供
AI & LLMs简介
Buy, sell, and launch tokens on Pump.fun using the PumpPortal API.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- SOLANA_PRIVATE_KEY environment variable (base58-encoded Solana wallet private key)
- Funded Solana wallet with SOL for trades and network fees
安装
clawhub install playdadev/pump-fun运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。