Agent-first token launchpad

Launch tokens, trade on bonding curves, auto-graduate to DEX. Simple REST API — no SDK, no API keys, just HTTP.

No API KeyREST APIHyperEVMCreator Fee 0.4% (fixed)

Quick Start

From zero to token launch in 3 API calls. No registration needed.

1Generate a wallet
curl -X POST /api/agent/wallet \
  -H "Content-Type: application/json" \
  -d '{}'

# Response:
# { "address": "0xABC...", "privateKey": "0xDEF...", "balance": "0" }

Save the privateKey — you need it for all write operations.

2Fund it with HYPE

Send HYPE to your new address. You need at least 0.01 HYPE to create a token, or any amount to buy.

3Create your token
curl -X POST /api/agent/create-token \
  -H "Content-Type: application/json" \
  -d '{
    "privateKey": "0xYOUR_KEY",
    "name": "MyToken",
    "symbol": "MTK",
    "description": "An agent-launched token",
    "creatorFeeBps": 40
  }'

# Response:
# { "success": true, "tokenAddress": "0x...", "creatorFeeBps": 40 }

Set creatorFeeBps: 40 for a fixed 0.4% creator fee — you earn this on every buy and sell.

How It Works

Bonding Curve

Price rises with buys, falls with sells. Constant-product AMM with virtual reserves.

50 HYPE Raised

When the curve accumulates 50 HYPE, it becomes graduation‑ready. A bot (or operator) finalizes graduation on-chain.

Hyperclaw DEX

Liquidity added to Hyperclaw. LP tokens burned forever. Free market.

FeeAmountRecipientWhen
Protocol fee0.6%ProtocolEvery trade
Creator fee0.4% (fixed)Token creatorEvery trade
Creation fee0.01 HYPEProtocolToken creation
Graduation fee1 HYPEProtocolGraduation

MCP Server

Use hyperclaw directly from Claude, Cursor, or any MCP-compatible AI. 20 tools for token discovery, trading, and analytics.

Install and run:

# Clone and build (access granted on request — DM @hyperclaw on X)
# git clone <repo-url>
cd mcp && npm install && npm run build

# Run (pointing to hosted API)
HYPERPUMP_BASE_URL=https://hyperclaw.xyz node dist/index.js

Add to Claude Code config:

{
  "mcpServers": {
    "hyperclaw": {
      "command": "node",
      "args": ["/path/to/mcp/dist/index.js"],
      "env": {
        "HYPERPUMP_BASE_URL": "https://hyperclaw.xyz",
        "HYPERPUMP_ALLOW_WRITE_TOOLS": "1"
      }
    }
  }
}

Available Tools

ToolTypeDescription
agent_tokensReadList all tokens (paginated)
agent_tokenReadGet token details + optional holder balance
agent_quoteReadGet buy/sell quote
agent_tradesReadRecent trade feed
agent_analyticsReadVolume, price history, trade counts
agent_holdersReadToken holder distribution
token_searchReadSearch by name/symbol/address
tokens_trendingReadTrending tokens by volume
hype_priceReadCurrent HYPE/USD price
indexer_statusReadIndexer health check
agent_buyWriteBuy tokens with HYPE
agent_sellWriteSell tokens for HYPE
agent_create_tokenWriteCreate new token
agent_walletWriteGenerate/import wallet
gasless_create_tokenWriteCreate token (EIP-712 signature)
upload_imageWriteUpload image to IPFS

Write Tools Require Opt-In

Set HYPERPUMP_ALLOW_WRITE_TOOLS=1 to enable trading tools. Write tools require a private key — use a dedicated hot wallet.

Twitter Bot

@hypeclawlive runs as a separate worker process. It polls mentions and replies using the same agent tools as the in-app chat.

Run locally:

npm run twitter-bot

Health check: GET /api/twitter-bot/status

Key settings:

  • TWITTER_BOT_HANDLE (default: hypeclawlive)
  • TWITTER_BOT_POLL_MS (default: 60000)
  • TWITTER_BOT_MAX_REPLIES_24H (default: 90)
  • ANTHROPIC_MODEL (default: claude-haiku-4-5-20251001)

Agent Discovery

hyperclaw supports multiple agent discovery standards. Point your agent at any of these files.

FileStandardUse Case
/skill.mdAgent SkillsFull API reference — give this to your agent
/.well-known/agent.jsonA2A ProtocolMachine-readable agent card (Google A2A)
/llms.txtllms.txtLLM content discovery (844K+ sites)

Authentication

No API keys. No OAuth. Write operations take an EVM private key in the request body. Read operations need nothing.

// Write operations (create, buy, sell):
{ "privateKey": "0xYOUR_PRIVATE_KEY", ...params }

// Read operations (tokens, quote, wallet balance):
// No authentication needed — just GET the URL

Security Note

The private key signs transactions on-chain. Only use keys you control. Never share your main wallet key — generate a dedicated agent wallet via POST /api/agent/wallet.

API Reference

Wallet

POST/api/agent/wallet

Generate a new wallet or import an existing one.

Request body (empty for new wallet):

{}

Response:

{
  "address": "0xABC...",
  "privateKey": "0xDEF...",
  "balance": "0",
  "balanceWei": "0"
}
GET/api/agent/wallet?address=0x...

Check HYPE balance of any address.

{
  "address": "0xABC...",
  "balance": "100.5",
  "balanceWei": "100500000000000000000"
}

Tokens

POST/api/agent/create-token

Create a new token on the bonding curve. Costs 0.01 HYPE.

ParamRequiredDescription
privateKeyYesYour wallet private key
nameYesToken name
symbolYesToken ticker (max 10 chars)
descriptionNoToken description
imageNoIPFS hash or URL for token image
creatorFeeBpsNoCreator trading tax: fixed at 40 bps (0.4%). You earn this on every trade.

Response:

{
  "success": true,
  "txHash": "0x...",
  "tokenAddress": "0xNEW_TOKEN",
  "creator": "0xYOUR_ADDRESS",
  "name": "MyToken",
  "symbol": "MTK",
  "creatorFeeBps": 40,
  "gasUsed": "300000"
}
GET/api/agent/tokens?offset=0&limit=20

List all tokens with price, progress, and graduation status.

{
  "tokens": [
    {
      "address": "0x...",
      "name": "MyToken",
      "symbol": "MTK",
      "price": "0.00000000003177",
      "progressPercent": 3.96,
      "graduated": false,
      "creatorFeeBps": 40
    }
  ],
  "total": 12,
  "offset": 0,
  "limit": 20
}
GET/api/agent/token?address=0x...&holder=0x...

Full token details. Add holder param to include your balance.

{
  "address": "0x...",
  "name": "MyToken",
  "symbol": "MTK",
  "price": "0.00000000003177",
  "marketCap": "31.77",
  "progressPercent": 3.96,
  "graduated": false,
  "creatorFeeBps": 40,
  "creatorFeePercent": 0.4,
  "holderBalance": "1000000.0"
}

Trading

GET/api/agent/quote?token=0x...&side=buy&amount=5

Price quote for buy or sell. Always quote before trading.

ParamRequiredDescription
tokenYesToken contract address
sideYes"buy" or "sell"
amountYesHYPE amount (for buy) or token amount (for sell)

Buy response:

{ "side": "buy", "hypeIn": "5", "tokensOut": "151969957.08" }

Sell response:

{ "side": "sell", "tokensIn": "50000000", "hypeOut": "1.625" }
POST/api/agent/buy

Buy tokens with HYPE on the bonding curve.

ParamRequiredDescription
privateKeyYesYour wallet private key
tokenYesToken contract address
amountHypeYesHYPE to spend (e.g., "5" for 5 HYPE)
slippageBpsNoSlippage tolerance. 100 = 1%. Default 100.

Response:

{
  "success": true,
  "txHash": "0x...",
  "hypeSpent": "5",
  "tokensReceived": "151969957.08",
  "protocolFee": "0.05",
  "creatorFee": "0.1",
  "graduated": false,
  "gasUsed": "95000"
}
POST/api/agent/sell

Sell tokens for HYPE. Token approval is handled automatically.

ParamRequiredDescription
privateKeyYesYour wallet private key
tokenYesToken contract address
amountTokensYesTokens to sell (e.g., "50000000" for 50M tokens)
slippageBpsNoSlippage tolerance. 100 = 1%. Default 100.

Response:

{
  "success": true,
  "txHash": "0x...",
  "tokensSold": "50000000",
  "hypeReceived": "1.625",
  "protocolFee": "0.016",
  "creatorFee": "0.033",
  "gasUsed": "84000"
}

Code Examples

Python — Launch + Buy

import requests

BASE = "https://hyperclaw.xyz/api/agent"

# 1. Create wallet
wallet = requests.post(f"{BASE}/wallet", json={}).json()
pk = wallet["privateKey"]
print(f"Address: {wallet['address']}")

# 2. Fund wallet with HYPE (manual step)

# 3. Launch token with 0.4% creator fee (fixed)
token = requests.post(f"{BASE}/create-token", json={
    "privateKey": pk,
    "name": "AgentCoin",
    "symbol": "AGENT",
    "description": "Launched by an AI agent",
    "creatorFeeBps": 40
}).json()
print(f"Token: {token['tokenAddress']}")

# 4. Buy 5 HYPE worth
buy = requests.post(f"{BASE}/buy", json={
    "privateKey": pk,
    "token": token["tokenAddress"],
    "amountHype": "5",
    "slippageBps": 200
}).json()
print(f"Got {buy['tokensReceived']} tokens")

JavaScript / TypeScript

const BASE = "https://hyperclaw.xyz/api/agent";

// Create wallet
const wallet = await fetch(`${BASE}/wallet`, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: "{}",
}).then(r => r.json());

// Launch token
const token = await fetch(`${BASE}/create-token`, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    privateKey: wallet.privateKey,
    name: "AgentCoin",
    symbol: "AGENT",
    creatorFeeBps: 40,
  }),
}).then(r => r.json());

// Quote before buying
const quote = await fetch(
  `${BASE}/quote?token=${token.tokenAddress}&side=buy&amount=5`
).then(r => r.json());
console.log(`Would get ${quote.tokensOut} tokens`);

// Buy
const buy = await fetch(`${BASE}/buy`, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    privateKey: wallet.privateKey,
    token: token.tokenAddress,
    amountHype: "5",
  }),
}).then(r => r.json());

cURL — Full Flow

# Generate wallet
curl -X POST /api/agent/wallet -H "Content-Type: application/json" -d '{}'

# Create token
curl -X POST /api/agent/create-token -H "Content-Type: application/json" \
  -d '{"privateKey":"0xKEY","name":"Test","symbol":"TST","creatorFeeBps":40}'

# Get quote
curl "/api/agent/quote?token=0xTOKEN&side=buy&amount=5"

# Buy
curl -X POST /api/agent/buy -H "Content-Type: application/json" \
  -d '{"privateKey":"0xKEY","token":"0xTOKEN","amountHype":"5"}'

# Sell
curl -X POST /api/agent/sell -H "Content-Type: application/json" \
  -d '{"privateKey":"0xKEY","token":"0xTOKEN","amountTokens":"50000000"}'

Error Handling

All errors return {"error": "message"} with an HTTP status code.

ErrorFix
Token has graduatedTrade on Hyperclaw DEX instead
Slippage exceededIncrease slippageBps (try 200-500)
Insufficient paymentFund your wallet with more HYPE
creatorFeeBps is fixed at 40Creator fee is fixed at 0.4% (40 basis points)

Network Info

Chain

HyperEVM

Chain ID

999

Native Token

HYPE (18 decimals)

RPC

https://rpc.hyperliquid.xyz/evm

Explorer

https://explorer.hyperliquid.xyz

Gas

Buy ~95K, Sell ~84K, Create ~300K