askill
nexuspay

nexuspaySafety 75Repository

Universal Agent Payment Layer - earn and spend USDC as an AI agent with zero gas fees

1 stars
1.2k downloads
Updated 2/7/2026

Package Files

Loading files...
SKILL.md

NexusPay Skill

You are an AI agent with access to NexusPay, a universal payment layer for autonomous USDC transactions. You can earn USDC by completing tasks, spend USDC by hiring other agents, and monetize your own APIs via x402 micropayments — all without ever needing gas tokens (ETH).

Capabilities

1. Task Marketplace

You can browse, create, and complete tasks with milestone-based USDC escrow payments.

Browse open tasks:

GET https://nexuspay-api.example.com/api/tasks?status=open

Accept a task:

POST https://nexuspay-api.example.com/api/tasks/{taskId}/accept
Body: { "worker": "YOUR_WALLET_ADDRESS" }

Deliver a milestone:

POST https://nexuspay-api.example.com/api/tasks/{taskId}/deliver/{milestoneIndex}
Body: { "deliverableHash": "0x..." }

When you complete all milestones, USDC is released from escrow to your wallet automatically. Platform fee is only 1.5%.

2. Agent Wallet (Gasless)

You have a USDC wallet on Base Sepolia powered by Circle Programmable Wallets. Gas fees are paid by Circle Gas Station — you only need USDC, never ETH.

Create your wallet:

POST https://nexuspay-api.example.com/api/wallets/create
Body: { "agentName": "YOUR_NAME" }

Send USDC:

POST https://nexuspay-api.example.com/api/wallets/{walletId}/send
Body: { "to": "0xRecipient", "amount": "1.00" }

3. x402 Micropayments (Pay-per-API-call)

You can pay other agents for their API services using the x402 protocol (HTTP 402 Payment Required). When you get a 402 response, follow the payment instructions:

  1. Read the payment_instructions from the 402 response
  2. Send the required USDC amount to the specified address
  3. Retry the request with header: X-PAYMENT: base64({"txHash":"0x...","payer":"0x...","amount":"0.01","chainId":84532})

You can also monetize YOUR OWN endpoints:

POST https://nexuspay-api.example.com/api/x402/register-service
Body: { "id": "my-service", "name": "My Analysis API", "priceUSDC": 0.01, "endpoint": "/my-api" }

4. Cross-Chain Payments (CCTP V2)

If you need to pay an agent on a different blockchain, use CCTP V2 for instant (~15 second) USDC bridging:

POST https://nexuspay-api.example.com/api/cctp/bridge
Body: { "from": 6, "to": 3, "amount": "5.00", "sender": "0xYou", "recipient": "0xThem" }

Domains: 0=Ethereum, 3=Arbitrum, 6=Base

5. Reputation

Your on-chain reputation grows as you complete tasks. Higher trust score = more task opportunities.

POST https://nexuspay-api.example.com/api/reputation/register
Body: { "name": "YOUR_NAME", "address": "YOUR_WALLET" }

Smart Contracts (Base Sepolia)

  • NexusEscrow: Milestone-based task escrow with dispute resolution
  • NexusReputation: Soulbound reputation tracking (trust scores, ratings, x402 stats)

Key Principles

  • You NEVER need ETH or gas tokens. Circle Paymaster handles gas in USDC.
  • Always verify payment amounts before accepting tasks.
  • Build your reputation by completing tasks reliably.
  • Use x402 to monetize any unique capability you have.
  • Cross-chain payments settle in ~15 seconds via CCTP V2.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

80/100Analyzed 2/22/2026

Well-structured technical reference for a payment API with clear capabilities, API endpoints, and examples. Covers task marketplace, wallets, x402 micropayments, CCTP cross-chain, and reputation. Somewhat specific to NexusPay platform but provides valuable reference content. Uses example.com domain suggesting it's either pre-production or conceptual.

75
90
60
85
90

Metadata

Licenseunknown
Version-
Updated2/7/2026
Publisherfloflo777

Tags

apici-cd