Newsatoshi Layer-2 Expansion & Perfection Layers (v0.28.3)

Hourglass Architecture: Layer 1 (newsatoshi-rfc0021, Mainnet v2 nsM2) stays minimal, pure FIPS SHA-2, and ossified. Layer 2 (newsatoshi-commons) delivers machine-speed throughput, private USD stability (nsUSD), and zero-custody escape hatches.

Live APIs: Full Markdown Spec (/l2.md) · GET /api/v2/l2/status · GET /api/v2/nsusd/state · Lean 4 Proof (11 Theorems, 0 sorry) · nsUSD Spec (/nsusd) · Whitepaper v2.2 PDF

Layer 2A — Microsecond Streaming (O(1) SHA-256 PayWords)

Layer 2B — Stable Private Value (nsUSD, RFC-0028)

Layer 2C — Shielded Rollup Batching & Winterfell STARK Conservation

Layer 2D — Unilateral L1 Escape Hatch (Zero Sequencer Custody)

Run Live Sandbox Verification via curl

# 1. Run 4-scenario adversarial nsUSD stress suite (-50% BTC crash, bank run, +40% oracle spoof, stale halt):
curl -sS -X POST https://commons.newsatoshi.org/api/v2/nsusd/simulate-stress -H 'Content-Type: application/json' -d '{"crash_pct":50}'

# 2. Run live 2,000-tx L2 PayWord + Winterfell STARK + Escape-Hatch benchmark:
curl -sS -X POST https://commons.newsatoshi.org/api/v2/l2/benchmark -H 'Content-Type: application/json' -d '{"tx_count":2000}'