본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

nevermined-payments

aaitor 제작

Web & Frontend Development
530clawskills.sh가 보고한 다운로드 수
3스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Integrates Nevermined payment infrastructure into AI agents, MCP servers, Google A2A agents, and REST APIs.

설명

이 스킬이 하는 일

Adds Nevermined payment infrastructure to AI agents and REST APIs. Protects endpoints with the x402 HTTP payment protocol, handles credit-based billing per request, and supports subscriber flows for purchasing and consuming plans. SDKs are available for TypeScript and Python.

Handles the full x402 payment lifecycle, including token verification, credit settlement, and 402 response formatting, so developers skip building billing infrastructure from scratch.

사용 시점

  • Charging API callers per request with prepaid credit plans
  • Gating MCP server tools behind a payment plan
  • Registering an AI agent and pricing plan without writing smart contract code
  • Issuing access tokens to subscribers who purchase a plan
  • Building paid agent-to-agent task flows with the Google A2A protocol

예시 워크플로

입력

User asks: Protect my Express.js POST /chat endpoint, charge 1 credit per request

에이전트
  1. 1

    Ask for NVM_API_KEY, NVM_PLAN_ID, and target environment (sandbox or live)

  2. 2

    Generate .env template with required variables

  3. 3

    Install @nevermined-io/payments and initialize the Payments SDK

  4. 4

    Add paymentMiddleware to the Express app targeting POST /chat with 1 credit

  5. 5

    Return complete server code with x402 middleware configured

출력

Express server that returns HTTP 402 on unauthenticated requests and processes paid requests using the x402 token in the payment-signature header

요구 사항

  • NVM_API_KEY from nevermined.app
  • NVM_PLAN_ID from plan registration
  • BUILDER_ADDRESS wallet address for receiving payments

설치

clawhub install aaitor/nevermined-payments

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크