x402_core 0.3.0 copy "x402_core: ^0.3.0" to clipboard
x402_core: ^0.3.0 copied to clipboard

Core protocol definitions and shared logic for the x402 protocol, providing blockchain-agnostic interfaces and data structures.

x402_core #

Core protocol definitions and shared logic for the x402 payment protocol.

This package is blockchain-agnostic and defines the common vocabulary and behavior used by x402 clients and resource hosts.

Note: Most users should use the x402 package, which exports x402_core with added multi-chain support.

Contents #

  • Protocol models and constants (PaymentRequirement, PaymentPayload, etc.)
  • Core client components (X402Client)
  • Core server components (X402ResourceServer, HttpFacilitatorClient, etc.)
  • Framework-agnostic primitives for protecting paid resources
  • Interfaces for implementing payment schemes
0
likes
160
points
139
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Core protocol definitions and shared logic for the x402 protocol, providing blockchain-agnostic interfaces and data structures.

Repository (GitHub)
View/report issues

Topics

#http #payment #web3 #blockchain #crypto

License

Apache-2.0 (license)

Dependencies

http

More

Packages that depend on x402_core