Nethereum x402 Payments

•
2.3k
•

Implements HTTP 402 crypto payments and pay-per-request API monetization for .NET applications using Nethereum and USDC.

The x402-payments skill enables .NET developers to seamlessly integrate the x402 protocol (HTTP 402) into their applications, facilitating pay-per-request monetization using EIP-3009 USDC authorizations. It provides automated client-side payment signing and server-side endpoint protection through middleware, allowing for a gasless user experience where facilitators or receivers handle on-chain settlement. This skill is ideal for developers building premium APIs, micro-payment systems, or decentralized service gateways within the Ethereum ecosystem using C# and .NET.

主な機能

01Automated HTTP 402 payment flow with X402HttpClient
02ASP.NET Core middleware for route-based endpoint protection
03Configurable payment models (Transfer and Receive) for flexible gas management
04Cross-chain support for Ethereum, Base, Polygon, Arbitrum, and Optimism
05Gasless EIP-3009 USDC transfer authorizations for better UX
062,253 GitHub stars

ユースケース

01Monetizing premium REST APIs with pay-per-request cryptocurrency payments
02Implementing automated machine-to-machine payment protocols in .NET microservices
03Building subscription-free digital content gateways using USDC on Layer 2 networks