x402_svm 0.2.0 copy "x402_svm: ^0.2.0" to clipboard
x402_svm: ^0.2.0 copied to clipboard

SVM blockchain implementation of the x402 protocol.

0.2.0 #

  • Updated SvmSigner to support the new SignedPayment return type.
  • Refactored SvmSigner to delegate to ExactSvmSchemeClient.
  • Added more factory methods to SvmSigner: fromPrivateKeyHex, fromPrivateKeyBytes, fromMnemonic, and createRandom.
  • Enhanced ExactSvmSchemeClient with network format validation.
  • Improved SvmTransactionBuilder with better amount validation and custom compute budget instructions (matching reference implementation).
  • Made DecodedTransaction public for better testability and verification.
  • Added extensive validation tests for signers and transaction building.

0.1.0 #

  • Initial release of the SVM implementation for x402.
  • Implemented SvmSigner for Solana and SVM-compatible chains.
  • Implemented ExactSvmSchemeClient supporting SPL Token transfers.
  • Added SvmTransactionBuilder for constructing and verifying Solana transactions.
0
likes
160
points
76
downloads

Publisher

unverified uploader

Weekly Downloads

SVM blockchain implementation of the x402 protocol.

Repository (GitHub)
View/report issues

Topics

#solana #payment #web3 #blockchain #http

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

convert, http, solana, x402_core

More

Packages that depend on x402_svm