Install
openclaw skills install four-clawClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Launch custom tokens on Solana (BAGS) or BNB Chain (FLAP) via API with configurable tax and revenue sharing options.
openclaw skills install four-clawLaunch tokens on Solana (BAGS) or BNB Chain (FLAP) directly via API.
POST https://fourclaw.fun/api/launch
No authentication required - launches are rate-limited per agent.
{
"platform": "BAGS",
"name": "My Token",
"symbol": "MTK",
"agentId": "agent_123",
"agentName": "My AI Agent",
"creatorWallet": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
}
{
"platform": "FLAP",
"name": "My BNB Token",
"symbol": "MBNB",
"agentId": "agent_123",
"agentName": "My AI Agent",
"creatorWallet": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"taxRate": 500,
"vaultType": "split"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
platform | string | ✅ Yes | "BAGS" or "FLAP" |
name | string | ✅ Yes | Token name (1-64 chars) |
symbol | string | ✅ Yes | Token ticker (2-10 chars, uppercase) |
agentId | string | ✅ Yes | Your agent/app identifier |
agentName | string | ✅ Yes | Agent display name |
creatorWallet | string | ✅ Yes | Wallet to receive tokens |
description | string | No | Token description |
imageUrl | string | No | Token logo URL |
twitter | string | No | Twitter/X handle (with or without @) |
telegram | string | No | Telegram link |
website | string | No | Website URL |
No additional parameters required! BAGS uses automatic Partner PDA:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
taxRate | number | No | 500 | Tax rate in BPS (100 = 1%, max 1000) |
vaultType | string | No | "split" | Vault type: "split" or "gift" |
recipients | array | No | 80/20 split | Custom revenue split (see below) |
xHandle | string | Conditional | - | Required if vaultType is "gift" |
| Parameter | Type | Default | Description |
|---|---|---|---|
mktBps | number | 10000 | Goes to vault (BPS) |
deflationBps | number | 0 | Token burn (BPS) |
dividendBps | number | 0 | Holder rewards (BPS) |
lpBps | number | 0 | LP rewards (BPS) |
Must sum to 10000 (100%)
Control how tax revenue is distributed.
{
"vaultType": "split"
}
Result:
{
"vaultType": "split",
"recipients": [
{
"recipient": "0x1111111111111111111111111111111111111111",
"bps": 10000
}
]
}
Auto-adjusts to:
{
"vaultType": "split",
"recipients": [
{
"recipient": "0x1111111111111111111111111111111111111111",
"bps": 7000
},
{
"recipient": "0x2222222222222222222222222222222222222222",
"bps": 3000
}
]
}
Auto-adjusts to:
{
"vaultType": "split",
"recipients": [
{
"recipient": "0x1111111111111111111111111111111111111111",
"bps": 5000
},
{
"recipient": "0x2222222222222222222222222222222222222222",
"bps": 3000
},
{
"recipient": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"bps": 2000
}
]
}
Used as-is:
✅ Requirements:
🔒 Platform Fee:
Instead of split, make vault claimable by X/Twitter handle:
{
"platform": "FLAP",
"name": "Gift Token",
"symbol": "GIFT",
"agentId": "agent_123",
"agentName": "My Agent",
"creatorWallet": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"vaultType": "gift",
"xHandle": "@elonmusk"
}
Result: Tax revenue goes to vault claimable by @elonmusk
{
"success": true,
"data": {
"jobId": "bags_clxyz123",
"tokenId": "clxyz789",
"status": "queued",
"platform": "BAGS",
"symbol": "MTK",
"blockchain": "SOLANA",
"estimatedTime": "2-5 minutes"
}
}
{
"success": false,
"error": "Invalid wallet address format"
}
Per agent ID:
Exceeded limits return:
{
"success": false,
"error": "Rate limit exceeded",
"resetIn": 3600
}
Check launch status:
GET https://fourclaw.fun/api/launch/status/{jobId}
Response:
{
"id": "bags_clxyz123",
"status": "completed",
"progress": 100,
"token": {
"mint": "5xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
"symbol": "MTK",
"name": "My Token"
}
}
Statuses: queued, processing, completed, failed
curl -X POST https://fourclaw.fun/api/launch \
-H "Content-Type: application/json" \
-d '{
"platform": "BAGS",
"name": "AI Agent Token",
"symbol": "AGENT",
"agentId": "my_ai_agent",
"agentName": "My AI Agent",
"creatorWallet": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
"description": "Token for my AI agent",
"twitter": "@myagent"
}'
curl -X POST https://fourclaw.fun/api/launch \
-H "Content-Type: application/json" \
-d '{
"platform": "FLAP",
"name": "BNB Agent Token",
"symbol": "BNBAGENT",
"agentId": "my_ai_agent",
"agentName": "My AI Agent",
"creatorWallet": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"taxRate": 500,
"vaultType": "split"
}'
Result: Creator 80%, Platform 20%
curl -X POST https://fourclaw.fun/api/launch \
-H "Content-Type: application/json" \
-d '{
"platform": "FLAP",
"name": "Team Token",
"symbol": "TEAM",
"agentId": "team_agent",
"agentName": "Team Agent",
"creatorWallet": "0x1111111111111111111111111111111111111111",
"taxRate": 300,
"vaultType": "split",
"recipients": [
{
"recipient": "0x1111111111111111111111111111111111111111",
"bps": 6000
},
{
"recipient": "0x2222222222222222222222222222222222222222",
"bps": 2000
},
{
"recipient": "0x3333333333333333333333333333333333333333",
"bps": 2000
}
]
}'
Auto-adjusted result:
curl -X POST https://fourclaw.fun/api/launch \
-H "Content-Type: application/json" \
-d '{
"platform": "FLAP",
"name": "Gift Token",
"symbol": "GIFT",
"agentId": "gift_agent",
"agentName": "Gift Agent",
"creatorWallet": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"taxRate": 500,
"vaultType": "gift",
"xHandle": "@elonmusk"
}'
curl -X POST https://fourclaw.fun/api/launch \
-H "Content-Type: application/json" \
-d '{
"platform": "FLAP",
"name": "Burn Token",
"symbol": "BURN",
"agentId": "burn_agent",
"agentName": "Burn Agent",
"creatorWallet": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"taxRate": 500,
"vaultType": "split",
"mktBps": 7000,
"deflationBps": 3000,
"dividendBps": 0,
"lpBps": 0
}'
Tax breakdown:
{"error": "Invalid wallet address format"}
Fix: Check wallet format (Solana vs EVM)
{"error": "Ticker MTK already launched"}
Fix: Use a different symbol
{"error": "Rate limit exceeded", "resetIn": 3600}
Fix: Wait 1 hour or use different agentId
{"error": "[USER_ERROR] Platform fee must be at least 2000 BPS (20%)"}
Fix: Include platform or let auto-adjust handle it
{"error": "Tax allocation must sum to 10000 BPS"}
Fix: Ensure mktBps + deflationBps + dividendBps + lpBps = 10000
✅ DO:
❌ DON'T:
/api/launch/status/{jobId}BAGS (Solana):
FLAP (BNB Chain):
Platform Fee:
Start launching tokens now! 🚀