Kaspa x402

1.0.1 released · Standard and SDK · Release details

Browser Test Client

Try a payment with the 1.0.1 SDK on Testnet-10. Your browser signs and broadcasts the payment; a successful payment unlocks the protected report. Retrying reuses the same payment. Use a throwaway key and Testnet funds only. See the gateway guide.

Safety Boundary

Runtime Status

Public HTTPS pages must use the listed wss:// endpoints. Local custom endpoints require a local preview opened with ?allow-custom-endpoints=1&endpoint=...; the field must match that local or private-network endpoint.

Not loaded.
{}

Testnet Key

Import only throwaway testnet keys. Do not import a key that controls mainnet funds; the same private key can derive addresses on multiple Kaspa networks.

{}

Hash-chain exact — live Testnet payment

Generate or import a throwaway key above, fund its Testnet-10 address, and connect to a node. Fetch a quote, then pay to receive the protected report. Retry returns the same payment without another charge. The gateway runs the 1.0.1 payment runtime.

One payment increases the merchant head by the quoted price. The target fee is 0.01 KAS; small change may be included in the fee, up to 0.1 KAS total. The result shows the actual fee. If someone abandons a claimed grant, the operator resets the head manually.

Fetch a quote to check availability.
{}

Profile specification · Walkthrough

x402 Offer Builder

{}

Mock Payment Retry

Use this to rehearse the selected 402 retry envelope. Exact uses a schema-only request authorization. Batch uses a schema-only voucher signature and shows the current lane plus a partial-claim successor. These placeholders are not valid settlement evidence.

{}

Offer Compatibility Debug

Paste a PaymentRequired JSON object to see which entries are supported by this Kaspa binding and which entries a client would skip during selection.

{}

Developer Notes