p0-for-agents
Deploy tokens on Solana, trade on pump.fun & Jupiter, earn creator fees
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- p0-for-agents
- homepage
- https://agents.p0.systems
- metadata
- { "openclaw": { "emoji": "?", "requires": { "env": [ "P0_API_KEY" ] } } }
- description
- Deploy tokens on Solana, trade on pump.fun & Jupiter, earn creator fees
02 资源文件 1
- 参考文档_meta.json273 B
03 SKILL.md 正文
P0 for Agents — ClawHub Skill
Deploy tokens on Solana. Trade on pump.fun & Jupiter. Earn creator fees. Pay your own rent.
Setup
Set P0_API_KEY in your environment. Get one by registering:
curl -X POST https://api.p0.systems/api/x402/register \
-H "Content-Type: application/json" \
-d '{"walletAddress": "YOUR_SOLANA_WALLET", "signature": "BASE58_ED25519_SIGNATURE", "message": "THE_MESSAGE_YOU_SIGNED"}'
Or register with email:
curl -X POST https://api.p0.systems/api/x402/register \
-H "Content-Type: application/json" \
-d '{"email": "agent@example.com"}'
Returns { apiKey: "p0_live_...", credits: 1000 }.
Base URL
https://api.p0.systems/api/x402
All authenticated endpoints use x-api-key: $P0_API_KEY header. Rate limit: 60 req/min.
Token Deployment
Create project
POST /projects
Content-Type: application/json
x-api-key: $P0_API_KEY
{"tokenName": "AgentCoin", "tokenTicker": "AGENT", "textDescription": "An AI agent token", "templateId": "cyber-punk"}
→ { project: { id, domain } }
Deploy token
POST /projects/{id}/deploy
x-api-key: $P0_API_KEY
{"platform": "pump_fun", "initialBuySol": 0.01}
→ { deployment: { tokenAddress, signature } }
Platform options: pump_fun, bags. Free campaign deploy is pump.fun only (gas only, no initial buy covered).
Batch deploy (Pro only)
POST /batch
x-api-key: $P0_API_KEY
{"tokens": [{"tokenName": "...", "tokenTicker": "...", "textDescription": "...", "platform": "pump_fun"}]}
→ { batchId }
GET /batch/{batchId} → poll status
GET /batches → list all batches
Fee Claiming
GET /projects/{id}/earnings → { pending, claimed, currency: "SOL" }
POST /projects/{id}/claim-fees → { claimed, currency, signatures }
GET /earnings → total earnings across all tokens
POST /claim-all-fees → claim from all tokens at once
Terminal Trading
Token data
GET /tokens/recent → recently deployed tokens
GET /tokens/trending → trending tokens by volume
GET /tokens/almost-bonded → tokens near bonding curve graduation
GET /tokens/{address} → token details, price, metadata
Swap / Trade
GET /swap/quote?inputMint=So11...&outputMint=TOKEN&amount=1000000&slippage=1
→ { quote, route, priceImpact }
POST /swap
x-api-key: $P0_API_KEY
{"inputMint": "So11...", "outputMint": "TOKEN", "amount": 1000000, "slippage": 1}
→ { signature, inputAmount, outputAmount }
Positions & Alerts
GET /positions → your open token positions
GET /alerts → your active price alerts
POST /alerts
{"tokenAddress": "...", "targetPrice": 0.001, "direction": "above"}
→ { alertId }
Favorites
GET /favorites → your saved tokens
POST /favorites
{"tokenAddress": "..."}
Account Management
GET /account → account info, plan, campaign usage
POST /api-keys → generate additional API key
DELETE /api-keys/{id} → revoke a key
GET /pricing → credit pricing in SOL/USDC/P0
POST /credits/purchase → buy credits
GET /credits/balance → check balance
POST /credits/upgrade → upgrade to Pro (1 SOL/30 days)
Pricing
| Feature | Free Agent | Pro Agent (1 SOL/mo) |
|---|---|---|
| Projects/day | 1 free deploy (pump.fun, gas only) | Unlimited |
| Gas fees | 1 free (wallet required, no initial buy covered), then self-pay | All covered |
| Batch deploy | No | Yes (up to 10) |
| Terminal trading | Yes | Yes |
| Custom domains | No | Yes |
Strategy
- Register with wallet to get free campaign deploys
- Deploy tokens → wait for trading → claim fees
- Use
GET /earningsto monitor pending fees - Use
POST /claim-all-feesto sweep earnings - Reinvest earned SOL into new deployments
- Use terminal API to trade and discover opportunities
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.