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.

Explore the IDE
01Toolchain
Nothing to install
02Output
Compile-verified Soroban
03Ownership
Every file is yours
04Networks
Testnet and mainnet
01Build

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.

  1. 01

    Describe

    A payment-gated research app with a private results view.

  2. 02

    Generate

    Interface, API route, Soroban contract, and data model.

  3. 03

    Verify

    Compile, test, simulate, and inspect each proposed diff.

  4. 04

    Ship

    Preview instantly, then deploy to testnet or mainnet.

payments-appmaintestnet
api/pay.ts+9diff · proposed
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.

  1. Scaffold the appapp/, api/pay, contracts/
  2. Write the paywallapi/pay.ts · x402 exact scheme
  3. Compile the contractcargo build · 0 warnings
  4. Run the previewStellar testnet · funded wallet
8 files · 3 applied · 1 pending
02Pay

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.

  1. GET

    /brief

    Any HTTP client, agent, or browser

  2. 402

    Payment required

    Price, asset, and payee in one header

  3. SIGN

    One authorization

    Freighter, Hana, HOT, or Klever

  4. USDC

    Settled on Stellar

    Facilitator pays the network fee

  5. 200

    Response + receipt

    Transaction hash in PAYMENT-RESPONSE

01 · x402 kitlive
npm i @web-soroban/pay

app.use(pay.protect('GET /brief', '$0.01'))
02 · PayLooplive
npm i @web-soroban/payloop

payloop.buildCreatePolicy({ amount: '9.99', intervalSeconds: 2592000 })
policy #41 active
merchant
GBWJ…XMKZ
amount
9.99 USDC
interval
30 days
cap
119.88 USDC
charged
3 of 12
schedulenext in 27d

Funds stay in the wallet until a charge is due. Pause, resume, or revoke from the wallet at any time.

01

Official x402 v2

The exact scheme on Stellar, through the OpenZeppelin facilitator.

02

Non-custodial subscriptions

One signed policy: merchant, amount, interval, and cap, enforced on-chain.

03

Receipts and webhooks

Every settlement has a transaction hash and a signed delivery.

03Local

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 — zsh

$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

ledger 1283 accounts0 errors
04Idea Bank

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 Bank

Bring 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.