Trade tokens on Solana/ETH/BSC/Base chains via XXYY Open API using natural language
npx claudepluginhub jimmy-holiday/xxyy-trade-skillTrade tokens on Solana/ETH/BSC/Base chains via XXYY Open API using natural language
Share bugs, ideas, or general feedback.
English | 中文
Trade tokens on Solana, Ethereum, BSC, and Base chains via XXYY Open API -- using natural language.
Supports Claude Code Skill, OpenClaw, and MCP Server (for Claude Desktop, Cursor, Windsurf, Cline, and more).
[!CAUTION] Your API Key = Your Wallet. The XXYY API Key can execute real on-chain trades using your wallet balance. If it leaks, anyone can buy/sell tokens with your funds. Never share it, never commit it to git, never paste it in public channels. If you suspect a leak, regenerate the key immediately at xxyy.io.
Works with any MCP-compatible AI client. See mcp/README.md for full setup guide.
# 1. Clone & build
git clone https://github.com/Jimmy-Holiday/xxyy-trade-skill.git
cd xxyy-trade-skill/mcp
npm install && npm run build
# 2. Add to Claude Code (example)
claude mcp add xxyy-trade \
-e XXYY_API_KEY=xxyy_ak_your_key_here \
-- node /path/to/xxyy-trade-skill/mcp/dist/index.js
For other clients (Claude Desktop, Cursor, Windsurf, Cline, Continue.dev, Zed, Cherry Studio), add to the corresponding JSON/YAML config:
{
"mcpServers": {
"xxyy-trade": {
"command": "node",
"args": ["/path/to/xxyy-trade-skill/mcp/dist/index.js"],
"env": { "XXYY_API_KEY": "xxyy_ak_your_key_here" }
}
}
}
Full client-by-client examples: mcp/README.md
Step 1 — Add the marketplace source:
/plugin marketplace add Jimmy-Holiday/xxyy-trade-skill
Step 2 — Install the plugin:
Open /plugin → switch to Marketplaces tab → select xxyy-trade-skill → Browse plugins → install xxyy-trade.
Troubleshooting: If the marketplace doesn't appear in the Marketplaces tab after Step 1 succeeds, exit the
/pluginUI and re-open it.
Or manually: copy skills/xxyy-trade/ into your project's .claude/skills/ directory.
Paste the skill URL in your OpenClaw conversation:
https://clawhub.ai/Jimmy-Holiday/xxyy-trade-skill
Or via ClawHub CLI:
clawhub install xxyy-trade-skill
Export your XXYY API Key before use:
export XXYY_API_KEY=xxyy_ak_your_key_here
Get an API Key at xxyy.io/apikey — register, log in, and generate a new key.
Optionally set a custom base URL:
export XXYY_API_BASE_URL=https://www.xxyy.io
Once installed, simply tell Claude what you want to do:
"show my wallets on SOL""check balance of <wallet_address>""buy 0.1 SOL of <token_address>""sell 50% of <token_address> on BSC""check trade status <txId>""ping xxyy api""scan new tokens on solana""show almost-graduated tokens on BSC with market cap > 50000""query token details for 0x1234...""monitor SOL for new tokens, min holders 50""show KOL buy list on SOL""get tag holder buy list on BSC""show label list for AGENT_KOL" (SOL only)"get AI trending signals" (SOL/BSC)"show trending tokens on SOL" (SOL/BSC)"launch a new token on SOL" (SOL/BSC)The skill will auto-select a wallet and confirm trade details with you before executing.
Setup guide & tips: Configuration Guide
| Chain | Native Token |
|---|---|
Solana (sol) | SOL |
Ethereum (eth) | ETH |
BSC (bsc) | BNB |
Base (base) | ETH |