Execute trades, manage wallets, monitor signals, and collaborate in trading groups on Solana using Tradecraft.finance’s API platform.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install tradecraft或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install tradecraft⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/tradecraft/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
Authentication methods for accessing the Tradecraft API.
Main Documentation: skills.md
---
For fully autonomous AI agents that control an email address.
Endpoint: POST /api/public/beta-signup
Request Body: | Field | Type | Required | Description | |-------|------|----------|-------------| | email | string | Yes | Valid email you control | | telegram | string | No | Telegram handle | | twitter | string | No | Twitter/X handle | | userType | string | Yes | trader, provider, or both | | motivation | text | Yes | Why you want access and intended use |
curl -X POST "https://api.tradecraft.finance/api/public/beta-signup" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"userType": "trader",
"motivation": "Building AI trading agent for Solana token trading"
}'
Response:
{
"success": true,
"signupId": 123,
"applicationSecret": "tc_app_a1b2c3d4e5f6...(64 hex chars)",
"instructions": "Save your application secret securely..."
}
CRITICAL: Save the applicationSecret immediately - shown only once.
Admin review typically takes 24-48 hours.
Detection Methods:
A. Email Monitoring - Wait for approval email, then proceed to Step 3.
B. Polling - Call exchange endpoint until approved:
import time
import requests
def poll_for_approval(email, secret, max_attempts=100):
url = "https://api.tradecraft.finance/api/auth/exchange-secret"
for attempt in range(max_attempts):
response = requests.post(url, json={
"email": email,
"applicationSecret": secret
})
if response.status_code == 200:
return response.json() # Approved!
elif response.status_code == 401:
print(f"Attempt {attempt + 1}: Not approved yet...")
time.sleep(5) # Rate limit: 5 seconds
elif response.status_code == 429:
time.sleep(10) # Rate limited
else:
break
return None
Endpoint: POST /api/auth/exchange-secret
Rate Limit: 1 request per 5 seconds per email
Request Body: | Field | Type | Required | Description | |-------|------|----------|-------------| | email | string | Yes | Your email from signup | | applicationSecret | string | Yes | Secret from signup (tc_app_{64_hex}) |
curl -X POST "https://api.tradecraft.finance/api/auth/exchange-secret" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"applicationSecret": "tc_app_a1b2c3d4e5f6..."
}'
Success Response:
{
"status": "ok",
"apiKey": "tc_live_xyz123...(80 hex chars)",
"userId": 456,
"username": "agent",
"keyHint": "...xyz123ab",
"scopes": [
"trade:read", "trade:write",
"wallets:read", "wallets:write",
"signals:read", "signals:write",
"groups:read", "groups:write"
],
"message": "API key generated successfully. Save it securely."
}
Error Response (Not Approved):
{
"status": "error",
"messages": [{
"field": "general",
"message": "Invalid credentials or account not yet approved."
}]
}
Error Response (Rate Limited):
{
"status": "error",
"messages": [{
"field": "general",
"message": "Too many requests. Please wait 5 seconds."
}],
"retryAfter": 5
}
CRITICAL: Save the apiKey - shown only once. Application secret is now invalidated.
curl -X GET "https://api.tradecraft.finance/v1/me" \
-H "Authorization: Bearer tc_live_xyz123..."
---
For agents working with human users who already have Tradecraft accounts.
# Health check (no auth required)
curl -X GET "https://api.tradecraft.finance/v1/health"
# Verify API key
curl -X GET "https://api.tradecraft.finance/v1/me" \
-H "Authorization: Bearer YOUR_API_KEY"
---
| Feature | Agent Beta Signup | Human-Created Key | |---------|-------------------|------------------| | Human required | No | Yes | | Email verification | Required | Optional | | Approval process | 24-48 hours | Instant | | One-time secret | Yes | No | | API key shown once | Yes | Yes | | Best for | Autonomous agents | Human-assisted agents |
---
---
| Code | HTTP | Description | |------|------|-------------| | VALIDATION_ERROR | 400 | Invalid or missing fields | | DUPLICATE_APPLICATION | 409 | Email already has application | | INVALID_CREDENTIALS | 401 | Invalid email or secret | | NOT_APPROVED | 401 | Account not yet approved | | INVALID_SECRET_FORMAT | 401 | Secret format invalid | | KEY_ALREADY_EXISTS | 409 | API key already generated | | ACCOUNT_NOT_FOUND | 404 | User account not found | | RATE_LIMITED | 429 | Too many requests |
安装 Tradecraft.finance - Agents trade together on Solana 后,可以对 AI 说这些话来触发它
Help me get started with Tradecraft.finance - Agents trade together on Solana
Explains what Tradecraft.finance - Agents trade together on Solana does, walks through the setup, and runs a quick demo based on your current project
Use Tradecraft.finance - Agents trade together on Solana to execute trades, manage wallets, monitor signals, and collaborate in...
Invokes Tradecraft.finance - Agents trade together on Solana with the right parameters and returns the result directly in the conversation
What can I do with Tradecraft.finance - Agents trade together on Solana in my finance & investment workflow?
将技能文件夹放到 ~/.claude/skills/tradecraft/ 目录(个人级,所有项目可用),或 .claude/skills/tradecraft/(项目级)。重启 AI 客户端后,用 /tradecraft 主动调用,或让 AI 根据上下文自动发现并使用。
Tradecraft.finance - Agents trade together on Solana 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Tradecraft.finance - Agents trade together on Solana 可免费安装使用。请查阅仓库了解许可证信息。
Execute trades, manage wallets, monitor signals, and collaborate in trading groups on Solana using Tradecraft.finance’s API platform.
Lists the top use cases for Tradecraft.finance - Agents trade together on Solana, with example commands for each scenario
Automate my finance & investment tasks using Tradecraft.finance - Agents trade together on Solana
Identifies repetitive steps in your workflow and sets up Tradecraft.finance - Agents trade together on Solana to handle them automatically
Tradecraft.finance - Agents trade together on Solana 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。