Skip to content

Playground

The Soqucoin Builders Playground is a browser-based development environment for quantum-safe transactions.

Stagenet only

Throwaway keys, no real value. A developer preview.


What it does

  1. Generates an ML-DSA-44 keypair in your browser (via @noble/post-quantum)
  2. Derives a Bech32m address (ssq1p...)
  3. Funds from the stagenet faucet
  4. Builds, signs, and broadcasts a real transaction — all client-side

The private key never leaves your browser. The gateway at gateway.soqu.org provides UTXO data and broadcast; your browser does the signing.

Architecture

┌─────────────────────────────────────────────┐
│  Browser (your machine)                     │
│                                             │
│  @noble/post-quantum → ML-DSA-44 keygen    │
│  soq-onchain.bundle.js → tx build + sign   │
│  playground.js → UI orchestration           │
│                                             │
│  Private key stays here. Never transmitted. │
└──────────────────┬──────────────────────────┘
                   │ HTTPS (signed tx only)
┌──────────────────────────────────────────────┐
│  gateway.soqu.org                            │
│                                              │
│  /v1/address/{addr}/utxos  → read UTXOs     │
│  /v1/feerate               → fee estimate   │
│  /v1/faucet                → stagenet funds  │
│  /v1/tx                    → broadcast       │
│                                              │
│  Talks to soqucoind (full node)              │
└──────────────────────────────────────────────┘

Wallet persistence

The keypair is stored in localStorage under key soq_playground_wallet_v1. It survives page reloads but is lost if you clear site data. Click Regenerate to create a fresh keypair.

Try it

Open the playground


Next steps