Demo · UptoSettlement

Sign a ceiling. Pay only for what you use.

With UptoSettlement, the buyer signs a maximum amount once. The facilitator then settles only the real usage on Stellar (tokens generated, seconds of access, rows returned) and the contract refunds the rest in the same transaction.

Stellar testnetTest assets: PTEST and testnet USDC

Real settlements on testnet

On-chain data

settled events from the contract, read directly from the public Soroban RPC on testnet. The page checks again every 30 s while it is visible (periodic polling, not streaming). The RPC keeps about 7 days of events.

Querying testnet…

Try it yourself

Simulation or real testnet settlement

Walk through the same flow with amounts generated locally. The simulation sends no transactions; you can also settle the same usage for real on testnet, where a project-owned demo buyer signs the ceiling. The real settlements are in the section above.

  1. 1 Authorize a ceiling
  2. 2 Metered usage
  3. 3 Settlement

The buyer signs this maximum once. In the real flow it is an authorization signature over the contract. The simulation signs nothing; a real settlement is signed by the project's demo buyer, not by you.

UptoSettlement contract
CA7OYVXWPSQHXNBWJQZ7TCKQILAVBHWDAPNRJTKY66LHR5K5LFXRV6TW
Asset (PTEST)
CCK2UCUDA2CYGBHIPURM6TIXZEHULBVIGPVB2UTP3R2LCIKB3O5P723X
Asset (testnet USDC)
CBIELTK6YBZJU5UP2WWQEUCYKLPU6AUNZ2BQ4WWFEIE3USCIHMXQDAMA

Everything on this page happens on Stellar testnet. PTEST and testnet USDC are test assets with no value. Periplo does not operate on mainnet yet.

Use it from your own code