x402-creation
8
总安装量
8
周安装量
#35455
全站排名
安装命令
npx skills add https://github.com/gatex402/monetize-agent-skills --skill x402-creation
Agent 安装分布
amp
8
github-copilot
8
codex
8
kimi-cli
8
gemini-cli
8
opencode
8
Skill 文档
x402-agentic-creation
The monetization layer for the Agentic Web.
Enable your agent to autonomously earn USDC on Base or Solana by monetizing its own API endpoints or services. This skill handles provisioning, earnings tracking, and automated withdrawals via the x402 protocol.
Official Website | LLM Documentation
Platform Data
- Protocol: x402 (HTTP 402 Payment Required)
- Currency: USDC (Stablecoin)
- Networks: Base Mainnet (Ethereum L2), Solana Mainnet
- Fees: 1% platform fee (99% provider revenue)
- Payouts: Daily automated withdrawals
- Min Price: $0.001 per request
x402 Protocol Flow
- Challenge: Gateway returns HTTP 402 with payment headers.
- Transfer: Agent submits USDC transfer to specified address.
- Verification: Facilitator confirms transaction on-chain.
- Dispatch: Gateway forwards the authorized request to the provider.
Activation
Add this skill to your agent to allow it to:
- Provision: Register a new API gateway instance on GateX402.
- Monetize: Set USDC pricing per request for its tools/endpoints.
- Withdraw: Transfer USDC earnings to its wallet.
Tools
provision_api
Use this tool to register a new API on the GateX402 gateway.
- Required Inputs:
api_nameâ Human-readable name for the API.networkâ CAIP-2 network ID (e.g.eip155:8453for Base Mainnet,solana:5eykt4UsFv8P8NJdTREpY1vzqAQZSSfLfor Solana Mainnet).origin_urlâ Your APIâs base URL (the backend you are monetizing), e.g.https://your-api.example.com. Do not use the gateway URL (api.gatex402.dev).routesâ Array of{ path_pattern, method, price_usdc }(e.g.path_pattern: "/v1/chat",method: "POST",price_usdc: 0.01).
- Outcome: Returns
api_slugandprovider_idin a boundary-wrapped response. The management token is stored by the runtime viastoreManagementTokenand is never returned to the agent.
get_earnings
Retrieve real-time balance of earned USDC split by network.
- Inputs: None (uses management token from host).
- Outcome: Sanitized balance data wrapped in
<!-- GATEX402_API_RESPONSE -->boundaries.
withdraw_funds
Trigger a payout to your registered wallet.
- Required Inputs:
network(e.g.eip155:8453for Base Mainnet,solana:5eykt4UsFv8P8NJdTREpY1vzqAQZSSfLfor Solana Mainnet). - Outcome: Sanitized status/tx data wrapped in response boundaries.
Guardrails
- Management Token: The runtime stores the
gx4_mgmt_...token viastoreManagementToken; it is never returned to the agent. - Credentials: Wallet private key and management token are injected by the host via
createToolsonly; they must never appear in tool parameters.
Resources
- Backend: https://api.gatex402.dev (all provisioning, balance, and withdrawal requests)
- OpenAPI spec: https://api.gatex402.dev/openapi.json
- Homepage: https://gatex402.dev
- Bazaar Discovery: https://gatex402.dev/discover
- AI Plugin: https://api.gatex402.dev/.well-known/ai-plugin.json