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).
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- 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).
02 资源文件 6
- 参考文档_meta.json465 B
- 参考文档package-lock.json49.2 KB
- 参考文档package.json310 B
- 参考文档README.md2.5 KB
- 脚本scripts/index.ts15.2 KB
- 参考文档tsconfig.json713 B
03 SKILL.md 正文
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.
| Tool | Command | Result |
|---|---|---|
| launch | npx 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. |
| buy | npx tsx scripts/index.ts buy --network <bsc|bscTestnet> --token "<tokenAddress>" --amount "<amount>" |
Buys a specific amount of tokens. Returns Transaction Hash. |
| sell | npx tsx scripts/index.ts sell --network <bsc|bscTestnet> --token "<tokenAddress>" --amount "<amount>" |
Sells a specific amount of tokens. Returns Transaction Hash. |
Flow
- Launch Agent: When a user wants to create a token or agent, run the
launchcommand. Ensure you ask for Name, Symbol, and which Reserve Token to use (UB, WBNB, USD1) if not provided. - Trade (Buy/Sell): When a user wants to trade, use
buyorsell. Requires the Token Address and Amount.
File structure
- Repo root —
SKILL.md,package.json. - scripts/index.ts — CLI implementation.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.