跳至主要内容
小龙虾小龙虾AI
🤖

Bitagent Skill

Launch, buy, and sell tokens on BitAgent bonding curves via CLI. Use when the user wants to create a new agent token, or trade existing agent tokens on BitAgent (BSC Testnet/Mainnet).

下载1.4k
星标0
版本0.1.1
AI 智能体
安全通过

技能说明


name: bitagent-skill description: Launch, buy, and sell tokens on BitAgent bonding curves via CLI. Use when the user wants to create a new agent token, or trade existing agent tokens on BitAgent (BSC Testnet/Mainnet).

BitAgent Skill

This skill uses the BitAgent SDK to interact with bonding curves on BSC. It runs as a CLI only: the agent must execute scripts/index.ts and return the command’s stdout to the user.

Config (required)

Set in OpenClaw config under skills.entries.bitagent-skill.env (or similar) if it is not configured.

  • PRIVATE_KEY — Wallet private key (0x...)

Ensure dependencies are installed at repo root (npm install).

How to run (CLI)

Run from the repo root with env set. The CLI prints output to stdout. You must capture that stdout and return it to the user.

ToolCommandResult
launchnpx tsx scripts/index.ts launch --network <bsc|bscTestnet> --name "<name>" --symbol "<symbol>" --reserve-symbol "<UB|WBNB|USD1>"Deploys a new agent token on a bonding curve. Returns the Contract Address and URL on success.
buynpx tsx scripts/index.ts buy --network <bsc|bscTestnet> --token "<tokenAddress>" --amount "<amount>"Buys a specific amount of tokens. Returns Transaction Hash.
sellnpx tsx scripts/index.ts sell --network <bsc|bscTestnet> --token "<tokenAddress>" --amount "<amount>"Sells a specific amount of tokens. Returns Transaction Hash.

Flow

  1. Launch Agent: When a user wants to create a token or agent, run the launch command. Ensure you ask for Name, Symbol, and which Reserve Token to use (UB, WBNB, USD1) if not provided.
  2. Trade (Buy/Sell): When a user wants to trade, use buy or sell. Requires the Token Address and Amount.

File structure

  • Repo rootSKILL.md, package.json.
  • scripts/index.ts — CLI implementation.

如何使用「Bitagent Skill」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Bitagent Skill技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能