Repository navigation
radius-sdk@0.8.0
·
5 commits
to main
since this release
Minor Changes
- 5644f50: Base and Base Sepolia default to the Radius facilitators (
facilitator.radiustech.xyz,facilitator.testnet.radiustech.xyz), as the Radius platform catalog names them; Base Sepolia no longer defaults to x402.org and Base mainnet no longer needs a named facilitator. Presets carry their mainnet/testnetcounterpart(counterpartOf()), andPRESET_NAMES/NETWORK_ALIASESlist the preset ids and aliases, soNetworkNamefollows the preset list. The CLI deriveswallet pay's networks from the presets:RADIUS_<PRESET>_RPC_URLandrpcUrls["<preset>"]set the RPC of every non-Radius preset (RADIUS_BASE_RPC_URLandRADIUS_BASE_SEPOLIA_RPC_URLare unchanged).
Patch Changes
- 0f77aa6: Sellers no longer declare
eip2612GasSponsoringin a 402 whose offers are all EIP-3009 (the Radius default since 0.4.0): EIP-3009 needs no approval, so there is nothing to sponsor. The declaration stays when the 402 carries a Permit2 offer whose facilitator supports sponsoring, andgasSponsoring: truenow forces it only for Permit2 offers. Buyers seePaymentOffer.gasSponsored: falsefor such offers; payments are unchanged.