Soroban Smart Contracts · Stellar Testnet

Pay-per-request.No middlemen.Pure protocol.

HTTP 402 gateway on Stellar testnet — atomic Soroban contract payment and registry access verified by the OpenZeppelin facilitator.

Live Network Stats

Cost per request

0.01 USDC

Protected route

/api/market-data

Current phase

Ready

ProbeRequest without proof
ChallengeReceive HTTP 402
SettleSign Stellar payment
RetryAttach payment proof
UnlockReturn paid data
Controller

Query Controller

Choose a protected resource and run the full x402 negotiation flow.

Select premium resource

Wallet ready
Registry Result

Paid Payload

Simulated paid response with content reference and market fields.

Premium resource locked

Run a gated query to complete the x402 payment and unlock the selected record.

Protocol Flow

How x402 works

Three steps, fully on-chain settlement.

01

Probe

The client asks for /api/market-data without payment proof. The server returns HTTP 402 with the Stellar USDC payment requirement.

02

Settle

The x402 challenge defines the exact payment: 0.01 USDC on stellar:testnet. The client signs and submits the transaction.

03

Unlock

The client retries with proof headers. The OpenZeppelin facilitator verifies on-chain, and the protected payload is released.

Live on Testnet

Deployed Contracts

Both Soroban contracts are deployed and authorised on Stellar testnet.

DataRegistry

Admin-controlled data registry with persistent record storage and TTL extension.

AccessController

Fixed-price atomic payment contract. Token transfer and registry lookup are atomic.

Network

stellar:testnet

USDC Issuer

GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5

Facilitator

OpenZeppelin x402 Testnet