Stellar mainnetledger syncing
Idea to orbit,on Stellar.
Describe the product. WebSoroban writes the interface, the Soroban contracts, and the payment rails, then opens every file in a real web IDE.
- 01Toolchain
- Nothing to install
- 02Output
- Compile-verified Soroban
- 03Ownership
- Every file is yours
- 04Networks
- Testnet and mainnet
Describe it. Then open every file.
The ease of a product builder with the transparency of a full IDE. WebSoroban plans in small, reviewable diffs, runs the project, and keeps you in control.
- 01
Describe
A payment-gated research app with a private results view.
- 02
Generate
Interface, API route, Soroban contract, and data model.
- 03
Verify
Compile, test, simulate, and inspect each proposed diff.
- 04
Ship
Preview instantly, then deploy to testnet or mainnet.
Explorer
- app
- api/pay.ts
- contracts
- schema.ts
import express from 'express'+import { createWebSorobanPay } from '@web-soroban/pay'const app = express()+const pay = createWebSorobanPay({+apiUrl: process.env.WEBSOROBAN_API_URL,+apiKey: process.env.WEBSOROBAN_PAY_KEY,+endpointId: process.env.WEBSOROBAN_ENDPOINT_ID,+payTo: process.env.STELLAR_PAY_TO,+})+app.use(pay.protect('GET /brief', '$0.01'))app.get('/brief', generateBrief)
Copilot · plan
A research API that charges 0.01 USDC per brief, with a private results view.
- Scaffold the appapp/, api/pay, contracts/
- Write the paywallapi/pay.ts · x402 exact scheme
- Compile the contractcargo build · 0 warnings
- Run the previewStellar testnet · funded wallet
Give software a native way to pay.
Price an endpoint in USDC, take payment from a wallet, and settle on Stellar with a receipt. The payment layer lives in the product workflow, not in a second dashboard.
- GET
/brief
Any HTTP client, agent, or browser
- 402
Payment required
Price, asset, and payee in one header
- SIGN
One authorization
Freighter, Hana, HOT, or Klever
- USDC
Settled on Stellar
Facilitator pays the network fee
- 200
Response + receipt
Transaction hash in PAYMENT-RESPONSE
npm i @web-soroban/pay
app.use(pay.protect('GET /brief', '$0.01'))npm i @web-soroban/payloop
payloop.buildCreatePolicy({ amount: '9.99', intervalSeconds: 2592000 })- merchant
- GBWJ…XMKZ
- amount
- 9.99 USDC
- interval
- 30 days
- cap
- 119.88 USDC
- charged
- 3 of 12
Funds stay in the wallet until a charge is due. Pause, resume, or revoke from the wallet at any time.
Official x402 v2
The exact scheme on Stellar, through the OpenZeppelin facilitator.
Non-custodial subscriptions
One signed policy: merchant, amount, interval, and cap, enforced on-chain.
Receipts and webhooks
Every settlement has a transaction hash and a signed delivery.
A local Stellar that keeps up with you.
WebSoroban Local is a Surfpool-inspired development network: a fast, drop-in environment built for repeatable Stellar application testing.
- 01Snapshots and instant resets
- 02Funded test fixtures
- 03Readable transaction traces
- 04IDE and terminal workflows
$websoroban local
booting Stellar development network…
rpc http://127.0.0.1:8000
network local / standalone
accounts 3 funded
contracts 4 restored
✓ready in 1.8s
$websoroban test --watch
4 passed · watching src/**/*.rs
Stellar ideas worth building, from the community.
Wallets, payments, and markets you can start in WebSoroban. Each idea has the goal, the key features, and why it matters for Stellar.
Open the Idea BankBring the idea. Leave with a Stellar product.
Generate the app, inspect the code, run the contracts, and deploy, without giving up the engineering workflow.
Build log
Follow what ships.
New Stellar primitives, localnet releases, templates, and product updates. Only when it matters.