x402_svm 0.3.0
x402_svm: ^0.3.0 copied to clipboard
SVM blockchain implementation of the x402 protocol.
0.3.0 #
- Breaking Change: Introduced
SolanaClusterandSolanaNetwork(CAIP-2 compliant) for identifying Solana networks. - Added
ExactSvmSchemeServerfor server-side verification of SPL Token transfers. - Updated
ExactSvmSchemeClientto conform to the newNetworkmodel. - Updated to
x402_core: ^0.3.0.
0.2.0 #
- Updated
SvmSignerto support the newSignedPaymentreturn type. - Refactored
SvmSignerto delegate toExactSvmSchemeClient. - Added more factory methods to
SvmSigner:fromPrivateKeyHex,fromPrivateKeyBytes,fromMnemonic, andcreateRandom. - Enhanced
ExactSvmSchemeClientwith network format validation. - Improved
SvmTransactionBuilderwith better amount validation and custom compute budget instructions (matching reference implementation). - Made
DecodedTransactionpublic 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
SvmSignerfor Solana and SVM-compatible chains. - Implemented
ExactSvmSchemeClientsupporting SPL Token transfers. - Added
SvmTransactionBuilderfor constructing and verifying Solana transactions.