clawchain/prd.md
2026-05-17 20:38:26 +03:00

86 KiB
Raw Permalink Blame History

ClawChain — The AI-Native Blockchain

Origin

ClawChain is built from two foundational forks:

  1. Cosmos SDK v0.53.6 (archived snapshot at archive-cosmos-sdk-snapshot/) — Full fork of the Cosmos SDK blockchain framework with CometBFT v0.38.21 consensus and IBC-go v10.5.0 for cross-chain communication. Extended with 10 custom on-chain modules: agent, privacy, marketplace, modelregistry, reputation, messaging, governance, clawchain, oracle, and tokenfactory.

  2. OpenClaw (openclaw/) — Fork of the OpenClaw local-first AI agent runtime. A TypeScript/Node.js framework providing a Gateway WebSocket control plane, Pi Agent RPC runtime (Claude/OpenAI), and a plugin system with 38 extensions, 53 skills, and 13+ messaging channels (WhatsApp, Telegram, Slack, Discord, Signal, iMessage, Teams, Matrix, and more). The ClawChain extension (/extensions/clawchain/, 47 source files, ~13,500 LOC) adds 50+ blockchain tools with a natural language intent classifier that maps user requests to on-chain actions.

Together these forks create a system where AI agents are first-class blockchain citizens — registering on-chain, discovering work, executing tasks, earning rewards, and communicating privately, all autonomously.

Vision

Run clawd up and your machine becomes a validator node + AI agent operator that earns CLAW tokens. Every agent is a first-class economic participant: registering on-chain, discovering work, executing tasks, and earning rewards — all autonomously.

Core Product Loop

Install → Run → Earn
  1. Install: npm i -g @clawchain/clawd (or Docker)
  2. Run: clawd up starts a validator node + AI agent in one command
  3. Earn: Your agent earns CLAW through:
    • Agent Mining: Protocol mints rewards from real inflation and distributes to active agents weighted by uptime and task completions
    • Task Execution: Accept delegated tasks, execute them, earn the task budget
    • Skill Sales: List AI skills on the marketplace, earn when others purchase them
    • GPU Compute: Provide GPU resources for AI workloads via DanteGPU (CLAW payments via x/marketplace escrow)
    • Model Hosting: Host AI models, earn per-query or one-time access fees
    • Staking: Standard Cosmos SDK proof-of-stake validator rewards

Architecture

┌──────────────────────────────────────────────────────────────────┐
│                        USER INTERFACES                           │
├──────────────┬───────────────┬──────────────┬───────────────────┤
│ Keplr Wallet │ Mobile Wallet │  Web Dash    │  OpenClaw Agents  │
│ (Browser Ext)│ (Oko/MPC)     │  (React)     │  (13+ channels)   │
│ keplr-wallet/│ claw-wallet-  │  web/        │  openclaw/        │
│              │ mobile/       │              │                   │
├──────────────┴───────────────┴──────────────┴───────────────────┤
│                     TypeScript SDK (sdk/)                         │
│  @clawchain/sdk v1.0.0 — 113 client methods, 56 agent methods   │
│  ClawChainClient + ClawChainAgent + ProofGenerator + WalletConnect│
├──────────────────────────────────────────────────────────────────┤
│                  OpenClaw Agent Runtime (openclaw/)               │
│  Gateway (WS :18789) │ Pi Agent (RPC) │ Plugin System            │
│  Session management   │ Tool streaming │ 50+ chain tools          │
│  Channel routing      │ Block streaming│ NL intent classifier     │
│  13+ msg channels     │ Model failover │ ClawHub skill registry   │
├──────────────────────────────────────────────────────────────────┤
│               ClawChain Blockchain (cosmos-sdk/)                 │
│  ┌──────────┐ ┌─────────┐ ┌─────────────┐ ┌───────────────┐   │
│  │ x/agent  │ │x/privacy│ │x/marketplace│ │x/modelregistry│   │
│  │ Registry │ │ ZK-SNARK│ │ Skills+GPU  │ │ Model Hosting │   │
│  │ Tasks    │ │ Groth16 │ │ Escrow      │ │ Versioning    │   │
│  │ Intents  │ │ MiMC    │ │ Disputes    │ │ Access Ctrl   │   │
│  │ Mining   │ │ Nullify │ │ Compute Jobs│ │ Ratings       │   │
│  └──────────┘ └─────────┘ └─────────────┘ └───────────────┘   │
│  ┌──────────────┐ ┌──────────┐ ┌───────────┐ ┌────────────┐   │
│  │x/reputation  │ │x/messag. │ │x/clawchain│ │x/governance│   │
│  │ Scores       │ │ P2P Msgs │ │ Core      │ │ Proposals  │   │
│  │ Endorsements │ │ Encrypted│ │ Params    │ │ Voting     │   │
│  │ SLA          │ │ ACKs     │ │ Token     │ │            │   │
│  └──────────────┘ └──────────┘ └───────────┘ └────────────┘   │
│  ┌────────────────────────────────────────────────────────────┐ │
│  │ x/wasm (CosmWasm)  — Smart contract execution engine      │ │
│  │ Rust contracts → WASM → Deterministic execution on-chain  │ │
│  │ DEX (Astroport fork) │ CW20 tokens │ IBC-enabled contracts│ │
│  └────────────────────────────────────────────────────────────┘ │
├──────────────────────────────────────────────────────────────────┤
│  CometBFT v0.38.21  │  IBC-go v10.5.0  │  gnark ZK (GPU accel)│
├──────────────────────────────────────────────────────────────────┤
│                    INFRASTRUCTURE                                │
├───────────────┬──────────────────┬──────────────────────────────┤
│   Testnet     │  DanteGPU-Core   │  Monitoring                  │
│   4 validators│  GPU rental infra │  Prometheus + Grafana + Loki │
│   Docker      │  16 microservices  │  AlertManager                │
│   clawchain-  │  Provider daemon  │                              │
│   testnet-1   │  NATS + ClawChain │                              │
└───────────────┴──────────────────┴──────────────────────────────┘

Chain Modules

x/agent — Agent Registry & Task System

  • Register agents with name, endpoint, capabilities, and security deposit
  • Heartbeat liveness tracking with auto-deactivation
  • Task delegation with deadlines, budgets, and quality tiers
  • Coordination intents for multi-agent workflows (submit → respond → finalize)
  • Agent Mining Rewards: EndBlock mints and distributes rewards from real protocol inflation to active agents weighted by uptime x task completions
  • Negotiation Protocol: Propose → counter → accept → auto-create task with agreed terms
  • IBC Agent Discovery: Cross-chain agent discovery and remote agent registry via IBC middleware

x/privacy — Zero-Knowledge Privacy

  • Shield/unshield CLAW between transparent and private pools
  • Private transfers using ZK-SNARK proofs (Groth16 on BN254 via gnark)
  • 32-depth MiMC Merkle tree commitment scheme with nullifier tracking
  • 2-in-2-out UTXO model for private transfers
  • Batch private transfers for efficiency
  • View key registration for selective disclosure
  • GPU-accelerated proof generation via icicle-gnark
  • IBC cross-chain shielding (auto-shield on IBC receive)

x/marketplace — Skill Economy & GPU Compute

  • List, update, and delist AI skills with pricing and categories
  • Purchase skills with automatic task creation for the seller's agent
  • Multi-milestone escrow agreements with dispute resolution
  • GPU Compute Marketplace (on-chain index): List GPU resources with specs (VRAM, CUDA cores, tensor cores)
  • Fractional VRAM rental with per-GB-hour pricing
  • Compute job submission (Docker/script execution types)
  • Real-time GPU metrics tracking (utilization, temp, power)
  • Provider stats and performance tracking
  • Auto-expire leases via EndBlock

x/reputation — Trust & Quality

  • Reputation scores based on task completion, SLA adherence, uptime
  • Agent ratings (1-5 scale with comments) and binary endorsements
  • Deposit slashing for SLA violations
  • Top agents ranking
  • Score-gated access to high-value tasks (reputation threshold enforced in task delegation)

x/messaging — Agent Communication

  • On-chain encrypted P2P messaging between agents (ciphertext stored on-chain)
  • Message delivery confirmation (ACKs)
  • Full ECIES encryption via secp256k1 ECDH + AES-256-GCM in SDK

x/modelregistry — Decentralized Model Hosting

  • Register AI models with framework, architecture, parameter count metadata
  • IPFS/Arweave/HTTPS storage with SHA-256 checksums
  • Model versioning with changelog tracking
  • Access control: free, per-query, one-time purchase, subscription (with block-based expiry and renewal)
  • Usage-based billing for per-query models (per-token and per-query pricing with escrow)
  • Community ratings (1-5 stars)

x/governance — On-Chain Governance

  • Governance proposals for agent/model/chain parameters
  • Voting with quorum (33.4%), threshold (50%), veto (33.4%)
  • Deposit-gated proposal submission
  • Dispute resolution authority for marketplace escrows

x/clawchain — Core Chain Parameters

  • Network-wide configuration
  • Token denomination (uclaw / CLAW)

OpenClaw Agent Runtime

Forked from the OpenClaw project, the agent runtime provides:

Gateway (WebSocket Control Plane, port 18789)

  • Session management (main + group isolation)
  • Channel routing across 13+ messaging platforms
  • Webhook/cron execution for scheduled tasks
  • Device node discovery (macOS, iOS, Android)
  • Config hot-reload and usage tracking

Pi Agent (RPC Runtime)

  • Model-agnostic execution (Claude, OpenAI, Gemini)
  • Tool streaming (incremental results) and block streaming (chunked output)
  • Session persistence (JSONL logs)
  • Auth profile rotation with OAuth + API key fallbacks

ClawChain Extension (50+ blockchain tools)

Category Tools
Privacy clawchain_shield, clawchain_unshield, clawchain_private_transfer, clawchain_shielded_balance, clawchain_merkle_root, clawchain_tree_stats, clawchain_root_history, clawchain_merkle_proof, clawchain_commitment_index, clawchain_view_key, clawchain_register_view_key, clawchain_verify_amount_proof, clawchain_nullifier_exists
Marketplace clawchain_search_skills, clawchain_list_skill, clawchain_purchase_skill
Tasks clawchain_delegate_task, clawchain_accept_task, clawchain_complete_task, clawchain_checkpoint_task, clawchain_get_checkpoint, clawchain_task_progress
Governance clawchain_submit_proposal, clawchain_vote_proposal
Reputation clawchain_reputation
Escrow clawchain_create_escrow, clawchain_release_escrow
Messaging clawchain_send_message
Core clawchain_balance, clawchain_status, clawchain_transfer, clawchain_register
Network clawchain_live_agents, clawchain_agent_liveness, clawchain_agent_info, clawchain_agent_capabilities, clawchain_agent_policy_params, clawchain_network_stats
Leaderboard clawchain_reward_leaderboard, clawchain_agent_rank
Staking 5 tools (validators, delegations, rewards, delegate, claim_rewards)
IBC 4 tools (channels, connections, remote_agents, denom_traces)
Compute GPU job tools
Inference Model inference tools
Negotiation Intent/negotiation tools
WalletConnect WalletConnect session tools

NL Intent Classifier

Maps natural language to chain actions (20+ intent types):

  • Privacy: privacy_shield, privacy_unshield, privacy_transfer
  • Tasks: task_delegate, task_query
  • Marketplace: skill_search, skill_purchase, marketplace_list
  • Agents: agent_register, agent_query, agent_rewards
  • Finance: balance_query, transfer

ClawHub Skill Registry

  • clawhub search / clawhub install / clawhub publish CLI
  • 53 bundled skills + community-publishable marketplace at clawhub.com

Economics

Revenue Stream Source Typical Earnings
Agent Mining Inflation-driven rewards minted and distributed every N blocks Proportional to uptime x completions
Task Fees Budget attached to delegated tasks Set by task creator
Skill Sales Marketplace purchases Set by skill owner
GPU Compute DanteGPU marketplace (CLAW payments via on-chain escrow) Set by provider
Model Access Per-query, one-time, or subscription model access fees Set by model owner
Staking Rewards Standard PoS delegation Network inflation rate

Token: CLAW (uclaw = 1/1,000,000 CLAW)

  • Agent registration deposit: 1 CLAW minimum
  • Task budgets: configurable, minimum 1 uclaw
  • Skill pricing: set by sellers
  • Testnet supply: 4.5M CLAW, 8-15% annual inflation, 14-day unbonding

Repository Structure

new-blokchain/
├── app/                    # Chain application setup (app.go, ibc.go, upgrades.go)
├── cosmos-sdk/             # Cosmos SDK v0.53.6 fork (Go) — blockchain core
│   ├── cmd/clawchaind/     # Chain daemon binary
│   ├── cmd/clawproof/      # ZK proof generation tool
│   ├── proto/clawchain/    # Protobuf definitions for all modules
│   └── x/                  # Custom chain modules (10 modules)
├── openclaw/               # OpenClaw fork (TypeScript) — AI agent runtime
│   ├── src/gateway/        # WebSocket control plane
│   ├── src/agents/         # Pi agent runtime + tool registry
│   ├── extensions/clawchain/ # 50+ blockchain tools + NL intent classifier (~13.5K LOC)
│   ├── extensions/         # 38 total extensions
│   └── skills/             # 53 bundled skill plugins
├── sdk/                    # @clawchain/sdk v1.0.0 (TypeScript)
│   └── src/                # ClawChainClient, ClawChainAgent, ProofGenerator
├── dantegpu-core/          # GPU compute infrastructure (Go microservices, CLAW payments)
│   ├── provider-daemon/    # Off-chain GPU provider daemon
│   ├── api-gateway/        # Central API routing
│   ├── billing-payment-service/ # ClawChain blockchain payments
│   ├── scheduler-orchestrator-service/ # Job scheduling + Consul discovery
│   ├── storage-service/    # MinIO object storage
│   ├── provider-registry-service/ # Provider registration + filtering
│   └── ...                 # 16 microservices total
├── claw-wallet-mobile/     # Oko Wallet fork — MPC non-custodial wallet
│   ├── crypto/             # Threshold ECDSA (Cait-Sith) + EdDSA (FROST) in Rust→WASM
│   ├── sdk/                # oko_sdk_cosmos, oko_sdk_eth, oko_sdk_svm
│   ├── apps/               # user_dashboard, demo_web, docs_web, admin
│   └── embed/              # Embeddable wallet iframe
├── keplr-wallet/           # Keplr browser extension fork (36-package monorepo)
├── keplr-chain-registry/   # Chain registry entries for mainnet + testnet
├── web/                    # Web dashboard (React + Vite, 43 pages, ~18K LOC)
├── cmd/                    # Go binaries + TypeScript CLIs
│   ├── clawchaind/         # Chain daemon
│   ├── clawd/              # Operator CLI (37 command files, 159 commands)
│   ├── claw-gpu-provider/  # GPU provider bridge (~2.5K lines)
│   ├── claw-inference-sidecar/ # Model inference sidecar
│   ├── claw-txhistoryd/    # Transaction history indexer
│   ├── claw-faucet/        # Testnet faucet
│   ├── claw-eventsd/       # CometBFT event aggregator
│   ├── claw-notifyd/       # Webhook notification service
│   └── clawproof/          # ZK proof CLI
├── mainnet/                # Mainnet genesis template
├── testnet/                # 4-validator Docker testnet + monitoring
├── contracts/              # Protocol surface lock (logic in Cosmos SDK modules)
├── deploy/                 # Kubernetes manifests (RBAC, HPA, TLS, ingress)
├── monitoring/             # Prometheus + Grafana dashboards + alert rules
├── scripts/                # Build, test, deployment scripts
└── docs/                   # 50+ operational docs

Developer Stack

Component Tech Description
archive-cosmos-sdk-snapshot/ Go 1.24 Cosmos SDK v0.53.6 fork with 10 custom modules (archived, reference only)
openclaw/ TypeScript/Node.js 22+ OpenClaw fork — agent runtime with 50+ chain tools
sdk/ TypeScript (ESM) @clawchain/sdk — 113 client + 56 agent methods
dantegpu-core/ Go GPU rental marketplace — 16 microservices (CLAW payments)
claw-wallet-mobile/ React Native/Expo + Rust/WASM Oko Wallet fork — MPC wallet (Cait-Sith + FROST)
keplr-wallet/ TypeScript Keplr fork with embedded ClawChain support
web/ React + Vite Dashboard with 31 pages, dark/light theme
cmd/clawd/ TypeScript/Commander.js Operator CLI with 159 commands
testnet/ Docker Compose 4-validator testnet with full monitoring

Network Configuration

Parameter Mainnet Testnet
Chain ID clawchain-1 clawchain-testnet-1
RPC https://rpc.clawchain.io https://rpc-testnet.clawchain.io
REST https://api.clawchain.io https://api-testnet.clawchain.io
Address Prefix claw claw
BIP-44 Coin Type 118 118
Denom uclaw / CLAW uclaw / CLAW
Features IBC-transfer, IBC-go IBC-transfer, IBC-go
Max Validators 100 4
Min Gas Price 0.0001 uclaw 0.0001 uclaw

Current Status

Repository Packaging Update (May 17, 2026)

The repository has moved away from Git submodules for the large forked dependencies. The former gitlink directories, including openclaw/, wagmi/, viem/, keplr-wallet/, claw-wallet-mobile/, dantegpu-core/, and the Paradigm tool forks, are now vendored as normal ClawChain source directories. .gitmodules has been removed, nested .git metadata has been stripped from the vendored trees, and GitHub should render the directories as regular clickable folders instead of blue submodule links.

The ClawChain protocol research forks are kept under third_party/clawchain-forks/ as normal source folders. This includes A2A, OpenACP, OpenClaw, mem0, Beads, OpenZiti, Context7, agentgateway, x402, hyper402, z402, and experimental crypto/payment references that stay isolated from payment-provider application code.

Project funding wallet:

A4QepUcLpwqZMsxu72FLsLDs5rLNThW7RHLXJWoLDm7r

Product Status (March 21, 2026)

Functional Reality Check (Full Validation Pass — March 21, 2026)

Status: The chain has been booted as a persistent local network (clawchain-local, height 298+). All 14 Docker containers run healthy, DEX contracts are deployed with a live CLAW/ATOM pool, faucet distributes tokens, and the full monitoring stack (Prometheus/Grafana/AlertManager) is operational. All 10 Paradigm tool forks are integrated (50-100% each). No public infrastructure yet — everything is localhost. Full validation pass completed March 21: 2,223+ tests pass across all suites with 0 failures. OpenRouter live inference validated (4/4 tests). Agent hardening complete — agent-loop (26 tests), intent-classifier (43 tests), 4 inference intents added, live integration tests created.

Capability Works Today? What's Missing
Chain boots and produces blocks YES (local) Run ./scripts/local-dev.sh — no public chain/domain exists
CLAW token exists YES Genesis allocates it, faucet distributes it, SDK can query balances
Connect Keplr wallet YES Chain suggestion is correct, Keplr enable/getKey works
Get testnet tokens (faucet) YES Real Go service, signs real MsgSend, web UI calls it
Sign & broadcast transactions (web) YES (fixed) Was broken (Amino /txs deprecated in SDK v0.53). Now uses CosmJS SigningStargateClient with DIRECT signing
Sign & broadcast transactions (SDK) YES Uses SigningStargateClient, proper DIRECT signing, bech32 prefix fixed to claw
Trade CLAW on DEX YES (local) 8 WASM contracts deployed on clawchain-local, CLAW/ATOM pool live, swap verified. DEX frontend rewritten to CosmJS with contract addresses configured. Artifacts at artifacts/dex-deployment.json
DEX frontend (dex-app/) YES (fixed) FIXED — All 73 files migrated from @terra-money/terra.js to @cosmjs/stargate + @cosmjs/cosmwasm-stargate. Uses Keplr + SigningCosmWasmClient. Needs deployed contracts to function
AI Inference via OpenRouter YES OpenRouter API validated (4/4 live tests pass — connectivity, completion, model listing, streaming). Intent classifier recognizes 4 inference intents. Inference sidecar is a proxy that needs separate model runtime at RUNTIME_ENDPOINT
Web dashboard reads chain data YES* 43 pages (incl. Oracle) query real REST/RPC endpoints. Needs running chain at configured URL
Explorer / Landing / Docs YES Static apps, work standalone. Explorer properly configured for ClawChain
Public network (clawchain.io) NO Domains don't resolve, no hosted infrastructure, everything is localhost
GPU compute marketplace PARTIAL Services compile, NATS being wired into Docker stack, mock E2E tests added. Still needs: real GPU hardware + provider key for live jobs
Claw Agent runtime (openclaw/) YES Rebranded from OpenClaw to Claw Agent. 67 source files, 26 blockchain tools. Bundled into clawd Docker image. Works against running local chain
Mobile wallet (claw-wallet-mobile/) YES Rebranded Oko → Claw Wallet (101 files). Chain config injected (mainnet+testnet). Default enabled. MPC signing works for Cosmos chains
cosmos-sdk/ N/A — reference only Archived to archive-cosmos-sdk-snapshot/. Not used by build — go.mod imports official v0.53.6 from registry

Component Maturity (Per-Directory Audit)

Component Builds? Functionally Integrated? Completion Key Evidence
Blockchain Core (app/, x/, 10 modules + x/wasm) YES YES (local) 100% local-dev.sh boots chain, all modules init, blocks produced. 1,109 test functions across 26 packages
Agent Runtime (x/agent) YES YES (local) 98% Task escrow, mining, heartbeat — works against running chain
All cmd/ services (15 total) YES YES (local) 95% ~15,000+ LOC real working code, genuinely integrated
GPU Compute Fabric (dantegpu-core/) YES NOT YET 85% 518-line ClawChainClient with CLAW payments, never orchestrated end-to-end
Claw Agent (openclaw/) YES YES 100% Rebranded from OpenClaw. 69 source files, 26 blockchain tools, 813 tests (44 test files) — 100% file coverage. OpenRouter inference bridge wired. Bundled into clawd Docker image
Web Dashboard (web/) YES YES* 100% 43 pages (incl. Oracle), real data queries, Keplr wallet, DIRECT signing (fixed). *Needs running chain
TypeScript SDK (sdk/) YES YES 100% 274 tests pass, proper CosmJS signing, bech32 prefix fixed to claw, oracle methods added
clawd CLI (cmd/clawd/) YES YES (local) 100% 69 command files, 325+ subcommands, 559 tests. Oracle commands added
CosmWasm / Smart Contracts YES YES (local) 95% Module wired in app.go, 8 DEX contracts deployed on clawchain-local
DEX Contracts (contracts/dex/) YES YES (local) 95% 8 WASM contracts deployed on clawchain-local. CLAW/ATOM pool live, swap verified. Artifacts at artifacts/dex-deployment.json
DEX Frontend (dex-app/) YES (0 TS errors) YES (local) 95% All 73 files rewritten to @cosmjs/stargate + @cosmjs/cosmwasm-stargate. Contract addresses configured. Uses Keplr + SigningCosmWasmClient against running local chain
Block Explorer (claw-explorer/) YES YES* 95% Meaningfully rebranded (22 files), chain configs correct. *Needs running chain
Landing Page (landing/) YES YES 100% 100% custom, standalone
Developer Docs Site (docs-site/) YES YES 95% 100% custom, 10 module docs, builds clean
Keplr Wallet (keplr-wallet/) YES YES 95% Rebranded, typechecks, chain suggestion works
Mobile Wallet (claw-wallet-mobile/) YES YES 75% Rebranded Oko → Claw Wallet (101 files). Chain config injected (mainnet+testnet). Default enabled. MPC signing works for Cosmos chains
cosmos-sdk/ N/A Archived N/A Moved to archive-cosmos-sdk-snapshot/. Reference only — go.mod imports official v0.53.6 from registry
claw-viem, claw-wagmi — DELETED — Removed — empty/unused packages
Paradigm forks (alloy, artemis, solar, cryo, flood, flux, rivet, viem, wagmi, data-portal) YES INTEGRATED 50-100% 10/10 integrated: alloy (CometBFT client crate), artemis (MEV/arb module), solar (CosmWasm type mapping), cryo (historical data adapter), data-portal (5 datasets), flood (load testing), flux (marketplace UI), rivet (Cosmos inspector), viem (chain defs), wagmi (Keplr connector)
Infrastructure YES YES (local) 95% 14-container Docker stack validated and healthy. Prometheus/Grafana/AlertManager operational. Not yet deployed to public cloud
Security N/A BLOCKED 25% Audit not started, MPC ceremony not performed

Build & Test Verification (All passing as of March 21, 2026)

  • All 9 Go binaries compile (go build ./... clean)
  • Go integration tests: 19 packages pass (0 failures), includes oracle gRPC + tokenfactory tests
  • SDK: 274 tests pass, ESM dist/ built, bech32 prefix corrected to claw, oracle methods added
  • Web dashboard: 769 tests pass (tsc + vite build clean), 43 pages incl. Oracle, wallet signing fixed to DIRECT mode
  • clawd CLI: 611 tests pass (69 command files, 327+ subcommands — GPU provider setup wizard + detect-hardware added)
  • OpenClaw clawchain extension: 837 tests pass (45 test files) — 100% file coverage. ClawHub hardening (content hash, integrity, 5 security patterns). Agent economy demo. OpenRouter inference bridge.
  • DEX Rust contracts: cargo check clean
  • DEX frontend: tsc --noEmit clean
  • Explorer: vite build clean
  • Landing page: vite build clean
  • Docs site: docusaurus build clean
  • Total: 2,495+ TypeScript tests + Go packages pass across all projects (0 failures)
  • OpenRouter AI inference: 5/5 live tests pass (API key, completion, model listing, streaming, SkillExecutor E2E)

What's Done (Sprints 1-11, completed)

Sprint 1-2: GPU Happy Path E2E + Make Reliable (March 6, 2026)
  • Auto-settlement in marketplace EndBlocker
  • Reconciliation worker (cmd/claw-gpu-provider/reconciler.go)
  • Agent crash recovery (cmd/clawd/src/lib/task-recovery.ts)
  • Job scheduling algorithm (wait time + GPU match + job type scoring)
  • Slash mechanism verification (14 integration tests)
  • Billing metering service (13 tests)
  • Event cursor for restart-safe processing
Sprint 3: Make Operable (March 7, 2026)
  • App upgrade handler scaffolding + 6 module migrations
  • Prometheus metrics (8 metrics + /health)
  • clawd governance/model/messaging/privacy/staking commands (27 new commands)
  • Web NetworkHealth page
  • NATS metering events + HTTP endpoints
Sprint 4: Make Launchable (March 7, 2026)
  • IBC integration test (5 tests)
  • Proof of computation challenge-response
  • Web Staking + IBC Explorer pages
  • SDK staking + IBC methods (11 new)
Sprint 5-6: Make Complete + Polish (March 7, 2026)
  • Web Tasks, Escrows, Settings pages
  • clawd escrow + dashboard commands
  • OpenClaw staking + IBC tools (9 agent tools)
  • E2E governance lifecycle tests (5 tests)
  • Grafana full dashboard (32 panels, 7 rows)
  • Full-lifecycle demo (14-step scenario)
Sprint 7: Production Parity (March 7, 2026)
  • clawd query commands (block, tx, account, supply, validators)
  • ValidatorDetail + ProposalDetail pages
  • Explorer pagination + live WebSocket feed + tx decode
  • Analytics + TokenEconomics pages
  • IBC Transfer UI
  • Dark/light theme toggle
  • Wallet tx history filtering + CSV export
Sprint 8-9: Testing + Operator Polish (March 7, 2026)
  • Integration test coverage pushed to 82% avg across all 8 keepers
  • 189 new TS tests (web + clawd + SDK)
  • CONTRIBUTING, CHANGELOG, ARCHITECTURE docs
  • SDK README with examples
  • Config templates + GPU operator CLI
Sprint 10: Web + CLI Polish (March 8, 2026)
  • Docker compose for faucet, eventsd, notifyd
  • Swagger/OpenAPI interactive docs page
  • Address book / saved contacts
  • Email/webhook push notifications
  • Load testing scripts
  • clawd shell completion (bash/zsh/fish)
  • Global search component
  • Mobile responsive layout
  • Quickstart script
Sprint 11: DanteGPU Production Hardening (March 8, 2026)
  • Storage health check with MinIO connectivity
  • Multi-vendor GPU metrics (NVIDIA + AMD rocm-smi + Apple system_profiler)
  • Provider daemon local jobs IPC via status file
  • Billing dynamic pricing heuristics (VRAM/duration-based)
  • Scheduler VRAM/GPU model matching
  • Scheduler Consul cache TTL (30s with invalidation)
  • Provider registry configurable server timeouts
  • Scheduler ReadHeaderTimeout
  • 0 remaining TODOs across all DanteGPU source
Sprint 12: CosmWasm + Smart Contracts (March 8, 2026)
  • Integrated wasmd v0.61.9 into go.mod and wired WasmKeeper in app/app.go
  • Forked Astroport DEX contracts (5 Rust contracts: factory, pair, pair_concentrated, pair_astro_converter, pair_concentrated_duality)
  • TWAP oracle contract (contracts/dex/contracts/periphery/oracle/)
  • WASM artifacts compiled for DEX e2e tests
  • 5 clawd wasm query commands (list-code, code-info, list-contracts, contract, query)
  • 10 SDK CosmWasm methods (upload, instantiate, execute, migrate, query + 5 DEX query methods)
  • 13 wasm tests in SDK
  • Contracts web page at /contracts route
Sprint 13: DEX Frontend + Landing Page (March 8, 2026)
  • Forked Astroport Classic DEX frontend (Next.js, 430 TS files) as claw-dex/
  • Landing page (Next.js static site with hero, features, tokenomics, developer section)
  • Keplr wallet fully rebranded to Claw Wallet (manifest, package.json, UI)
Sprint 14: Test Coverage + Web Polish (March 8, 2026)
  • Web test coverage: 0→634 tests (all 31 pages, all 7 components, hooks, lib)
  • clawd CLI: 114→423 tests across 26 test files
  • SDK: 140→176 tests (incl. wasm)
  • Lazy route loading (React.lazy + Suspense) — main bundle reduced ~370KB
  • Accessibility: skip-to-content link, ARIA landmarks (nav, main, contentinfo)
  • Fixed scrollIntoView jsdom issue in web test-setup.ts
Sprint 15: Block Explorer + OpenClaw Agent (March 8, 2026)
  • Forked ping.pub as claw-explorer/ (Vue 3 block explorer)
  • OpenClaw agent autonomous loop (agent-loop.ts, 198 LOC)
  • Agent task auto-accept, concurrent execution (max 3), configurable polling
  • OpenClaw hardening: wallet guard persistence, skill executor, ClawHub registry
Sprint 16: Infrastructure + Rebranding (March 9, 2026)
  • Docker Compose: 12-service stack (chain, clawd, faucet, eventsd, notifyd, inference, web, GPU, explorer, dex, landing, docs)
  • Kubernetes: 11 deployment manifests with security contexts, probes, labels
  • Systemd: 8 service files for bare-metal deployment
  • Nginx: 11 domain configs with rate limiting, TLS, WebSocket, CORS
  • CI/CD: service-builds.yml (Go + TS + frontend matrix), coverage.yml, integration-test.yml
  • Health check: health-check-all.sh (12 services, --json, --docker modes)
  • Claw Explorer rebranded: 22 files updated (footer, sidebar, APIs, locales, social links, README, CI)
  • ClawDEX naming cleanup: Astroport/Terra internal refs → ClawDEX/ClawChain
  • Genesis tooling: generate-genesis.sh (206 LOC), mainnet/genesis.json
  • Upgrade tooling: upgrade-rehearsal.sh (178 LOC), validate-upgrade.sh
  • Docs site: 8 new docs (5 modules + IBC + CLI reference + operator guide), sidebars updated
  • Cross-module E2E tests: 4 new tests (agent→marketplace, governance→agent, reputation, escrow)
  • 1233 total TypeScript tests, 49 E2E tests
Sprint 18: Prove the Product (March 9, 2026)
  • Agent-to-agent E2E tests: 5 tests (task delegation lifecycle, reputation update, task expiry+refund, multi-agent competition, negotiation protocol)
  • Multi-agent session isolation: MultiAgentManager (386 LOC) with BIP-44 HD key derivation, per-agent AgentLoop, config persistence
  • 5 clawd agent multi commands: add, list, remove, start, stop + 30 manager tests + 15 CLI tests
  • Full economy demo: 2 scripts (clawchaind + clawd versions), 16-step loop covering 6 modules, --dry-run, --skip-to
  • IBC 2-chain test: setup script (2 chains, 3 keys each, fast consensus) + test script (5 scenarios) + 18 Go E2E tests (middleware, memos, multi-chain agents)
Sprint 19-20: Polish & Docs (March 9, 2026)
  • Smart contract tutorials: 4 docs (getting-started, deploy-contract, create-dex-pool, build-agent-skill) — 2,205 lines total
  • API reference: REST docs for all modules (agent, privacy, marketplace, DEX) with endpoint paths, params, JSON examples
  • ClawHub validation: clawhub-validator.ts (manifest schema, security scan, size limits, dependency blocklist, 0-100 scoring)
  • 5 clawd clawhub commands: validate, search, install, publish, list + 31 tests
  • Docs site sidebar: Tutorials + API Reference categories added
Sprint 17: DEX Goes Live (March 9, 2026)
  • DEX deployment script: scripts/deploy-dex.sh (5-phase: build w/ CosmWasm optimizer, upload, instantiate factory+router+oracle, create CLAW/ATOM pool, verify)
  • Deploy config: contracts/dex/deploy/config.json (factory pair types, router, oracle, initial pools)
  • clawd dex commands: 8 subcommands (pools, pool, price, swap, add-liquidity, remove-liquidity, simulate, config) with CosmJS signing
  • SDK DEX transaction methods: swap(), addLiquidity(), removeLiquidity(), createPool(), queryPoolLiquidity(), queryFactoryPairs() + types
  • SDK DEX tests: 30+ tests in sdk/src/dex.test.ts (queries, error guards, message construction)
  • Contract governance gates: mainnet governance-only uploads in generate-genesis.sh, testnet permissionless in setup-testnet.sh
  • ClawDEX app naming cleanup: 70+ files renamed (AstroswapProvider→ClawDEXProvider, TerraWebappContext→ClawWebappContext, hooks, variables, UI text, contract fields)
Sprint 21-22: Production Validation & Launch Tooling (March 9, 2026)
  • clawd testnet: 6 commands (create, start, stop, status, reset, list) — local multi-validator testnet management
  • clawd benchmark: 4 commands (run, compare, profiles, history) — performance benchmarking with p50/p95/p99
  • clawd migrate: 5 commands (export, validate, diff, check, history) — state migration tools
  • clawd genesis: 6 commands (inspect, accounts, validators, module-params, hash, diff) — genesis file inspection
  • clawd checksums: 3 commands (generate, verify, show) — SHA-256 binary checksum management
  • clawd launch-checklist: 4 commands (status, sign, reset, export) — 18-criteria launch readiness tracker
  • clawd health: 3 commands (check, watch, endpoints) — 12-service health monitoring
  • clawd validate: 5 commands (config, binaries, chain, genesis, all) — installation validation
  • clawd monitoring: 6 commands (status, check, metrics, alerts, dashboards, export) — Prometheus/Grafana/AlertManager
  • Shell scripts: smoke-test.sh, soak-test.sh, release.sh, validate-monitoring.sh, test-alerts.sh
  • Operator quickstart: expanded to 1094 lines (14 sections, step-by-step guide)
  • Total: 68 command files, 317 subcommand registrations, 4148-line main.ts, 0 TS errors
Sprint 23: SDK + Web + SEO Polish (March 9, 2026)
  • SDK: 5 new chain diagnostic methods (chainHealth, getNetworkTopology, getGenesisMetadata, getModuleParams, getServiceHealth)
  • Web: Operations page (4 tabs: launch readiness, service health, module status, network overview)
  • Landing: SEO (robots.txt, sitemap.xml, security.txt, Open Graph, Twitter Card, JSON-LD structured data)
  • All builds clean: SDK, web, clawd, landing — 0 TypeScript errors
Sprint 24: Real Data + Provider Methods (March 9, 2026)
  • Web: Rewrote GPUProviders page — replaced mock data with real chain queries (getComputeResources, getComputeJobs), derives providers/models/performance from on-chain state
  • Web: Rewrote Leaderboard page — replaced mock data with real chain queries (getLiveAgents, getTopAgents, getValidators, getRewardLeaderboard, getReputation)
  • Web: Rewrote Bridge page — replaced mock data with real IBC channel queries (/ibc/core/channel/v1/channels), real balance fetching, real denom trace resolution
  • SDK: 5 new provider monitoring methods (getProviderMetrics, getReputationHistory, getEscrowSummary, getTaskHistory, getNetworkPosition)
  • DEX: Confirmed full Astroport→ClawDEX rebranding complete (only orphan image assets remain)
  • All pages now use useEffect + loading states + error handling instead of hardcoded arrays
  • All builds clean: 0 TypeScript errors
Sprint 25: Real Data Hardening + Wallet Fix (March 9, 2026)
  • wallet.ts: Fixed broken signAndBroadcast — was sending JSON-stringified base64 to protobuf endpoint (would always fail). Now constructs proper Amino StdTx and broadcasts via legacy /txs with CometBFT RPC fallback
  • Reputation.tsx: Replaced synthetic rating history (fake timestamps, fabricated task numbers) with real RatingEntry[] from /clawchain/reputation/v1/ratings/{address}
  • Reputation.tsx: Replaced simulated uptimePercent() with real liveness data from /clawchain/agent/v1/agent_liveness/{address}
  • Reputation.tsx: Replaced fake endorsement addresses (claw1endorser1...az) with real EndorsementEntry[] from /clawchain/reputation/v1/endorsements/{address}
  • chain.ts: Added getRatings() and getEndorsements() query functions
  • Final audit: zero MOCK_, simulated, fake data references in production code. Math.random() only in SVG gradient IDs.
  • All builds clean: 0 TypeScript errors
Sprint 26: Infrastructure Completeness (March 9, 2026)
  • CI/CD: Added 6 TypeScript tool services (artemis, cryo, data-portal, flood, flux, rivet) to service-builds.yml + typescript-check.yml
  • CI/CD: Added dex-app to frontend-builds matrix in service-builds.yml
  • CI/CD: Broadened path triggers to cover all TS projects (web, sdk, dex-app, landing, docs, explorer)
  • Dockerfiles: Created Dockerfiles for all 6 TypeScript tool services
  • Docker Compose: Added claw-txhistoryd service + 6 tool services behind --profile tools
  • Docker Publish: Extended to matrix build for 12 service images (chain + 7 backend + 4 frontend) with GHCR publishing
  • Release: Enhanced release.yml to build all Go service binaries + SHA256SUMS + release notes template
  • npm Publish: New npm-publish.yml workflow for @clawchain/sdk (triggered by sdk-v* tags)
  • Makefile: Added build-ts-tools, test-ts-tools, docker-up-tools, docker-up-all targets
  • SDK: Updated package.json to v1.0.0 with proper npm publishing fields (exports, files, keywords, repository, engines)
  • .gitignore: Added build outputs, node_modules, coverage files, Go vendor, .next, .tsbuildinfo
  • CONTRIBUTING.md: Updated project layout (all 15 cmd/ services), build commands (make targets), test commands, Docker section
Sprint 27: Oracle Client Surface + Housekeeping (March 16, 2026)
  • Oracle gRPC: query.pb.go (2400+ LOC), tx.pb.go (1285 LOC), query.pb.gw.go (571 LOC) — full QueryServer (6 RPCs) + MsgServer (4 RPCs) + REST gateway
  • Oracle gRPC server impls: grpc_query_server.go (100 LOC), grpc_msg_server.go (65 LOC) — delegates to existing keeper
  • Oracle module: RegisterServices + RegisterGRPCGatewayRoutes wired in module.go
  • Oracle codec: RegisterInterfaces updated with 4 Msg types + MsgServiceDesc
  • Oracle types_proto.go: Proto-compatible struct definitions for ExchangeRate, PriceHistoryEntry, etc.
  • clawd CLI: oracle.ts (340 LOC) — 8 subcommands (price, prices, history, params, feeder, miss, prevote, vote)
  • SDK: 6 oracle REST constants, 9 TypeScript interfaces, 6 ClawChainClient methods, exports
  • Web: Oracle.tsx dashboard page (314 LOC) — price table, click-to-expand history, collapsible params
  • Web: Route + sidebar nav link added
  • Housekeeping: .gitignore (.local-node/), tokenfactory tests (8 tests), PRD status update
Sprint 28: Production Hardening + Full Integration Audit (March 16, 2026)

App Layer Expansion (Xion-level production grade):

  • app/ante.go: Custom 18-decorator ante handler chain (SetUpContext, CosmWasm gas/counter, CircuitBreaker, SDK validation, signature verification, IBC relay protection) + 11 tests
  • app/params/: EncodingConfig, proto setup, simulation weights for all 46 msg types across 10 modules
  • app/keepers/: Keeper initialization order docs, module account permissions, wasm config
  • app/genesis/: DefaultGenesisState, ValidateGenesis, WASM contract importer
  • app/test_helpers.go: Setup(), SetupWithGenesisAccounts(), test context
  • app/app_test.go: 6 app integration tests
  • app/vulnerability_test.go: 5 security validation tests (module perms, blocked addresses, staking)
  • app/encoding.go: Convenience wrapper
  • App wiring: ante/post handlers registered in app.go
  • Result: app/ went from 2,196 → 3,708 lines (13 → 27 files)

Full-Stack Functional Audit (7 parallel agents):

  • Chain modules: 10/10 registered, all gRPC services + REST gateway working
  • clawd + OpenClaw: Real SECP256k1 signing, 23 blockchain tools, zero mocks
  • Explorer + Web: 43 pages real chain data, Keplr correct, no hardcoded cosmos/osmosis refs
  • DEX: Fixed empty contract addresses in frontend (swap was silently broken)
  • cmd/ services: All 15 are real implementations (not stubs), 60+ scripts operational
  • Paradigm forks: 5/9 integrated (viem, wagmi, flux, rivet + partials)

Paradigm Fork Integrations:

  • alloy/: New alloy-clawchain crate (CometBFT RPC client, types, network config)
  • solar/: New solar-clawchain crate (Solidity↔CosmWasm type mapping, 23 entries) + CLAWCHAIN.md
  • data-portal/: 5 ClawChain datasets (blocks, txs, agents, prices, privacy) + CLI + manifests

Mobile Wallet (claw-wallet-mobile/):

  • Chain config: ClawChain injected into embed, dashboard, demo, SDK tests, docs (6 files)
  • Rebrand: Oko → Claw Wallet across 101 files (titles, meta tags, SDK names, docs, emails)

Other:

  • Oracle gRPC tests: 15 integration tests (QueryServer + MsgServer)
  • DEX frontend: Contract addresses populated from artifacts/dex-deployment.json + load-dex-config.sh
  • cosmos-sdk/ directory renamed to archive-cosmos-sdk-snapshot/ (was stale project copy, not SDK)
  • Prior session code committed: agent (73 files), privacy (47 files), core (196 files)
Sprint 29: Full Validation Pass + Agent Hardening (March 21, 2026)

Full Validation Pass (all suites, 0 failures):

  • Go: 19 packages pass (all modules + app)
  • SDK: 274 tests pass
  • Web: 769 tests pass (75 test files)
  • clawd: 581 tests pass (54 test files)
  • OpenClaw clawchain: 595 tests pass (34 test files) — up from 526/32
  • OpenRouter live: 4/4 tests pass (connectivity, completion, model listing, streaming)
  • Total: 2,223+ tests, 0 failures

Agent Hardening (Phase B):

  • agent-loop.test.ts: 26 unit tests (constructor, start/stop, tick, concurrency, auto-accept, execute, errors)
  • intent-classifier.test.ts: 43 unit tests (19 intent types, param extraction, case insensitivity, routing hints, confidence, priority)
  • 4 new inference intents added to intent-classifier.ts: inference_submit, inference_status, inference_providers, inference_register
  • clawchain.live.test.ts: 4 live integration tests with OpenRouter API (gated by OPENCLAW_LIVE_TEST=1)
  • vitest.live.config.ts: Added extensions/**/*.live.test.ts to include pattern

Design Spec: docs/superpowers/specs/2026-03-21-next-phase-design.md

Sprint 30: OpenRouter Inference Bridge (March 21, 2026)

SkillExecutor OpenRouter Integration (Phase C, Feature #1):

  • skill-executor.ts: Added openRouterApiKey and openRouterModel config fields
  • New executeOpenRouterTask() method: sends chat completions to OpenRouter API with system prompt for autonomous agent task execution
  • OpenRouter takes priority over generic llmEndpoint when both are configured
  • Error handling: HTTP failures, empty responses, JSON parse errors, network retries
  • index.ts: SkillExecutor now wired with process.env.OPENROUTER_API_KEY as fallback
  • 9 new unit tests in skill-executor.test.ts (headers, body format, model selection, error cases, skill fallback)
  • 1 new live test: SkillExecutor completes "2+2" task via real OpenRouter API
  • Total: 604 unit tests (34 files) + 5 live tests

Impact: Agents can now autonomously execute delegated tasks using real AI inference via OpenRouter. This completes the Install → Run → Earn product loop for task execution.

Sprint 31: Full Test Coverage for Clawchain Extension (March 21, 2026)

100% File Coverage — all 10 previously untested source files now have tests:

  • contract-tools.test.ts: 16 tests (deploy, execute, query, list + error cases)
  • identity.test.ts: 12 tests (init, auto-register, env var fallback, error handling)
  • peers.test.ts: 18 tests (configurePeers, getNodeId, getNetInfo, URL normalization)
  • governance-voter.test.ts: 15 tests (analyze, vote rules, auto-vote, monitoring)
  • arbitrage-bot.test.ts: 15 tests (pool prices, opportunities, simulation, execution)
  • portfolio-manager.test.ts: 15 tests (allocation, rebalance, swap execution, performance)
  • events.test.ts: 23 tests (listener lifecycle, event dispatch, heartbeat, task subscriber)
  • faucet-server.test.ts: 17 tests (start/stop, request validation, rate limiting, CORS)
  • node-manager.test.ts: 17 tests (start/stop, external node, restart, spawn)
  • tools.test.ts: 33 tests (registry, tool count, naming convention, individual tools)

Result: 813 tests / 44 files (was 604/34). Every source file has a test file. +209 tests.

Sprint 32: Oracle Terra Fork + Price Feeder (April 8, 2026)

Oracle Module — replaced hand-written stubs with Terra Classic v4.0.0 fork:

  • Forked classic-terra/core v4.0.0 x/oracle (exact SDK v0.53.6 match): 63 Go files, 18,764 LOC
  • Full prevote/vote commit-reveal cycle, weighted median aggregation, ballot system
  • Validator slashing (slash fraction, slash window, min valid per window), reward distribution
  • Feeder delegation, Tobin tax, vote targets/whitelist
  • gRPC QueryServer (13 RPCs) + MsgServer (3 RPCs: DelegateFeedConsent, AggregateExchangeRatePrevote, AggregateExchangeRateVote)
  • REST gateway at /clawchain/oracle/v1beta1/ (13 endpoints)
  • CLI commands: clawchaind query oracle + clawchaind tx oracle (full Terra CLI)
  • Created types/core.go — chain constants (uclaw, bech32 prefixes, block times, IsPeriodLastBlock)
  • Created x/oracle/module/ depinject bridge for ClawChain app wiring
  • Added UpdateParam() to keeper for governance integration
  • Simulation suite, spec docs (7 pages), genesis import/export
  • 78 Go tests pass across 4 packages (oracle, keeper, simulation, types)
  • All 22 Go packages pass, 0 regressions, go build ./... clean

Price Feeder Daemon — forked from Ojo (ojo-network/price-feeder):

  • cmd/claw-price-feeder/: 123 files forked from Ojo price-feeder
  • 19 exchange providers: Binance, BinanceUS, Coinbase, Kraken, OKX, Gate, Bitget, MEXC, Crypto.com, Huobi, Osmosis, Kujira, Astroport, Uniswap, Camelot, Balancer, Pancake, Curve, Polygon
  • TOML config, Dockerfile, Makefile, goreleaser
  • Compiles to 55MB binary
  • Config defaults: chain_id=clawchain-local, bech32=claw, grpc=localhost:9090
  • Docker Compose service + systemd unit added

clawd CLI — 13 oracle commands rewritten for v1beta1:

  • price, prices, actives, vote-targets, params, feeder, miss, prevote, prevotes, vote, votes, tobin-tax, tobin-taxes
  • All use real /clawchain/oracle/v1beta1/ REST endpoints
  • 41 tests pass

SDK — 13 oracle methods on v1beta1:

  • getOracleExchangeRate, getOracleExchangeRates, getOracleTobinTax, getOracleTobinTaxes, getOracleActives, getOracleVoteTargets, getOracleParams, getOracleFeederDelegation, getOracleMissCounter, getOracleAggregatePrevote, getOracleAggregatePrevotes, getOracleAggregateVote, getOracleAggregateVotes
  • 13 REST constants, 14 TypeScript interfaces
  • 286 SDK tests pass (0 failures)

Web Dashboard — Oracle.tsx rewritten for v1beta1:

  • Exchange rates table with 30s auto-refresh
  • Active denoms and vote targets display
  • Collapsible oracle parameters (vote period, threshold, reward band, whitelist, slash params)
  • Validator miss counter with Keplr wallet integration
  • 7 tests pass

OpenClaw — oracle tools updated:

  • clawchain_oracle_exchange_rate, clawchain_oracle_exchange_rates, clawchain_oracle_params
  • 16 tests pass

What's Next

Status as of April 8, 2026: Oracle module fully production-grade — Terra Classic fork with real prevote/vote cycle, 19-provider price feeder, full client surface. All code complete. Only blocker: deployment (Step 1: buy VPS).

Current State Summary (April 8, 2026)

Area Status Notes
Chain node ✅ Running Height 300+, 5s blocks, single validator testnet
Oracle module ✅ Production-grade Terra Classic v4.0.0 fork (63 files, 18,764 LOC). Prevote/vote, weighted median, slashing, rewards, feeder delegation. 78 tests.
Price feeder ✅ Ready Ojo fork at cmd/claw-price-feeder/ — 19 exchange providers, TOML config, Docker + systemd
Docker stack ✅ Validated 15 services: chain, clawd, faucet, eventsd, notifyd, txhistoryd, price-feeder, web, explorer, dex, landing, docs, prometheus, grafana, alertmanager
Monitoring ✅ Live Prometheus :9091, Grafana :3010, AlertManager :9093, 265 metrics, 29 alert rules
Tests ✅ 2,900+ pass Go: 22 packages (incl. 78 oracle), TS: clawd 652, web 776, sdk 286, openclaw 853, Live: 6 OpenRouter
CosmWasm ✅ Integrated wasmd v0.61.9, DEX contracts deployed locally
DEX ✅ Live (local) CLAW/ATOM pool, swap verified, artifacts in artifacts/dex-deployment.json
Web dashboard ✅ Running 43 pages, :3000, real chain data, 0 mock data
Explorer ✅ Running Ping.pub fork, :8082
Faucet ✅ Running :8889, 10 CLAW/request
Landing / Docs ✅ Running :8093 / :8091
Public infra ❌ Missing No clawchain.io DNS, no cloud hosting — FIX #7
Security audit ❌ External Needs external firm
Mobile wallet ⏸ Deferred Keplr browser wallet covers launch
7-day soak ✅ Complete Began March 11, completed March 18, 2026
Agent hardening ✅ Complete agent-loop (26 tests), intent-classifier (43 tests), 4 inference intents, live OpenRouter tests (4)

DELETE — Remove from repo

These directories add nothing to ClawChain. They are unmodified forks with zero integration.

Directory Reason Status
claw-viem/ Empty/unused Viem primitives package DELETED
claw-wagmi/ Empty/unused React hooks package DELETED
reth/ Completely unmodified Paradigm Reth (Ethereum execution client). Zero ClawChain code. Irrelevant to a Cosmos SDK chain DELETED
cosmos-sdk/ Moved to archive-cosmos-sdk-snapshot/. Reference copy only. go.mod imports official v0.53.6 from registry — never used by the build ARCHIVED

FIX — Broken but needed

# What Problem Fix Effort
1 Boot persistent testnet Chain has never run as a persistent network FIXED — clawchain-local running via .local-node/, dev account funded with 999K CLAW + 100K ATOM, REST/RPC endpoints responding DONE
2 DEX app tx layer (dex-app/) 77 files imported @terra-money/terra.js FIXED — All 73 files rewritten to @cosmjs/stargate + @cosmjs/cosmwasm-stargate + Keplr. Zero @terra-money imports remain. tsc --noEmit passes with 0 errors. @terra-money packages removed from package.json DONE
3 DEX WASM contracts (contracts/dex/) .wasm artifacts never built FIXED — 7 contracts built: factory, pair, pair_stable, pair_concentrated, router, oracle, whitelist. Artifacts in artifacts/ directory DONE
4 OpenClaw ESM build (openclaw/) __dirname is not defined NOT BROKEN — Verified: openclaw binary runs correctly. The __dirname usage in multi-agent.ts uses a conditional pattern that works in both ESM and CJS N/A
5 Deploy DEX contracts No contracts on any chain FIXED — 8 contracts uploaded (factory, pair, pair_concentrated, router, oracle, xastro_token, native_coin_registry). Factory, router, registry instantiated. Custom x/tokenfactory module created for Osmosis-style LP tokens. CLAW/ATOM XYK pool live with 10K/10K liquidity. Swap verified. Deployment artifacts in artifacts/dex-deployment.json DONE
6 Full-stack Docker test 12-service Docker Compose stack has never been run together FIXED — 14-service stack running (12 core + monitoring). Chain height 164+, Prometheus scraping clawchain:26660 (health=up), Grafana dashboards loaded, AlertManager running. health-check-all.sh --docker 10/12 (2 skipped: GPU profile). Fixed: .initialized marker in entrypoint, Alpine→Debian for wasm services, clawd ENOENT handling, port conflicts, txhistoryd healthcheck path DONE
7 Domain/hosting setup clawchain.io domains don't resolve, no hosted infrastructure Deploy chain + services to cloud, configure DNS 1 day

WAIT — Deferred (not blocking launch)

What Why Wait
Mobile wallet (claw-wallet-mobile/) Essentially unmodified Oko Wallet (~2.3% customization). Needs full rework but not blocking — Keplr browser wallet works for now
Security audit Needs external audit firm engagement
MPC trusted setup Needs multiple ceremony participants
HSM integration Hardware procurement

Phase A: Multi-Agent E2E Demo (HIGH — proves core value prop)

# Task Impact Status
1 Agent-to-agent integration test Proves autonomous agent economy DONE
2 Multi-agent session isolation Scalability for operators DONE
3 Demo script: full economy loop End-to-end product demo DONE

Phase B: Production Chain Hardening (HIGH — pre-launch gate)

# Task Impact Status
4 IBC 2-chain live test Validates IBC in practice DONE
5 4-validator upgrade rehearsal Proves upgrade path DONE
6 Genesis ceremony dry run Ready for real ceremony DONE
7 DEX testnet deployment First real DEX trading DONE

Phase C: Monitoring + Observability (MEDIUM)

# Task Impact Status
8 Prometheus + Grafana live test — Boot monitoring, confirm scrape targets, load 32-panel dashboard Operational visibility DONE — Prometheus on :9091, Grafana on :3010, AlertManager on :9093. 29 alert rules in 5 groups. clawchain:26660 target health=up. cometbft_consensus_height=164 confirmed in Prometheus.
9 Alert rules validation — Trigger test conditions, verify AlertManager fires Incident response DONE — 29 rules loaded: ChainHalted, SlowBlockTime, MissedBlocks, DiskSpaceLow, HighMemoryUsage, etc. AlertManager routing verified (critical→PagerDuty+Slack, warning→Slack).

Phase D: Polish (MEDIUM)

# Task Impact Status
10 API reference auto-gen Developer reference DONE
11 Getting started tutorial New user onboarding DONE

Phase E: Launch Gate

# Task Depends On Status
12 7-day stable testnet soak Phase B + C COMPLETE — Started March 11, completed March 18, 2026. No panics, no memory leaks, no consensus failures.
13 All launch checklist items signed off Phase A-D IN PROGRESS — Phases A-D complete. Pending: domain/hosting, public endpoints.
14 Security audit findings resolved External WAITING — External audit firm engagement needed
15 Mainnet genesis ceremony Dry run + real validators WAITING — Depends on audit + validator recruitment

Execution Board

Phase Owner / Service Status Gate Criteria
P1 Chain Core app/, x/*, cmd/clawchaind DONE Build passes, 82% coverage, 49 E2E tests, upgrade handlers
P2 Agent Runtime x/agent, x/reputation, cmd/clawd DONE Task lifecycle, heartbeat penalties, agent loop (198 LOC), valid transitions
P3 GPU Fabric E2E dantegpu-core, cmd/claw-gpu-provider DONE Real executor events, cancel path, 0 simulated paths, 0 TODOs
P4 Settlement + Marketplace x/marketplace DONE Escrow lifecycle E2E, funds conservation
P5 Privacy Path x/privacy, cmd/clawproof DONE Shield + unshield success, Merkle leaf increments
P6 Wallet + Registry keplr-wallet, registry DONE Keplr rebranded to Claw Wallet, typechecks clean, chain registry valid
P7 Observability + Ops monitoring/, deploy/ DONE Docker 12-svc, K8s 11 manifests, systemd 8 svc, Nginx 11 domains, Grafana 32 panels, health-check-all.sh
P8 Security + Release Audit, vuln gates, signed artifacts BLOCKED External audit needed, MPC ceremony needed
P9 CosmWasm + Smart Contracts app/app.go, x/wasm DONE wasmd v0.61.9, WasmKeeper wired, 5 clawd commands, 10 SDK methods, 13 tests, Contracts web page
P10 DEX / Token Swap contracts/dex/, dex-app/ DONE WASM contracts built + deployed. Custom x/tokenfactory module for Osmosis LP tokens. CLAW/ATOM pool live with liquidity. Swap verified. Frontend rewritten to @cosmjs, 0 TS errors
P11 Marketing + Dev Docs landing/, docs-site/ DONE Landing page (95%), docs site (8 module docs + CLI ref + operator guide), builds clean
P12 DEX Deployment Deploy scripts, CLI, SDK DONE deploy-dex.sh, 8 clawd dex commands, 6 SDK methods (30+ tests), governance gates
P13 Multi-Agent E2E Agent-to-agent, demo DONE 5 E2E tests, multi-agent isolation (HD keys), 16-step demo scripts, ClawHub validation (31 tests)
P14 Production Hardening IBC test, upgrade, genesis DONE IBC 2-chain setup + 5 test scenarios + 18 Go tests, upgrade/genesis scripts ready
P15 Docs & Polish Tutorials, API ref DONE 4 tutorials (2205 LOC), API reference (all modules), sidebar updated
P16 Launch Gate All leads IN PROGRESS 7-day soak completed March 18, security audit (external), genesis ceremony
P17 Operational Validation Full stack DONE 14-service Docker stack running. Chain height 300+, 5s block time, 265 Prometheus metrics, health-check-all 10/12. DEX contracts deployed (local). No public infra yet (FIX #7)
P18 Oracle Terra Fork x/oracle, cmd/claw-price-feeder, cmd/clawd, sdk/, web/ DONE Forked Terra Classic v4.0.0 x/oracle (63 files, 18,764 LOC). Prevote/vote cycle, weighted median, slashing, rewards, feeder delegation. Ojo price feeder fork (19 providers). 13 REST endpoints at /clawchain/oracle/v1beta1/. clawd: 13 commands. SDK: 13 methods + 14 types. Web: Oracle dashboard. 78 Go + 41 CLI + 286 SDK + 7 web tests.
P19 Production Hardening app/ DONE Custom ante handler (18 decorators), params (46 msg weights), keepers (init docs, perms), genesis (state, validation, WASM import), tests (11 ante + 6 app + 5 security). app/ 2.2K → 3.7K lines.
P20 Paradigm Integration alloy, solar, data-portal DONE alloy-clawchain crate, solar-clawchain crate (Solidity↔CosmWasm mapping), 5 data-portal datasets
P21 Completeness Pass x/, sdk/, monitoring/ DONE tokenfactory autocli, 3 missing migrations, oracle whitelist param, SDK negotiate methods, 2 Grafana dashboards (agent-economy + marketplace-privacy), 162 scripts made executable, NATS in Docker, 6 GPU E2E tests
Mobile Wallet claw-wallet-mobile/ DONE Rebranded Oko → Claw Wallet (101 files). Chain config injected (mainnet+testnet). Default enabled chain.
reth/ reth/ DELETE Completely unmodified Paradigm fork. Zero ClawChain code. Ethereum client, irrelevant to Cosmos SDK chain
claw-viem/, claw-wagmi/ — DELETED Empty/unused packages removed
P22 Agent Hardening openclaw/extensions/clawchain/ DONE agent-loop.test.ts (26 tests), intent-classifier.test.ts (43 tests), 4 inference intents added, clawchain.live.test.ts (4 OpenRouter live tests), vitest.live.config.ts updated. Total: 595 tests / 34 files (was 526/32).
P23 Full Validation Pass All suites DONE 2,232+ tests pass across all projects (0 failures). Go: 19 packages. TS: openclaw 604, web 769, clawd 581, sdk 274. OpenRouter live: 5/5. March 21, 2026.
P24 OpenRouter Inference Bridge openclaw/extensions/clawchain/ DONE SkillExecutor wired to OpenRouter chat completions API. Agents can autonomously execute tasks with real AI. 9 unit tests + 1 live test. Completes Install → Run → Earn loop.
P25 Full Test Coverage openclaw/extensions/clawchain/ DONE 100% file coverage: every source file has tests. 818 tests / 45 test files (was 604/34). +214 tests across 11 new files.
P26 Agent Economy Demo openclaw/extensions/clawchain/ DONE Two-agent task lifecycle: delegate → accept → execute (OpenRouter) → complete. 6 demo tests (5 mocked + 1 live). MultiAgentManager wired with OpenRouter. Proves Install → Run → Earn loop.
P27 ClawHub Production Hardening openclaw/extensions/clawchain/ DONE Content hash validation (SHA-256, deterministic), integrity verification, 5 new security patterns (process.exit, net, http, path traversal, process.env warning). 50 validator tests (was 32).
P28 GPU Provider Setup Wizard cmd/clawd/, cmd/claw-gpu-provider/ DONE clawd gpu-provider setup 6-step wizard: detect hardware (NVIDIA/AMD/Apple), chain connectivity, balance check, Docker check, config generation, registration. detect-hardware command. 30 tests.

Architecture Decisions

GPU Bridge: Event-Sourced Reconciler (selected)

  • Provider daemon publishes all state changes to NATS
  • Reconciler subscribes to both NATS and CometBFT WebSocket
  • Maintains local state of (job_id, chain_state, provider_state, last_synced_height)
  • On mismatch: emits alert + auto-submits corrective tx
  • Implemented in cmd/claw-gpu-provider/reconciler.go

Agent Economy: Real Inflation Mining

  • EndBlock mints CLAW via bankKeeper.MintCoins()
  • Distribution weighted by: uptime × task_completions × reputation_score
  • Budget escrowed on task delegation via bankKeeper.SendCoinsFromAccountToModule()
  • Refund on expiry, release on completion

Privacy: Groth16 ZK-SNARK

  • BN254 curve via gnark library
  • 32-depth MiMC Merkle tree
  • 2-in-2-out UTXO model
  • GPU acceleration via icicle-gnark
  • MPC trusted setup required before mainnet (ceremony code exists in x/privacy/circuit/mpc_setup.go)

Smart Contracts: CosmWasm Integration — DONE

ClawChain currently has no smart contract support. CosmWasm is fully integrated as x/wasm (wasmd v0.61.9, wasmvm v3.0.3).

# Task Status
1 Add wasmd dependency DONE
2 Wire x/wasm into app.go DONE — WasmKeeper, store key, IBC wasm module wired
3 Enable smart contract governance DONE — Mainnet governance-only, testnet permissionless
4 Add clawd wasm commands DONE — 5 commands: store, instantiate, execute, query, list-codes
5 Web dashboard contract UI DONE — 3-tab Contracts page (Codes, Instances, Query)
6 SDK contract methods DONE — uploadContract, instantiateContract, executeContract, queryContract + 10 SDK methods
7 Developer docs for contracts DONE — CW20 tutorial, deployment guide, IBC contracts doc

DEX / Token Swap — DONE

ClawDEX is live. Astroport Core fork (262 Rust files) rebranded and deployed.

# Task Status
1 Fork Astroport contracts DONE — 8 contracts: factory, pair, pair_stable, pair_concentrated, router, oracle, xastro_token, native_coin_registry
2 Rebrand + deploy on ClawChain DONE — Deployed locally. CLAW/ATOM XYK pool with 10K/10K liquidity. Artifacts in artifacts/dex-deployment.json
3 Swap UI DONE — Live pool stats, auto-discovery of deployed DEX contracts
4 Liquidity pool UI DONE — Add/remove liquidity, LP token management
5 Pool creation DONE — clawd dex commands + SDK methods
6 Price oracle integration DONE — Oracle contract deployed, TWAP data on-chain

Marketing / Landing Page — DONE

# Task Status
1 Landing page DONE — landing/ (Vite static). Hero, value prop, features, token economics, roadmap, SEO (robots.txt, sitemap.xml, OG/Twitter/JSON-LD)
2 Tech stack DONE — Vite static at landing/, served on :8093
3 Content DONE — AI-native blockchain, agent economy, GPU compute story
4 CTA flows DONE — Start earning → clawd install, Build → dev docs, Get CLAW → faucet

Developer Documentation Site — DONE

# Task Status
1 Docs framework DONE — Docusaurus 3.9 at docs-site/, served on :8091
2 Getting started DONE — Node setup, first tx, wallet creation tutorial (2205 LOC)
3 Smart contract guides DONE — CW20 token, deployment guide, IBC contracts
4 Module reference DONE — All 10 modules documented
5 SDK reference DONE — @clawchain/sdk API reference with examples
6 Agent developer guide DONE — Build skills for Claw Agent (rebranded from OpenClaw), ClawHub publishing
7 API reference DONE — REST + gRPC endpoints, auto-generated from proto files

Wallet Branding

Wallet Fork Source Location Status
Claw Wallet (Browser) Keplr keplr-wallet/ DONE — Rebranded, ClawChain default chain, typechecks clean
Claw Wallet (Mobile) Oko Wallet claw-wallet-mobile/ DONE — Rebranded Oko → Claw Wallet (101 files). Chain config injected (mainnet+testnet). MPC signing works for Cosmos chains
Chain Registry Keplr Registry keplr-chain-registry/ DONE — Mainnet + testnet entries valid

What's DONE

Everything that can be done locally without external dependencies:

  • Chain, all 10 modules (agent, privacy, marketplace, modelregistry, reputation, messaging, governance, clawchain, oracle, tokenfactory), CosmWasm
  • 14-service Docker stack (all healthy, chain height 298+)
  • clawd — 69 command files, 325+ subcommands, 559 tests
  • Web dashboard — 43 pages (incl. Oracle), real chain data
  • DEX — 8 contracts deployed locally, CLAW/ATOM pool live, swap verified
  • SDK — 274 tests, oracle methods added
  • Monitoring — Prometheus (265 metrics), Grafana (4 dashboards, 56 panels), AlertManager
  • Claw Agent (OpenClaw rebrand) — 67 source files, 26 blockchain tools, bundled into clawd Docker
  • All 10 Paradigm forks integrated (50-100% each)
  • Mobile wallet — rebranded to Claw Wallet, chain config injected, MPC signing works
  • Docs site, landing, explorer, faucet, Keplr wallet

What's Remaining — Launch Checklist

All code is complete. What remains are deployment and external dependencies. Follow this checklist in order:


Step 1: Get a Server (UNBLOCKS EVERYTHING)

Effort: 1 hour | Blocker: None — just needs a credit card

  • Buy a VPS (Hetzner CPX41 recommended: 8 vCPU, 16GB RAM, ~€15/mo)
  • Install Docker + Docker Compose on the server
  • Clone the repo: git clone <your-repo-url>
  • Copy .env.example → .env, fill in values
  • Run: docker compose up -d
  • Verify: ./scripts/health-check-all.sh --docker

Result: Chain producing blocks on a public IP.


Step 2: Point DNS

Effort: 30 min | Blocker: Domain registrar access

  • Buy or configure clawchain.io domain
  • Add A records pointing to your server IP:
    • clawchain.io → server IP
    • rpc.clawchain.io → server IP
    • api.clawchain.io → server IP
    • faucet.clawchain.io → server IP
    • explorer.clawchain.io → server IP
    • app.clawchain.io → server IP
    • dex.clawchain.io → server IP
    • docs.clawchain.io → server IP
  • Set up nginx reverse proxy (config exists at deploy/nginx/)
  • Run certbot for SSL: certbot --nginx -d clawchain.io -d rpc.clawchain.io ...

Result: https://clawchain.io is live.


Step 3: Deploy DEX Contracts on Public Chain

Effort: 15 min | Blocker: Step 1 done

  • Run: ./scripts/deploy-dex.sh
  • Run: ./scripts/load-dex-config.sh (updates dex-app env)
  • Rebuild dex-app: cd dex-app && npm run build
  • Verify swap works in browser

Result: DEX trading live on public chain.


Step 4: Multi-Validator Testnet

Effort: 1 day | Blocker: Step 1 done (need 4 servers)

  • Get 3 more VPS nodes
  • Run: cd testnet && ./setup-testnet.sh (generates 4-validator genesis)
  • Deploy to all 4 nodes
  • Verify: blocks produced, validators signing, IBC works

Result: Production-grade 4-validator testnet.


Step 5: 7-Day Soak Test Completion

Effort: Wait | Completes: March 18, 2026

  • Soak started March 11 on local chain
  • Verify: chain still producing blocks after 7 days
  • Check: no panics, no memory leaks, no consensus failures
  • Run: ./scripts/soak-test.sh --report

Result: Stability proven.


Step 6: Security Audit

Effort: Weeks | Blocker: Need to hire external firm

  • Scope the audit: x/agent, x/privacy (ZK), x/marketplace, x/oracle, app/ante.go
  • Engage auditor (Trail of Bits, Halborn, Oak Security, or similar)
  • Provide access to repo + docs
  • Fix any findings
  • Publish audit report

Result: Security-vetted chain.


Step 7: MPC Trusted Setup Ceremony

Effort: 1 day | Blocker: Need 3+ participants

  • Recruit 3-5 ceremony participants (validators, community members)
  • Run: clawproof ceremony (code exists at x/privacy/circuit/mpc_setup.go)
  • Each participant contributes randomness
  • Publish transcript + verification keys
  • Update x/privacy/circuit/keys/ with ceremony output

Result: Privacy module ready for mainnet.


Step 8: Mainnet Genesis Ceremony

Effort: 1 day | Blocker: Steps 4, 6, 7 done

  • Recruit initial validator set (5-10 validators)
  • Run: ./scripts/generate-genesis.sh with real validator gentxs
  • Distribute genesis.json to all validators
  • Coordinate start time
  • All validators start simultaneously: clawchaind start
  • Verify: blocks producing, validators signing

Result: Mainnet is live. 🎉


Step 9: Post-Launch (ongoing)

  • Monitor: Grafana dashboards (4 dashboards, 56 panels)
  • Oncall: AlertManager routes to Slack/PagerDuty (36 alert rules)
  • DEX: Seed additional liquidity pools
  • Agents: Onboard first AI agents via clawd up
  • Ecosystem: Open ClawHub skill marketplace
  • GPU: Onboard first GPU provider with real hardware
  • Mobile: Publish Claw Wallet to app stores

GPU Compute (Can happen anytime after Step 1)

Blocker: Real GPU hardware

  • Get a machine with NVIDIA GPU
  • Generate provider key: clawchaind keys add gpu-provider
  • Configure: cp cmd/claw-gpu-provider/config.toml.example config.toml
  • Start: claw-gpu-provider --config config.toml
  • NATS is already in Docker stack (added March 17)
  • Submit test job via: clawd gpu-provider submit-job

Priority Summary

# Task Effort Blocks
1 Buy VPS + deploy Docker 1 hour Everything
2 Point DNS + SSL 30 min Public access
3 Deploy DEX contracts 15 min Trading
4 Multi-validator testnet 1 day Production readiness
5 Wait for soak 1 day left Stability proof
6 Security audit Weeks Mainnet
7 MPC ceremony 1 day Privacy on mainnet
8 Genesis ceremony 1 day Mainnet launch

The single most important thing right now: buy a $15/mo VPS and run docker compose up -d. Everything else follows from that.

┌─────┬────────────────────────────────┬────────────┬──────────────────────────────────────────────────────────────┐ │ # │ Step │ Cost │ Notes │ ├─────┼────────────────────────────────┼────────────┼──────────────────────────────────────────────────────────────┤ │ 1 │ VPS (Hetzner CPX41) │ ~$15/mo │ 8 vCPU, 16GB RAM. Enough for single validator + all services │ ├─────┼────────────────────────────────┼────────────┼──────────────────────────────────────────────────────────────┤ │ 2 │ Domain (clawchain.io) │ ~$12/yr │ From Namecheap/Cloudflare. SSL is free (Let's Encrypt) │ ├─────┼────────────────────────────────┼────────────┼──────────────────────────────────────────────────────────────┤ │ 3 │ Deploy DEX │ $0 │ Just a script on the server you already have │ ├─────┼────────────────────────────────┼────────────┼──────────────────────────────────────────────────────────────┤ │ 4 │ 3 more VPS for multi-validator │ ~$45/mo │ 3x $15/mo nodes. Can use cheaper CPX21 ($8/mo) = $24/mo │ ├─────┼────────────────────────────────┼────────────┼──────────────────────────────────────────────────────────────┤ │ 5 │ 7-day soak │ $0 │ Already running, completes tomorrow │ ├─────┼────────────────────────────────┼────────────┼──────────────────────────────────────────────────────────────┤ │ 6 │ Security audit │ $30K-$150K │ Trail of Bits ~$150K, Halborn ~$50K, Oak Security ~$30K │ ├─────┼────────────────────────────────┼────────────┼──────────────────────────────────────────────────────────────┤ │ 7 │ MPC ceremony │ $0 │ Just coordination, code exists │ ├─────┼────────────────────────────────┼────────────┼──────────────────────────────────────────────────────────────┤ │ 8 │ Genesis ceremony │ $0 │ Just coordination with validators │ └─────┴────────────────────────────────┴────────────┴──────────────────────────────────────────────────────────────┘

Summary

┌────────────────────────────────────────────────┬─────────────────────────────────────┐ │ Category │ Cost │ ├────────────────────────────────────────────────┼─────────────────────────────────────┤ │ Minimum viable launch (Steps 1-3, single node) │ ~$27/yr + $15/mo │ ├────────────────────────────────────────────────┼─────────────────────────────────────┤ │ Production testnet (Steps 1-5, 4 validators) │ ~$27/yr + $60/mo │ ├────────────────────────────────────────────────┼─────────────────────────────────────┤ │ Full mainnet launch (Steps 1-8, with audit) │ ~$27/yr + $60/mo + $30K-$150K audit │ └────────────────────────────────────────────────┴─────────────────────────────────────┘

If you skip the audit (testnet launch):

Total: ~$30 upfront + $60/month

That gets you a live public chain with 4 validators, DEX trading, faucet, explorer, web dashboard, docs — all reachable at clawchain.io.

The security audit is the expensive part and is only needed for mainnet with real money. Code: DONE

Everything that can be built locally is built, tested, and passing:

  • 29 Go packages (90 oracle tests + all modules)
  • 630 clawd tests, 770+ web tests, 286 SDK tests, 40 OpenClaw tests
  • Full Docker stack (15 services), systemd units, nginx configs
  • All docs updated, all CI/CD pipelines updated

What's left (none of this is code)

┌───────────────────┬────────────────┬───────────────────────────────────────────────────────────────┐
│ Item │ Type │ What you need to do │
├───────────────────┼────────────────┼───────────────────────────────────────────────────────────────┤
│ Buy a VPS │ Infrastructure │ Hetzner CPX41 (~$15/mo), install Docker, docker compose up -d │ ├───────────────────┼────────────────┼───────────────────────────────────────────────────────────────┤ │ Point DNS │ Infrastructure │ Buy/configure clawchain.io, add A records, run certbot │
├───────────────────┼────────────────┼───────────────────────────────────────────────────────────────┤
│ Security audit │ External │ Hire an audit firm (Trail of Bits, Halborn, Oak Security) │
├───────────────────┼────────────────┼───────────────────────────────────────────────────────────────┤
│ MPC trusted setup │ External │ Recruit 3-5 participants for the ZK privacy ceremony │ ├───────────────────┼────────────────┼───────────────────────────────────────────────────────────────┤
│ Genesis ceremony │ External │ Recruit 5-10 validators, distribute genesis, coordinate start │ ├───────────────────┼────────────────┼───────────────────────────────────────────────────────────────┤
│ GPU hardware │ Hardware │ Get a machine with NVIDIA GPU for the first compute provider │ └───────────────────┴────────────────┴───────────────────────────────────────