Newsatoshi Commons — Universal Interop, Stablecoin/L2 Factory, Good-Deed Vault & Private x402 MCP

v0.38.0
org.newsatoshi.commons/newsatoshi-commons Checked 1 day ago Published 1 day ago

46 zero-auth tools: Live PayWords paid API, Base/OP/Arb channels, Universal URIs & 4-chain HTLCs.

Or run the zero-install stdio MCP bridge & multi-chain CLI directly: 3. Dual-Mine Bitcoin + Mainnet v2 LOVE (AuxPoW chainid=20051, $0 Extra Electricity) - 0%-Fee Solo Pool (Bitaxe / Antminer / WhatsMiner / MRR): stratum+tcp://pool.newsatoshi.org:3333 (.rig1, pass x or d=65536/d=524288) - 1-Click Umbrel Community App Store: https://github.com/theguysaccount/newsatoshi-umbrel-store - 1-Command Docker / Start9 / Public Pool / CKPool Dual Merge-Mining Kits: auxpow-stratum/ (docker-compose.merge-mine.yml, umbrel/, start9/, public-pool-bridge/, ckpool-sidecar.env.example).

Summary extracted from the README.

newsatoshi-commons — Multi-Chain O(1) SHA-256 PayWords, Atomic Swaps & Post-Quantum L2 Gateway (v0.35.0)

CI Mainnet v2 MCP PayWords License: PolyForm Noncommercial 1.0.0

Zero-custody, zero-protocol-fee cross-chain payment & settlement infrastructure for autonomous AI agents, metered APIs, Bitcoin merge-miners, and post-quantum Newsatoshi (LOVE) Mainnet v2.


Live Mainnet Contracts (Ownerless · Non-Upgradeable · 0% Protocol Fee · Sourcify exact_match)

Chain CAIP-2 NewsatoshiPayWordChannel (0% Fee) SHA-256 NewsatoshiHtlc Live On-Chain Proofs
Base Mainnet eip155:8453 0x971BA814Df91c20DcA3aDd870C2B55d643965C50 0xF564A8F600B02981Bc02aC62a2B7d0C8dC638987 claim(1000): $0.0077 (770,956 gas) · Live Paid API claim(5) (75,608 gas) → FairCurvePool.injectRevenue(5000)
Optimism Mainnet eip155:10 0x3DeBB6d5ae490e6cF4F966585e000028111CF106 0xF564A8F600B02981Bc02aC62a2B7d0C8dC638987 claim(100): 125,250 gas · HTLC lock → claim
Arbitrum One eip155:42161 0x3DeBB6d5ae490e6cF4F966585e000028111CF106 0xF564A8F600B02981Bc02aC62a2B7d0C8dC638987 Deploy 0xeab6df…6fea (identical deterministic address to Optimism)
Polygon PoS eip155:137 (BackingVault + HTLC live) 0xF564A8F600B02981Bc02aC62a2B7d0C8dC638987 Sourcify exact_match + NewsatoshiBackingVault (0x37Ed…9265)
Base Fair Curve Factory eip155:8453 0xF6bE782819a8eD0D1556A8f5DC3223f9eb13a933 Live NSPAY Pool: 0xC3098ba25E39Effa63dE94EbACE6381781ad4cEd Lean 4 Theorems 10–11 (0 sorry, 0% premine, 0% platform cut)

30-Second Quickstart

1. Connect 46 Zero-Auth MCP Tools (Claude, Cursor, Codex, Antigravity, OpenClaw)

{
  "mcpServers": {
    "newsatoshi": {
      "url": "https://commons.newsatoshi.org/mcp"
    }
  }
}

Or run the zero-install stdio MCP bridge & multi-chain CLI directly:

npx -y github:theguysaccount/newsatoshi-commons help
npx -y github:theguysaccount/newsatoshi-commons inspect-channel 0x91fbe151d270ed3b4953c48a068321dfdcf1cc74704040267fdafea63be11153 --chain base
npx -y github:theguysaccount/newsatoshi-commons pay-uri 0x1744535521EB420be9700475400455a4Ad0EBEa2 10 --rail all

2. Install Zero-Dependency AI Agent Auto-Pay SDKs (JS/TypeScript + Python)

# JavaScript / TypeScript (includes full TypeScript newsatoshi-402.d.ts definitions)
npm install github:theguysaccount/newsatoshi-commons

# Python 3.9+ (pure stdlib — zero pip transitive dependencies)
pip install "git+https://github.com/theguysaccount/newsatoshi-commons.git#subdirectory=sdk/python"
import { generatePayWordChain, createAutoPayFetch } from "newsatoshi-mcp";
const wallet = await generatePayWordChain(1000, 1000);
const payFetch = createAutoPayFetch({ wallet, chain: "base", channelId: "0x..." });
const res = await payFetch("https://commons.newsatoshi.org/api/v2/paywords/try-402", { method: "POST" });
  • Runnable Starters: examples/cloudflare-worker-paywords, examples/nextjs-vercel-ai-agent, examples/fastapi-langchain-agent.
  • Live Paid Production Micro-APIs ($0.001 USDC via Base/Optimism/Arbitrum PayWords, 1–2 µs verify):
    • POST https://commons.newsatoshi.org/api/v2/paid/evm-audit-batch
    • POST https://commons.newsatoshi.org/api/v2/paid/tx-verify-batch
    • POST https://commons.newsatoshi.org/api/v2/paid/defi-quote-bundle
    • Live telemetry: GET https://commons.newsatoshi.org/api/v2/paid/status · Discovery: GET https://commons.newsatoshi.org/.well-known/x402

3. Dual-Mine Bitcoin + Mainnet v2 LOVE (AuxPoW chainid=20051, $0 Extra Electricity)

  • 0%-Fee Solo Pool (Bitaxe / Antminer / WhatsMiner / MRR): stratum+tcp://pool.newsatoshi.org:3333 (<74char_ns1_address>.rig1, pass x or d=65536/d=524288)
  • 1-Click Umbrel Community App Store: https://github.com/theguysaccount/newsatoshi-umbrel-store
  • 1-Command Docker / Start9 / Public Pool / CKPool Dual Merge-Mining Kits: auxpow-stratum/ (docker-compose.merge-mine.yml, umbrel/, start9/, public-pool-bridge/, ckpool-sidecar.env.example).

Build & Verify All 81 Automated Tests Locally

cargo test && cargo clippy --all-targets -- -D warnings       # 52 Rust unit + integration tests
node --test sdk/js/test_newsatoshi_402.mjs                    # 9 JS SDK tests (incl. 1M-tick benchmark)
python3 -m unittest discover -s sdk/python -p "test_*.py"     # 9 Python SDK tests
python3 -m unittest discover -s auxpow-stratum -p "test_*.py" # 11 Stratum AuxPoW ASIC tests

Zero Fake Data Guarantee: Fresh deployments start at genuine 0 counters and empty ledgers. Every chain height, pool worker, Fair Curve balance, PayWord channel, HTLC preimage, and STARK proof comes directly from live RPCs or deterministic cryptographic verification.