NEWSATOSHI.ORG │BASE USDC PAYWORDS │CONNECT │PAYWORDS │LAUNCHPAD │MINE │nsUSD │VERIFY │COMMONS
← back to terminal

O(1) SHA-256 PAYWORDS FOR STABLECOINS (0% PROTOCOL FEE)

Built for AI API Routers · Pay-Per-Crawl Publishers · MCP Tool Servers · Metered SaaS
Who clearly benefits immediately: Any organization charging $0.0001–$0.10 per HTTP call (AI inference, search APIs, web crawlers, autonomous agents). Stripe (2.9% + $0.30) makes sub-cent billing impossible, and per-call on-chain x402 burns L2 gas and leaks customer graphs on every request. Newsatoshi PayWords verifies each call with 1 SHA-256 hash (~0.013 ms, $0.000000 gas) and settles 1,000+ calls in one Base Mainnet USDC transaction via our immutable, ownerless NewsatoshiPayWordChannel.
Open 1-Click Browser Wallet PayWord Lab → Download Zero-Dep JS SDK (.mjs) Download Zero-Dep Python SDK (.py)

1. Live Cost-Savings Calculator (Exact Published Math)

Gross Monthly API Revenue—
Stripe Batched Prepaid (2.9% + $0.30/batch)—
Per-Call Base x402 (~$0.001/tx)—
Newsatoshi PayWords (Base USDC, 0% fee)—
Savings vs. Batched Stripe—
Savings vs. Per-Call Base x402—

Formula: live Base Mainnet measured claim(1000) = 770,956 gas ($0.0077 incl. L1 fee at 0.006 gwei / $0.0104 full lifecycle incl. open; tx 0xb79a3c…6256). Calculator prices stress gas conservatively at 0.01 gwei, $2,500 ETH + $0.001 Base L1 data fee per claim.

2. 3-Minute Drop-In Setup (Server Gates + AI Agent Auto-Pay Across Base, Optimism & Arbitrum)

Copy-Paste HTTP 402 PayWords Server Gate

Base Mainnet On-Chain Open & Batch Claim Commands (Foundry cast)

Zero-Dependency Single-File SDK Install (Node 18+ / Cloudflare Workers / Python 3.9+)
# JavaScript / TypeScript (npm directly from GitHub + full .d.ts types, zero dependencies)
npm install github:theguysaccount/newsatoshi-commons
# or single-file: curl -fsSL https://newsatoshi.org/sdk/newsatoshi-402.mjs -o newsatoshi-402.mjs

# Python 3.9+ (pip directly from GitHub, pure stdlib — FastAPI, LangChain, AI Agents)
pip install "git+https://github.com/theguysaccount/newsatoshi-commons.git#subdirectory=sdk/python"

2B. Live On-Chain Base Mainnet Channel Inspector

Enter any 32-byte NewsatoshiPayWordChannel ID to inspect live Base Mainnet escrow, claimed steps, and remaining USDC balance (via same-origin /api/base/channel).

2C. Live Browser Benchmark — Run 1,000 Real SHA-256 PayWord Calls on Your CPU

Zero mock numbers, zero server round-trips. Click below to generate a real CSPRNG 1,000-step SHA-256 hash chain in your browser via crypto.subtle.digest("SHA-256"), verify all 1,000 sequential O(1) API calls live on your own hardware, test replay rejection, and emit exact Base Mainnet claim(1000, w_1000) ABI calldata.

Click "Run 1,000 Real SHA-256 Calls Live" to benchmark O(1) PayWords directly in your browser (WebCrypto).

2D. 10-Second Zero-Code Paywall Proxy — Monetize ANY Existing API, LLM, or MCP Server

Zero-Dependency Reverse Proxy (newsatoshi-paywall · Zero Code Edits · 0% Fee)

Already have a FastAPI/Express/Go/Rust API, Ollama/vLLM inference server, or Streamable HTTP MCP server? Put newsatoshi-paywall in front of it with zero code edits. Automatically verifies live on-chain Base/Optimism/Arbitrum channel funding, blocks replays across restarts, and prints ready-to-run claim() + optional FairCurvePool.injectRevenue() commands at /_paywall/claim-commands:

# 1. Monetize ANY existing HTTP API / LLM / MCP server in 10 seconds (Base, Optimism, or Arbitrum One):
npx --yes -p github:theguysaccount/newsatoshi-commons newsatoshi-paywall \
  --upstream http://127.0.0.1:8000 \
  --pay-to 0xYOUR_EVM_TREASURY_ADDRESS \
  --chain base \
  --price-usdc 0.001 \
  --port 4020

# 2. Or deploy anywhere via prebuilt multi-arch Docker (amd64 + arm64 · Fly / Railway / K8s):
docker run -p 4020:4020 \
  -e PAYWALL_UPSTREAM=https://your-api.example.com \
  -e PAYWALL_PAY_TO=0xYOUR_EVM_TREASURY_ADDRESS \
  -e PAYWALL_CHAIN=base \
  -e PAYWALL_PRICE_USDC=0.001 \
  ghcr.io/theguysaccount/newsatoshi-paywall:v0.36.1

# 3. Check live earnings & copy ready-to-run single-tx claim() settlement commands:
curl -sS http://127.0.0.1:4020/_paywall/status
curl -sS http://127.0.0.1:4020/_paywall/claim-commands

# 4. Teach your coding agent (Claude Code, Cursor, Codex, Antigravity) to wire PayWords automatically:
npx skills add theguysaccount/newsatoshi-commons

3. Live On-Chain Base Mainnet Proofs & Standards

Sourcify Exact-Match Contract

Ownerless, 0% fee, non-upgradeable, fee-on-transfer & reentrancy protected.

BaseScan · Sourcify Match

Live Commercial End-to-End Proofs

1,000-call batch: open(1000) → claim(1000): $0.0077.
Live Paid API → FairCurve Dividend Flywheel: open(5) → 5 live API calls (1–2 µs) → claim(5): 75k gas → injectRevenue(5000).

x402 Spec, Audit Brief & Lean 4

x402#4494 · Wire Spec · Audit Brief · Lean 4 0 sorry.

Want a Commercial Partner License or Custom Integration? Core reference repos are PolyForm-Noncommercial-1.0.0; the wire protocol is open (x402#4494), and we grant direct commercial partner licenses for enterprise APIs and platforms: contributors@newsatoshi.org · Also need revenue-backed token launch? See Fair Curve Launchpad →