x402-layer
БесплатноЗапускает вложенные скриптыНе проверенx402-layer helps agents pay for APIs with USDC, deploy monetized endpoints, manage credits/webhooks/marketplace listings, and handle wallet-first ERC-8004…
от ivaavimusic4 662 установки в других каталогахОб этом скилле
x402 Singularity Layer
x402 is a Web3 payment layer where humans and agents can sell and consume APIs, products, and credits. This skill can sign wallet messages, submit on-chain transactions, call x402/studio APIs, and manage monetized endpoint infrastructure. Sensitive credentials are only needed for specific capability paths, not for baseline installation or read-only discovery. This skill covers the full Singularity Layer lifecycle:
- pay/consume services
- create/manage/list endpoints
- integrate custom payment flows into an app or platform
- receive and verify webhook payment events
- register agents and submit on-chain reputation feedback
- optionally use Singularity MCP for owner-scoped dashboard and control-plane actions
Networks: Base, Ethereum, Polygon, BSC, Monad, Solana
Currency: USDC
Protocol: HTTP 402 Payment Required
Security-first usage: No secret environment variable is universally required for installation. Set only the minimum variables needed for the exact runbook you are using. Prefer AWAL, OWS, API keys, or ephemeral wallets over long-lived mainnet private keys whenever possible.
Execution scope: For discovery, docs, and listing inspection, stay on the no-secret path first. Only use private keys, Solana signer keys, endpoint API keys, PATs, or support tokens when the user explicitly wants signing, webhook management, support auth, or owner-scoped control-plane actions.
Expected network/binary surface:
api.x402layer.cc,studio.x402layer.cc,mcp.x402layer.cc, and localawal/owsbinaries when those wallet modes are explicitly enabled.
Intent Router
Use this routing first, then load the relevant reference doc.
| User intent | Primary path | Reference |
|---|---|---|
| Integrate crypto payments into an app/platform | create_endpoint.py, manage_webhook.py, verify_webhook_payment.py, consume_product.py, recharge_credits.py |
references/payments-integration.md, references/webhooks-verification.md, references/agentic-endpoints.md |
| Pay/consume endpoint or product | pay_base.py, pay_solana.py, consume_credits.py, consume_product.py, ows_cli.py |
references/pay-per-request.md, references/credit-based.md, references/agentkit-benefits.md, references/openwallet-ows.md |
| Discover/search marketplace | discover_marketplace.py |
references/marketplace.md, references/agentkit-benefits.md |
| Plan a flow of paid services for a goal ($0.02 per plan; x402 Base/Solana, MPP or credits) | POST https://compute.x402layer.cc/compute/flows/plan (curl or any x402 client) |
references/flow-planner.md |
| Create/edit/list endpoint | create_endpoint.py, manage_endpoint.py, list_on_marketplace.py, topup_endpoint.py |
references/agentic-endpoints.md, references/marketplace.md, references/agentkit-benefits.md |
| Add or update API schema for an endpoint | create_endpoint.py --schema-file, manage_endpoint.py update --schema-file |
references/agentic-endpoints.md |
| Manage dashboard/platform control plane with PAT-backed MCP access or owner-linked dashboard API keys | manage_campaign.py, manage_endpoint.py, manage_webhook.py, plus Singularity MCP tools such as list_my_endpoints, list_my_campaigns, create_campaign, update_campaign, update_endpoint, list_my_products, update_product, set_webhook, remove_webhook, request_endpoint_creation_payment |
references/mcp-control-plane.md, references/agentic-endpoints.md, references/marketplace.md |
| Configure/verify webhooks | manage_webhook.py, verify_webhook_payment.py |
references/webhooks-verification.md |
| Register/discover/manage/rate agents (ERC-8004/Solana-8004) | register_agent.py, list_agents.py, list_my_endpoints.py, update_agent.py, submit_feedback.py |
references/agent-registry-reputation.md |
| Human-backed agent wallet benefits (World AgentKit) | pay_base.py, discover_marketplace.py |
references/agentkit-benefits.md |
| Support and buyer/seller messaging | support_auth.py, support_threads.py, xmtp_support.mjs |
references/xmtp-support.md |
| Use OpenWallet / OWS as an optional wallet backend | ows_cli.py |
references/openwallet-ows.md, references/pay-per-request.md, references/payment-signing.md |
| Stake/unstake/claim $SGL, read staking position/analytics | stake_sgl.py |
references/staking.md |
Quick Start
1) Install Skill Dependencies
pip install -r {baseDir}/requirements.txt
2) Choose Wallet Mode
Option A: private keys
export PRIVATE_KEY="0x..."
export WALLET_ADDRESS="0x..."
# Solana optional
export SOLANA_SECRET_KEY="<your-solana-secret-key>"
Option B: Coinbase AWAL
# Install Coinbase AWAL skill (shortcut)
npx skills add coinbase/agentic-wallet-skills
export X402_USE_AWAL=1
Option C: OpenWallet / OWS
npm install -g @open-wallet-standard/core
export OWS_WALLET="hackathon-wallet"
Use private-key m
Установить x402-layer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashWebFetchFAQ
Что делает скилл x402-layer?
x402-layer helps agents pay for APIs with USDC, deploy monetized endpoints, manage credits/webhooks/marketplace listings, and handle wallet-first ERC-8004 registration/discovery/management/reputation on Base, Ethereum, Polygon, BSC, Monad, and Solana. Optional credentialed flows may use private keys, Solana signer keys, endpoint API keys, PATs, AWAL, or OWS depending on the exact runbook; read-only discovery requires no secrets. Only ask for or use privileged credentials after choosing a runbook that actually needs signing or owner-scoped writes. Use this skill when the user asks to "create x402 endpoint", "deploy monetized API", "pay for API with USDC", "check x402 credits", "consume API credits", "list endpoint on marketplace", "buy API credits", "topup endpoint", "browse x402 marketplace", "plan a flow of x402 services", "set up webhook", "receive payment notifications", "manage endpoint webhook", "verify webhook payment", "verify payment genuineness", "integrate crypto payments into my app", "add USDC payments to my platform", "sell with x402", "build a paywall with webhooks", "register ERC-8004 agent", "register Solana 8004 agent", "submit on-chain reputation feedback", "rate ERC-8004 agent", "use World AgentKit", "unlock human-backed agent wallet discount", "check if an endpoint has an AgentKit benefit", "add API schema to endpoint", "document my API routes", "auto-detect OpenAPI schema", "open support chat", use "Coinbase Agentic Wallet (AWAL)", "OpenWallet", "OWS", "openwallet.sh", or use optional Singularity MCP access with a dashboard PAT to manage x402 Singularity Layer operations on Base, Ethereum, Polygon, BSC, Monad, or Solana networks. Also use this skill to stake $SGL agentically: "stake SGL", "stake $SGL", "unstake SGL", "claim staking rewards", "check my staking position", "stake to run a node", "agentic staking" — sign and submit on-chain Solana staking transactions with a wallet keypair.
Как установить скилл x402-layer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл x402-layer запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic