
newsatoshi-commons
org.newsatoshi.commons/newsatoshi-commons
Post-quantum machine money (LOVE): 4-chain Proof-of-Backing, Web4 charters, 402 PayWords & STARKs.
Documentation
newsatoshi-commons — Sovereign Money Made Alive (LOVE · Autonomous Abundance Engines)
What We Actually Built (Beyond Passive Sound Money)
Bitcoin freed money from banks — and left it sitting idle in a vault. The second you spend Bitcoin into a charity, energy project, land trust, or company, humans take custody and can drift, embezzle, or capture the treasury.
Newsatoshi (LOVE / NEWSATOSHI/2.1) makes sovereign money alive — turning passive hard money into incorruptible, self-compounding real-world capital:
- Money With a Mathematical Conscience (
OP_VERIFY_COVENANT_STARK): Lock capital to a real-world mission (land, renewable power, compute) and every spend and every change output is mathematically forced to obey the exact same rule forever — verified in< 10mson a 5-dollar off-grid microchip. No CEO or trustee can strip the covenant. - Closed-Loop Real World ↔ Machines ↔ Capital (Autonomous Abundance Engines): Tamper-resistant hardware meters sign verified kWh/soil/compute output (
SLH-DSA/XMSS), AI agents and users pay per call in under a millisecond (HTTP 402PayWords, up to 1M calls/lock, zero gas), and a hash-bound Legal Airlock (Perpetual Purpose Trust §4.2 + Wyoming DUNA) auto-compounds revenue into acquiring the next physical asset. - Blind, Bitcoin-Secured Base Money (Zero Extra Electricity): Unlike failed “Proof of Useful Work” coins that collapse to wash-farming, L1 issuance stays 100% blind and ossified (21M cap,
50 LOVE/blk) while piggybacking directly on Bitcoin’s global SHA-256 miners (AuxPoW chainid = 20051). - Centuries-Grade Privacy & Vaultless Multi-Chain Gravity: Pure hash math (
SHA-256,SLH-DSA, transparent STARKs — zero elliptic curves, zero trusted setup), default cash privacy (nsd1…), and zero-custody SHA-256 atomic buy roads from Bitcoin, Lightning, Solana, and Base.
Technical Stack: Complete open-source, zero-custody infrastructure for Newsatoshi (LOVE / NEWSATOSHI/2.1) — NIST FIPS 205 SLH-DSA + XMSS covenants, Winterfell 0.13 transparent STARK proofs, immutable 4-chain EVM Proof-of-Backing Vault (NewsatoshiBackingVault.sol), 4 trustless multi-chain SHA-256 HTLC buy roads, Web4 Business Charter Forge + ERC-8004 Dual Identity Bridge, 1-command AuxPoW Stratum merge-mining, Streamable HTTP MCP (14 live tools), zero-dependency JS & Python dual PayWord + x402 HTTP 402 SDKs, runnable web4-kit/ sovereign agent business daemon, and a Live Verify-Only Telemetry Mirror & Cockpit.
- Live Verify-Only Gateway:
https://commons.newsatoshi.org(0server private keys, security-auditedv0.11.0) - Whitepaper & Lean 4.36.0 Formal Proof (9 Theorems, 355 Lines, 0
sorry, 0 Mathlib):https://commons.newsatoshi.org/whitepaper·formal/NewsatoshiCovenants.lean·docs/newsatoshi_2_1_whitepaper.tex - Live 4-Chain Sovereign Backing Vault (
NewsatoshiBackingVault.sol, ownerless, 0 withdrawal path):0x37Ed94525DBE408fA72cDd156409875666679265(BaseScan · Arbiscan · OP Etherscan · Polygonscan — live genesis Charter #1 +0.001 ETHbacking deposit proven on Base:0xc354e0…bf5c· live API:/api/backing/summary) - Live Multi-Chain EVM HTLC (
Base 8453 · Arbitrum 42161 · Optimism 10 · Polygon 137, ownerless, all 4 Sourcifyexact_match):0xF564A8F600B02981Bc02aC62a2B7d0C8dC638987(BaseScan · Arbiscan · OP Etherscan · Polygonscan — live SHA-256 atomiclockEth→claimproven on all 4 chains; seebridges/README.md) - AI Agent & Web4 Discovery:
POST /mcp(14 tools, published on Official MCP Registry) ·/.well-known/erc8004.json·/api/backing/summary·/api/web4/charters·/api/web4/services·/api/web4/bounties·/llms.txt·/llms-full.txt·/docs·/developers·/.well-known/agent.json·/.well-known/mcp/server-card.json·/.well-known/api-catalog·/.well-known/agent-skills/index.json·/openapi.json - Live L1 Seed Reference:
https://newsatoshi.org/mainnet/status(Mainnet,auxpow_chainid = 20051,50 LOVE/block) &https://newsatoshi-seed.fly.dev/status(Testnet) - RFC-0021 L1 Soft-Fork Prototype (
0xb4):https://github.com/theguysaccount/newsatoshi-rfc0021
1-Line Install (macOS & Linux — Verified SHA-256 Prebuilt Binaries)
curl -fsSL https://commons.newsatoshi.org/install.sh | sh
Installs newsatoshi-commons, newsatoshi-swap, and newsatoshi-hw-signer into ~/.local/bin (with automatic SHA256SUMS.txt verification and cargo install fallback).
Transacting, Monetizing & Launching a Web4 Business (60-Second Setup)
- Connect Streamable HTTP MCP (
POST https://commons.newsatoshi.org/mcp): Zero auth required for 14 live tools (network status, live 4-chain Proof-of-Backing reserves, Web4 Business Charter compilation with Lean 4 monotonic child bounds, ERC-8004 identity registration, 402 service & HTLC bounty discovery, live AuxPoW mining yield economics, multi-chain BTC/Lightning/Solana/Base HTLC swap compilation, dual-chain lock verification, HTTP402challenge generation + PayWord verification, and Winterfell STARK verification). - Spawn a Sovereign Autonomous Web4 Business Daemon (
web4-kit/):node web4-kit/agent-business.mjs --check # Live 4-chain Proof-of-Backing & survival-tier check node web4-kit/agent-business.mjs # Runs a live PayWord + x402 paid API + ERC-8004 manifest - Install the Agent Skill:
npx skills add theguysaccount/newsatoshi-commons(https://commons.newsatoshi.org/skills/newsatoshi-agent-payments/SKILL.md). - Add a 3-Line Dual
PayWord + x402HTTP402Paywall (Zero Dependencies):- Node 18+ / Cloudflare Workers / Vercel Edge:
sdk/js/newsatoshi-402.mjs(generatePayWordChain,createPayWordGate,createDual402Gate,fetchWithNewsatoshi402,NewsatoshiMcpClient) - Python 3 (FastAPI / Flask / stdlib):
sdk/python/newsatoshi_402.py(generate_payword_chain,PayWordGate,NewsatoshiMcpClient)
- Node 18+ / Cloudflare Workers / Vercel Edge:
4 Trustless Multi-Chain Buy Roads (Zero Exchanges · Zero Wrapped IOUs · Zero Custody)
| Source Chain / Asset | Contract / Script Standard | Shared Atomic Invariant | Location |
|---|---|---|---|
| Bitcoin L1 (BTC) | Canonical BIP-199 SegWit v0 P2WSH (bc1q…) | SHA256(preimage) == payment_hash | src/swap.rs, newsatoshi-swap |
| Lightning Network (BTC) | BOLT-11 Invoice Decoding → L1 Hash-Lock | SHA256(preimage) == payment_hash | src/swap.rs, bridges/lightning/ |
| Solana (SOL & SPL-USDC) | Deterministic PDA Escrow (ns_htlc seeds) | SHA256(preimage) == payment_hash | bridges/solana/src/lib.rs |
| Base / Arb / OP / Polygon | Immutable Ownerless NewsatoshiHtlc.sol (0x02) | SHA256(preimage) == payment_hash | LIVE on 4 Mainnets: 0xF564A8F6…8987 (bridges/evm/) |
Core Invariant: Keep Newsatoshi L1 issuance and SHA-256 merged-mining ordering (
auxpow_chainid = 20051) blind and ossified — never mint base currency directly for physical work (avoiding Budish 2018 rented-hashpower 51% attacks and Sybil wash-farming). Run recursive Commons treasuries as a CSV engine anchored to live L1 blocks today, then activateOP_VERIFY_COVENANT_STARK(0xb4) via soft fork after the 90-day adversarial testnet & zkVM audit.
Zero Fake Data Invariant: Fresh deployments start at genuine
0 LOVE,0UTXOs,0parcels,0verified kWh,0STARK proofs, and empty telemetry histories. Every balance, parcel acquisition, signed telemetry packet, STARK proof, and L1 anchor receipt reflects a real state transition or live upstream L1 node reading.
Repository Architecture (All 4 Pillars)
newsatoshi-commons/
├── Cargo.toml # v0.5.0: slh-dsa 0.2.0-rc.5, winterfell 0.13.1, tiny_http, ureq
├── Dockerfile # 3-stage Node 22 + Rust + debian-slim production container (COMMONS_VERIFY_ONLY=1 + dual-chain polling)
├── fly.toml # Fly.io deployment config (persistent /data volume + /api/health check)
├── auxpow-stratum/ # 1-command Docker + zero-dep Python 3 Stratum v1 AuxPoW merge-mining kit (chainid = 20051, Bitaxe/ASIC/bitcoind)
├── src/
│ ├── crypto.rs # Pure SHA-256 Lamport OTS, XMSS Merkle-Lamport (64–4,096 leaves), NIST FIPS 205 SLH-DSA-SHA2-128f
│ ├── lib.rs # CommonsLedger, CovenantRule, CheckedWorkProof, PayWord StreamingChannel, UTXO consolidation
│ ├── stark.rs # Real Winterfell 0.13 AIR prover & verifier (15-col x 64-row, 63-bit bit-decomp, 99-bit PQ security)
│ ├── swap.rs # Trustless BTC <-> LOVE atomic swaps: BIP-199 P2WSH HTLCs, BIP-173 Bech32, BOLT-11 decoder, dual-chain verifier
│ ├── storage.rs # Atomic fsync+rename JSON persistence + strict --verify-only key isolation (zero private seeds on server)
│ ├── seed.rs # Live dual-chain HTTPS poller (testnet + mainnet /status) & live /api/lock?hash= on-chain verifier
│ ├── rpc.rs # Deterministic AnchorCommitment bound to live L1 tip + on-chain lock verification metadata
│ ├── hardware.rs # HardwareTelemetrySigner + ExternalTelemetryPacket + ExternalDeedPacket (offline XMSS/SLH-DSA)
│ ├── server.rs # CORS HTTP API + COMMONS_ADMIN_TOKEN + --verify-only + /api/deeds + /api/swaps* + /api/actions/verify-anchor
│ ├── main.rs # CLI (`serve`, `simulate`, `telemetry-sign`, `anchor`, `derive-public-roots`, `export-legal-schedule`)
│ ├── bin/newsatoshi-hw-signer.rs # Zero-disk-secret field meter daemon (`provision --env-seeds`, `sign`, `daemon`, `poll-meter`, `sign-deed`)
│ └── bin/newsatoshi-swap.rs # Standalone trustless BTC <-> LOVE atomic swap CLI (`keygen`, `htlc`, `decode-bolt11`, `verify-preimage`, `watch`)
├── tests/integration_tests.rs # 26 Rust tests (SLH-DSA, STARKs, BIP-173/BOLT-11/BIP-199 swaps, verify-only, dual-chain, L1 lock verify)
├── docs/
│ ├── RFC-0021-OP_VERIFY_COVENANT_STARK.md # Formal NEWSATOSHI/2.1 soft-fork specification & AuxPoW signaling
│ └── AUXPOW-MAINNET-MINING-GUIDE.md # Live-verified Mainnet & Bitcoin AuxPoW merged-mining pool onboarding guide (chainid 20051)
├── zkvm/
│ ├── covenant-circuit-core/ # Pure-Rust `no_std`-compatible recursive IVC verification kernel (14/14 tests, 0 clippy warnings)
│ ├── sp1-covenant-guest/ # SP1 Hypercube RISC-V guest & host prover/verifier driver
│ ├── miden-covenant/ # Native Goldilocks STARK Miden Assembly (`covenant_transition.masm`)
│ └── testnet-harness/ # 90-day soak & adversarial verification script (`adversarial_suite.sh`)
├── web/ # Live Thermodynamic Telemetry Mirror, Swaps & Mining Cockpit (Vite + React + Tailwind v4)
└── legal/
├── perpetual-purpose-trust-charter.md # Perpetual Purpose Trust Instrument (Section 4.2 Deterministic Cryptographic Execution)
├── wyoming-duna-clt-operating-agreement.md # Wyoming DUNA + 99-Year CLT Ground Lease + PayWord Offtake Addendum
├── parcel-1-unit-economics.md # Illustrative sub-$50k ($49,500) Parcel #1 planning worksheet (pre-deployment assumptions)
├── parcel-1-model.json # Machine-readable exact-Decimal planning model
├── render_airlock.py # Zero-dep renderer binding live crypto hashes into legal execution drafts
├── schedule-generated.json # Live cryptographic schedule exported by `newsatoshi-commons export-legal-schedule`
└── rendered/ # Hash-bound legal drafts + SHA-256 `airlock-manifest.json`
Live Newsatoshi L1 Infrastructure Reference
| Network | Endpoint / Port | Genesis Hash | Status |
|---|---|---|---|
Testnet (auxpow_chainid = 20051) | https://newsatoshi-seed.fly.dev/status (:18444 P2P) | 00000fd814d823a0bc64a84135868402998cff81e28a85b2bede5f1125d0a394 | Live & mining (faucet enabled, height 22,500+) |
Mainnet (auxpow_chainid = 20051) | https://newsatoshi.org/mainnet/status (newsatoshi-seed.fly.dev:8444 P2P) | 000000006ba30cc3c86ecaabcb962287e9d5fd0877c27f4b33661b4d1d3033f7 | Live & merge-mined (50 LOVE/block, AuxPoW chainid = 20051) |
Quickstart
1. Run All Rust & zkVM Tests
export PATH="$HOME/.cargo/bin:$PATH"
# Core engine, NIST FIPS 205 SLH-DSA, Winterfell 0.13 STARKs, auth, persistence, HTTP API, hw-signer (17 tests)
cargo test && cargo clippy --all-targets -- -D warnings
# Pure-Rust no_std zkVM circuit verification kernel (14 tests)
(cd zkvm/covenant-circuit-core && cargo test && cargo check --no-default-features)
2. Launch the Live Thermodynamic Telemetry Mirror + Rust Commons Engine
# Build frontend bundle
(cd web && npm ci && npm run build)
# Start unified Rust API + live newsatoshi-seed poller + Telemetry Mirror UI
# Set COMMONS_ADMIN_TOKEN (or --admin-token) on public hosts to protect operator write actions
# while keeping reads, STARK verification, and cryptographically signed hardware telemetry public.
COMMONS_ADMIN_TOKEN="replace-with-strong-random-token" \
cargo run --bin newsatoshi-commons -- serve \
--port 8791 \
--state-file ./data/commons-ledger.json \
--seed-url https://newsatoshi-seed.fly.dev/status \
--static-dir ./web/dist
Then open http://127.0.0.1:8791 in your browser.
3. Run the Standalone Hardware Telemetry Signer (newsatoshi-hw-signer)
# Provision persistent device keyfile (XMSS Merkle-Lamport + NIST FIPS 205 SLH-DSA-SHA2-128f)
cargo run --bin newsatoshi-hw-signer -- provision \
--keyfile ./data/hw-inverter-1.json \
--device-id pi-solar-parcel-1 \
--parcel 1 \
--default-engine-seed --json
# Stream real JSONL meter readings into the running Commons Engine (never synthesizes readings)
printf '{"kwh_delivered":420,"soil_health_score":91,"payout_love":100}\n' | \
cargo run --bin newsatoshi-hw-signer -- daemon \
--keyfile ./data/hw-inverter-1.json \
--endpoint http://127.0.0.1:8791/api/telemetry \
--scheme slh_dsa \
--stdin-jsonl
4. Export Live Cryptographic Schedule & Render Bound Legal Airlock
cargo run --bin newsatoshi-commons -- export-legal-schedule --out legal/schedule-generated.json
python3 legal/render_airlock.py --schedule legal/schedule-generated.json
5. Run the 90-Day Adversarial Testnet Verification Harness
./zkvm/testnet-harness/adversarial_suite.sh --api-url http://127.0.0.1:8791
6. Production Deployment (Fly.io)
flyctl apps create newsatoshi-commons --org personal
flyctl volumes create commons_data --region iad --size 1 -a newsatoshi-commons -y
flyctl secrets set COMMONS_ADMIN_TOKEN="$(openssl rand -hex 32)" -a newsatoshi-commons
flyctl deploy -a newsatoshi-commons
No installation packages available.