--- name: solana-clawd description: 'One-shot setup and operation guide for the solana-clawd agentic engine. Use when: cloning the repo, setting up MCP tools, starting the Telegram bot, deploying to Fly.io/Netlify, hatching blockchain buddies, running OODA loops, configuring voice mode (ElevenLabs + Grok), minting Metaplex agents, managing the vault, running the worker swarm, or contributing to the project. Covers all 31 MCP tools, 18 buddy species, 9 spinners, 60+ Telegram commands, 95 skills, and the full repo structure.' metadata: { "solanaos": { "emoji": "\U0001F43E", "requires": { "env": ["HELIUS_API_KEY"], "bins": ["node", "npm"] } } } --- # solana-clawd — The Agentic Engine Solana Deserves **Repo**: [github.com/x402agent/solana-clawd](https://github.com/x402agent/solana-clawd) **Live**: [solanaclawd.com](https://solanaclawd.com) **npm**: `solana-clawd` (v1.6.0) **Token**: `$CLAWD` — `8cHzQHUS2s2h8TzCmfqPKYiM4dSt4roa3n7MyRLApump` ## When to Use - Setting up solana-clawd from scratch (clone, install, configure) - Connecting MCP tools to Claude Desktop, Cursor, VS Code - Starting the Telegram trading bot - Deploying the web app or MCP server - Hatching blockchain buddies or running spinners - Running OODA trading loops - Running Phoenix perpetuals through the official Solana CLAWD perps agent and bundled Vulcan skills - Configuring voice mode (ElevenLabs + Grok) - Minting agents on Metaplex - Managing encrypted vault secrets - Contributing new tools, buddies, or skills ## One-Shot Install ```bash git clone https://github.com/x402agent/solana-clawd cd solana-clawd npm run setup ``` `npm run setup` is the canonical bootstrap. It installs dependencies, builds the root runtime, builds `MCP/`, builds `packages/agentwallet/`, builds the main web app, builds the Clawd Vault web app, builds the wiki app, syncs the skills catalog, and creates `.env` from `.env.example` if needed. Minimum keys needed for live Solana data: `HELIUS_API_KEY` (free at helius.dev). ### Quick Demo (no keys needed) ```bash npm run demo npm run birth npm run spinners ``` ### Install As A Standalone Skill Install only the master `solana-clawd` skill: ```bash npx skills add x402agent/solana-clawd --path skill/solana-clawd ``` Install the full Solana-clawd skill pack from this repo: ```bash npx skills add x402agent/solana-clawd ``` ## MCP Setup ### Claude Desktop Add to `~/Library/Application Support/Claude/claude_desktop_config.json`: ```json { "mcpServers": { "solana-clawd": { "command": "node", "args": ["/path/to/solana-clawd/MCP/dist/index.js"], "env": { "HELIUS_API_KEY": "your-key" } } } } ``` ### Cursor / VS Code ```json { "solana-clawd": { "command": "node", "args": ["MCP/dist/index.js"], "cwd": "/path/to/solana-clawd" } } ``` ### Public HTTP (no install) ```json { "solana-clawd": { "type": "http", "url": "https://solana-clawd.fly.dev/mcp" } } ``` ## MCP Tools (31) | Category | Tools | Description | |----------|-------|-------------| | **Market Data** (8) | `solana_price`, `solana_trending`, `solana_token_info`, `solana_wallet_pnl`, `solana_search`, `solana_top_traders`, `solana_wallet_tokens`, `sol_price` | Live prices, trending, security scores, smart money, PnL | | **Helius Onchain** (8) | `helius_account_info`, `helius_balance`, `helius_transactions`, `helius_priority_fee`, `helius_das_asset`, `helius_webhook_create`, `helius_webhook_list`, `helius_listener_setup` | RPC, DAS metadata, enhanced txs, webhooks, WebSocket | | **Agent Fleet** (3) | `agent_spawn`, `agent_list`, `agent_stop` | Spawn research/OODA/scanner/dream agents | | **Memory** (2) | `memory_recall`, `memory_write` | KNOWN/LEARNED/INFERRED 3-tier memory | | **Metaplex** (6) | `metaplex_mint_agent`, `metaplex_register_identity`, `metaplex_read_agent`, `metaplex_delegate_execution`, `metaplex_verify_mint`, `metaplex_agent_wallet` | Mint AI agents as MPL Core assets | | **Pump.fun** (8) | `pump_token_scan`, `pump_buy_quote`, `pump_sell_quote`, `pump_graduation`, `pump_market_cap`, `pump_top_tokens`, `pump_new_tokens`, `pump_cashback_info` | Bonding curve scanner, quotes, graduation | | **Skills** (2) | `skill_list`, `skill_read` | Browse and load 95 SKILL.md files | ## Phoenix Perps: Vulcan / Rise SDK The repo includes the full Vulcan skill pack under `vulcan-cli-master/skills` and exposes forwarding skills under `skills/vulcan-*`. Use this loading order for Phoenix perps work: 1. `skills/vulcan/SKILL.md` 2. `vulcan-cli-master/CONTEXT.md` 3. `vulcan-cli-master/skills/INDEX.md` 4. Focused skills such as `vulcan-market-intel`, `vulcan-risk-management`, `vulcan-trade-execution`, `vulcan-twap-execution`, `vulcan-grid-trading`, or `vulcan-ta-strategy` Official Python perps agent: ```bash cd solana-python-agent python perps_agent.py health python perps_agent.py market SOL python perps_agent.py paper-order buy SOL --notional-usdc 100 python perps_agent.py preflight ``` Safety contract: - Paper mode is default. - Live orders require explicit `--yes`. - Live strategies require preflight and explicit mode selection. - The agent never reads or prints private keys, wallet passwords, or MCP config secrets. ## Telegram Bot ```bash # Set minimum env vars export TELEGRAM_BOT_TOKEN= export HELIUS_API_KEY= export TELEGRAM_ALLOWED_CHATS= # lock to your user # Start npx tsx src/telegram/index.ts ``` ### Key Commands | Category | Commands | |----------|----------| | **Market** | `/sol`, `/price `, `/trending`, `/token `, `/wallet `, `/market`, `/latest`, `/graduated` | | **Research** | `/research `, `/deepresearch `, `/ooda`, `/chart `, `/trades `, `/toptraders `, `/holders ` | | **Pump.fun** | `/scan`, `/snipe`, `/stop`, `/signal`, `/grad `, `/mcap `, `/cashback ` | | **Helius** | `/balance`, `/tokens`, `/txs`, `/slot`, `/assets` | | **AI** | `/grok `, `/xsearch `, `/wsearch `, `/imagine `, `/video `, `/vision ` | | **Twitter** | `/tweet `, `/reply `, `/like `, `/rt `, `/tsearch `, `/autotweet on` | | **Vault** | `/vault`, `/vault store