← 返回 Skills 市场
hodldance

Hodl Dance Skill

作者 HODL.DANCE 🪩🕺 · GitHub ↗ · v1.2.1 · MIT-0
cross-platform ⚠ suspicious
149
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install hodl-dance
功能描述
Trade, create, and manage memecoins on HODL.DANCE's BSC bonding curve launchpad. Launch tokens with logo upload and optional initial buy, get live quotes, buy and sell with BNB, and handle ERC20 approvals automatically.
使用说明 (SKILL.md)

HODL.DANCE Agent Skill

Trade memecoins on the HODL.DANCE bonding curve launchpad on BSC (BNB Chain).

Overview

HODL.DANCE is a memecoin launchpad on BSC using a CPMM bonding curve (r × t = k). Tokens trade on the curve until 19 BNB is raised, then liquidity auto-migrates to PancakeSwap V3.

Installation

npm install -g @hodl-dance/skill
# or without installing:
npx @hodl-dance/skill \x3Ccommand>

Credentials

Required only for create-token, buy-token and sell-token:

export HODL_PRIVATE_KEY=0xyour_private_key
export HODL_RPC_URL=https://bsc-dataseed.binance.org/  # optional

⚠️ The private key is used locally only to sign transactions. Never share it.


Commands

get-tokens

List tokens with filtering and sorting. Returns full token objects including bonding_curve_address.

hodl-skill get-tokens
hodl-skill get-tokens --sort=market_cap --limit=10
hodl-skill get-tokens --sort=volume --verified=true
hodl-skill get-tokens --sort=progress --finalized=false
hodl-skill get-tokens --search=pepe --limit=5

Options: --sort=newest|market_cap|progress|volume · --limit=N (max 100) · --offset=N · --verified=true|false · --finalized=true|false · --search=\x3Ctext>

Key output fields per token:

  • address — token contract address
  • bonding_curve_address — ⭐ use this in quote/buy-token/sell-token
  • market_cap_usd, progress_percent (0–100 toward PancakeSwap migration)
  • finalized — if true, bonding curve is closed, token is on PancakeSwap V3
  • price_change_24h, trades_24h, volume_24h_bnb

get-token \x3CtokenAddress>

Full token details + 20 most recent trades.

hodl-skill get-token 0x1a2b3c...

Returns same fields as get-tokens plus recent_trades[].


get-trades \x3CtokenAddress>

Trade history for a specific token.

hodl-skill get-trades 0x1a2b3c...
hodl-skill get-trades 0x1a2b3c... --type=buy --limit=20

Options: --type=all|buy|sell · --limit=N (max 500) · --offset=N


quote \x3CbondingCurveAddress> buy|sell \x3Camount>

Simulate trade output using live on-chain state. No transaction sent, no gas used.

# How many tokens will I get for 0.1 BNB?
hodl-skill quote 0xbc1234... buy 0.1

# How much BNB will I get for selling 500000 tokens?
hodl-skill quote 0xbc1234... sell 500000

Always run quote before buy-token or sell-token to verify expected amounts.


create-token

Deploy a new token + bonding curve on HODL.DANCE. Uploads logo to IPFS, then sends on-chain transaction.

hodl-skill create-token --name="Moon Cat" --symbol=MCAT --logo=./logo.png

hodl-skill create-token \
  --name="Moon Cat" \
  --symbol=MCAT \
  --logo=./logo.png \
  --category=meme \
  --description="The cat that dances on the moon" \
  --twitter="https://x.com/mooncat" \
  --telegram="https://t.me/mooncat" \
  --website="https://mooncat.io" \
  --initial-buy=0.1

Requires: HODL_PRIVATE_KEY

Options:

  • --name — token name, 3–40 characters (required)
  • --symbol — token symbol, 1–10 characters (required)
  • --logo — path to local image file PNG/JPG/WEBP, max 5MB (required)
  • --categorymeme|ai|games|social|other (default: meme)
  • --description — token description, max 500 characters
  • --websitehttps://...
  • --twitterhttps://x.com/...
  • --telegramhttps://t.me/...
  • --initial-buy — BNB amount to buy in the same transaction (default: 0)

Deploy fee: 0.0001 BNB. If --initial-buy is set, total value = 0.0001 + initial-buy.

Output: tx_hash, block_number, gas_used, token_address, bonding_curve_address, name, symbol, category, logo_ipfs, initial_buy_bnb


buy-token \x3CbondingCurveAddress> \x3CbnbAmount> [--recipient=0x...]

Buy tokens using BNB. Sends transaction on-chain.

hodl-skill buy-token 0xbc1234... 0.1
hodl-skill buy-token 0xbc1234... 0.5 --recipient=0xfriend...

Requires: HODL_PRIVATE_KEY

Output: tx_hash, bnb_spent, tokens_received, tokens_estimated, fee_bnb, block_number, gas_used


sell-token \x3CbondingCurveAddress> \x3CtokenAmount>

Sell tokens, receive BNB.

hodl-skill sell-token 0xbc1234... 1000000

Requires: HODL_PRIVATE_KEY

⚠️ Selling requires ERC20 approve before sellTokens. This skill handles it automatically in two steps:

  1. Checks current allowance — if insufficient, sends approve() transaction first
  2. Sends sellTokens() transaction

The output field approve_was_needed: true/false tells you whether approve was sent. If approve was needed, approve_tx_hash contains its transaction hash. Total gas cost may cover 2 transactions if approve was required.

Output: tx_hash, tokens_sold, bnb_received, bnb_estimated, fee_bnb, approve_tx_hash, approve_was_needed, block_number, gas_used


Response Format

All commands output JSON to stdout:

{ "success": true, "data": { ... } }

Errors:

{ "success": false, "error": { "code": "TOKEN_FINALIZED", "message": "..." } }

Exit code 0 = success, 1 = error.

Error Codes

Code Meaning
MISSING_ARG Required argument not provided
INVALID_ARG Invalid argument value (e.g. logo file not found)
TOKEN_FINALIZED Token migrated to PancakeSwap V3, bonding curve closed
INSUFFICIENT_BALANCE Not enough tokens to sell
ERROR General error (message contains details)

Typical Agent Workflow

1. get-tokens --sort=volume --limit=10
   → find tokens with activity, note bonding_curve_address

2. get-token \x3CtokenAddress>
   → check progress_percent, finalized, recent_trades

3. quote \x3CbondingCurveAddress> buy 0.1
   → verify tokens_out before committing

4. buy-token \x3CbondingCurveAddress> 0.1
   → execute, save tx_hash and tokens_received

5. [later] quote \x3CbondingCurveAddress> sell \x3Ctokens_received>
   → check exit value

6. sell-token \x3CbondingCurveAddress> \x3Ctokens_received>
   → approve sent automatically if needed, then sell
   → check approve_was_needed in output

Token Launch Workflow

1. create-token --name="..." --symbol=... --logo=./logo.png --initial-buy=0.1
   → deploys token + bonding curve, returns token_address and bonding_curve_address

2. quote \x3Cbonding_curve_address> buy 0.5
   → verify expected tokens before buying more

3. buy-token \x3Cbonding_curve_address> 0.5
   → accumulate position

Contract Addresses (BSC Mainnet, Chain ID 56)

Contract Address
Token Factory 0x99A1F02f56E8356e6E90A880DBb1be6EC7485737
Bonding Curve Template 0xea508aD6B550E94aC45831F265B2bD5346d06700
Locker 0x562ff19485674d9b965ab14a1034370f5e3af7c9

Each token has its own unique Bonding Curve instance. Always fetch bonding_curve_address from get-token, get-tokens or create-token — do not use the template address.

安全使用建议
Install only if you are comfortable giving this skill authority to sign BSC transactions. Use a separate low-balance wallet, pin and verify the npm package, quote trades first, manually approve every buy/sell/create action, verify bonding curve addresses from the official HODL.DANCE UI/API, and revoke ERC20 allowances after selling if needed.
功能分析
Type: OpenClaw Skill Name: hodl-dance Version: 1.2.1 The HODL.DANCE skill bundle is a legitimate tool for trading and creating memecoins on the BSC network. It uses standard libraries like ethers.js for blockchain interactions and node-fetch for API requests to https://hodl.dance/api. While it requires a private key (HODL_PRIVATE_KEY) for signing transactions, the code correctly uses it only for local signing and does not attempt to exfiltrate it. The functionality, including token creation, buying, and selling (with automatic ERC20 approval), is transparently implemented and aligns with the documentation in SKILL.md and README.md.
能力标签
cryptorequires-walletcan-make-purchasescan-sign-transactionsrequires-sensitive-credentials
能力评估
Purpose & Capability
The code and documentation are coherent with the stated purpose of HODL.DANCE token discovery, quoting, buying, selling, and token creation, but these are real financial actions on BSC mainnet.
Instruction Scope
Write commands can spend BNB, deploy tokens, or sell tokens from caller-supplied arguments without an in-tool confirmation step, spending cap, slippage/min-output protection, or validation that a bonding curve address came from HODL.DANCE.
Install Mechanism
The skill documents npm/npx installation for a wallet-signing CLI; users should pin and verify the package version before exposing a private key.
Credentials
Using a private key is expected for crypto trading, but the registry metadata declares no env vars or primary credential while the write commands require HODL_PRIVATE_KEY.
Persistence & Privilege
There is no local background persistence, but sell-token automatically creates an on-chain ERC20 allowance before selling; if the wrong contract is used or the sell fails after approval, that permission can have lasting financial impact.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hodl-dance
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hodl-dance 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.1
- Added support for deploying new tokens with the new create-token command. - Updated documentation to include create-token usage, options, and workflow. - create-token sends logo to IPFS and deploys token + bonding curve in one step. - HODL_PRIVATE_KEY is now required for create-token as well as buy/sell. - Minor clarifications and enhancements to SKILL.md instructions and error codes.
v1.1.0
- Added full documentation in SKILL.md, covering all commands, usage, and output format. - Provides detailed instructions for buying and selling tokens, including automatic ERC20 approve handling for sales. - Lists API endpoints, contract addresses, environment variables, and agent workflow for trading memecoins on HODL.DANCE. - Describes all command-line options, expected outputs (including JSON format), and error handling codes. - Makes credential requirements and operational safety notes clear for users.
元数据
Slug hodl-dance
版本 1.2.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Hodl Dance Skill 是什么?

Trade, create, and manage memecoins on HODL.DANCE's BSC bonding curve launchpad. Launch tokens with logo upload and optional initial buy, get live quotes, buy and sell with BNB, and handle ERC20 approvals automatically. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 149 次。

如何安装 Hodl Dance Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hodl-dance」即可一键安装,无需额外配置。

Hodl Dance Skill 是免费的吗?

是的,Hodl Dance Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Hodl Dance Skill 支持哪些平台?

Hodl Dance Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Hodl Dance Skill?

由 HODL.DANCE 🪩🕺(@hodldance)开发并维护,当前版本 v1.2.1。

💬 留言讨论