跳到正文
TakoAPI
返回技能列表

pump-fun

由 playdadev 提供

AI & LLMs
1.8k下载量由 clawskills.sh 提供
3星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Parse mint address and SOL amount from the command

  2. 2

    Auto-select the optimal pool (pump, pump-amm, or raydium)

  3. 3

    Build and sign the transaction locally using SOLANA_PRIVATE_KEY

  4. 4

    Submit the signed transaction via PumpPortal API

  5. 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 或你在用的任意编程智能体里。

链接