℈Scruple Docs v0.1.0-alpha.1

Scruple Documentation

A minimalist, post-quantum, CPU-mineable UTXO cryptocurrency written in pure Rust. Run a validating node, solo-mine XSL with RandomX, manage a 24-word SQIsign HD wallet, cosign native xsl2: vaults, and build against the cookie-authenticated JSON-RPC API.

Ticker XSL · symbol ℈ 1 XSL = 100,000,000 grains 5-minute RandomX blocks SQIsign Round-3 Level 1
Alpha software

Scruple is at v0.1.0-alpha.1 and is a mainnet candidate. Treat it as experimental: back up your 24-word recovery phrase offline, test on devnet or testnet first, and do not put life-changing amounts on a single machine.

Start here

Architecture at a glance

1 XSL
Fixed block subsidy
300 s
Target block time
2,048
RandomX epoch length
15
Max multisig keys

Scruple is designed around a deliberately small consensus surface: no general-purpose scripting VM, no OP_RETURN, no witness discount, and no premine. Every block pays a fixed 1 XSL subsidy forever, with difficulty recalculated per block by a 60-block LWMA and proof-of-work performed with RandomX.

Cryptography

Post-quantum signatures

SQIsign Round-3 Level 1 with 83-byte public keys and 176-byte compressed signatures. Address commitments and transaction IDs use domain-separated BLAKE3.

Consensus

Native M-of-N multisig

xsl2: outputs support up to 15 cosigners and are enforced by the signature validator rather than a script interpreter.

Network

Isolated networks

Mainnet, testnet, and devnet use distinct P2P magic, ports, genesis seeds, and coinbase maturity. Cross-network peers reject immediately.

Operations

Embedded storage and RPC

A redb-backed chainstate, undo logs, optional pruning, an optional transaction index, and a cookie-authenticated HTTP JSON-RPC server.

Quickstart

# Build both binaries (headless node/CLI and desktop GUI)
cargo build --release --workspace

# Create an encrypted HD wallet; write down the 24-word phrase offline
./target/release/scruple wallet new --wallet ./wallet.json --encrypt

# Start a local devnet node (easy mining target)
./target/release/scruple node \
  --network devnet \
  --data-dir ./data \
  --p2p 127.0.0.1:18333 \
  --rpc 127.0.0.1:18332

# Mine a block to your wallet
./target/release/scruple mine \
  --data-dir ./data \
  --rpc 127.0.0.1:18332 \
  --wallet ./wallet.json \
  --threads 2 \
  --blocks 1

# Inspect chain status (reads ./data/.cookie automatically)
./target/release/scruple info --data-dir ./data --rpc 127.0.0.1:18332
Next step

Follow the Getting Started guide for a complete two-node devnet, then read Running a Node and JSON-RPC API when you are ready to operate or build.

Documentation map

GuideWhat it covers
Getting StartedRequirements, build, devnet quickstart, first wallet, GUI launch.
Running a NodeNetwork presets, ports, peer discovery, VPS/LAN setup, pruning, txindex, cookie lifecycle.
MiningCLI and GUI solo mining, RandomX modes, payout rotation, external miner flow.
Desktop GUITabs, wallet manager, embedded node, miner, send confirmation, coin control, multisig.
WalletHD derivation, recovery, BYOE entropy, encryption, sending, fee bumps, rescan.
Multisigxsl2: vault derivation, propose/sign/finalize workflow, pending spends.
JSON-RPC APIFull method reference, auth, envelopes, errors, limits, client examples.
CLI ReferenceEvery command and flag for scruple and scruple-gui.
ProtocolConsensus constants, wire format, crypto, PoW, LWMA, genesis, transport.
SecurityThreat model, RPC hardening, backups, lockfiles, pruning caveats.
FAQ & TroubleshootingCommon errors and fixes.

Scruple elsewhere

What Scruple is not

  • Not a smart-contract platform. There is no general-purpose VM and no OP_RETURN; outputs are fixed-format address commitments and amounts.
  • Not a GPU/ASIC-first chain. Proof-of-work is RandomX, optimized for CPUs, with automatic epoch rotation and no hard forks for seed changes.
  • Not inflationary in the usual sense. Emission is a fixed 1 XSL per block forever, with no halving schedule and no premine.
  • Not a hosted service. The node, wallet, miner, and GUI are local binaries; the RPC server is plaintext HTTP and should stay bound to localhost unless you add TLS termination.

Scruple Docs · v0.1.0-alpha.1 · Mainnet candidate

Scruple is alpha software. Verify commands against --help and the protocol specification before relying on them.