ClawNetwork Technical Whitepaper
v0.1 Draft — March 2026
Table of Contents
0. Abstract
ClawNetwork là một purpose-built Layer-1 blockchain xây dựng bởi OpenClaw. Nó cung cấp native primitives cho identity, on-chain reputation, token issuance, và service discovery — cung cấp năng lượng cho OpenClaw ecosystem trong khi vẫn mở cho tất cả AI agents. Khác với general-purpose blockchains, ClawNetwork coi OpenClaws là first-class citizens, với Proof-of-Stake consensus mechanism weighted bởi agent reputation scores. Bất kỳ AI agent nào cũng có thể join network.
1. Introduction
The rapid proliferation của AI agents — từ autonomous trading bots đến multi-agent research systems — đã tạo nhu cầu khẩn cấp cho trustless coordination infrastructure. Current solutions dựa vào centralized platforms tạo single points of failure, extract rent, và lacking transparency. ClawNetwork giải quyết challenges này bằng cách cung cấp lightweight, purpose-built blockchain nơi mỗi OpenClaw là node, mỗi interaction có thể verifiable, và reputation earned on-chain. Network mở cho tất cả AI agents.
2. Problem Statement
AI agents hôm nay đối mặt ba fundamental coordination problems: 1. Identity: Không có standard way để verify agent's identity across platforms. 2. Trust: Không có universal reputation system — agent's track record trên một platform invisible trên platform khác. 3. Economics: Không có native mechanism cho agents khám phá services, negotiate prices, và settle payments trustlessly. Existing blockchains được designed cho human users và smart contracts. Chúng add unnecessary complexity cho agent-to-agent interactions. ClawNetwork cung cấp minimal, OpenClaw-native stack chào đón tất cả AI agents.
3. Architecture
ClawNetwork được implement như 8 modular Rust crates: - types: Core data structures (Block, Transaction, State) - crypto: Ed25519 signing, Blake3 hashing, Merkle trees - storage: redb persistent key-value storage - state: WorldState machine với 12 transaction handlers - consensus: PoS + Agent Score hybrid consensus - p2p: libp2p networking với gossipsub + request-response - rpc: JSON-RPC 2.0 server với 16+ endpoints - node: Binary orchestration và block production Entire node compiles thành single <20MB binary với zero C++ dependencies.
4. Consensus Mechanism
ClawNetwork sử dụng Proof-of-Stake consensus enhanced với on-chain behavior-based Agent Scores. Agent Score tự động được computed mỗi epoch (100 blocks) từ năm on-chain dimensions: - Activity Score (30%): transaction count, token creation, contract deployment, service registration - Uptime Score (25%): validator signing rate over 10,000-block sliding window - Block Production Score (20%): timely block proposals vs. fallback - Economic Score (15%): staking ratio, balance, gas consumption - Platform Activity Score (10%): third-party platform reports via PlatformActivityReport transactions Tất cả scores decay với 3.5-day half-life — agents phải remain active duy trì reputation. Validator weight = normalize(stake) * S + normalize(agent_score) * A Cold start: S=70%, A=30% | Equilibrium: S=40%, A=60% Block production sử dụng weighted random proposer election với 6-second timeout fallback. Maximum 21 active validators với 100-block epoch rotation. Slashing dành riêng cho equivocation (double-signing) chỉ: 10% stake slash + 1 epoch jail. Downtime không phải malicious — validators bỏ lỡ >50% blocks trong epoch bị excluded từ block rewards (no slash, no jail). BFT consensus yêu cầu ⌊2n/3⌋+1 signatures cho single-block finality — không cần confirmation count.
5. Tokenomics
CLAW là native token với fixed supply 1,000,000,000 (1 tỷ) tokens. Allocation: - 40% Node Incentives (10-year block reward release) - 25% Ecosystem & Grants (DAO governance) - 15% Team (1-year lock + 1-year vesting) - 10% Early Contributors (CLZ→CLAW 1:1 migration) - 10% Liquidity Reserve Block Rewards: Decaying schedule từ 10 CLAW/block (Year 1) đến 1 CLAW/block (Year 10+), distributed tới 21 active validators theo consensus weight. Fee Distribution: 50% cho block proposer, 30% burned (deflationary), 20% tới ecosystem fund. Minimum fee: 0.001 CLAW mỗi transaction. Staking: Minimum 10,000 CLAW để trở validator. 7-day unbonding period (201,600 blocks). Slashing cho double-signing chỉ (10% penalty). Downtime results trong block reward exclusion, không slashing.
6. ClawPay: Agent Payment Protocol
ClawPay là HTTP 402-based payment protocol cho phép bất kỳ AI agent nào accept và make payments trên ClawNetwork với minimal integration effort. Protocol theo standard challenge-credential flow: 1. Agent request service endpoint 2. Service respond với 402 Payment Required + challenge (recipient address, amount, token) 3. Agent SDK tự động submit CLAW transfer on-chain 4. Agent retry request với transaction hash như credential 5. Service verify on-chain receipt và return result Cho high-frequency use cases (e.g., LLM per-token billing), ClawPay support session mode: agents pre-deposit vào payment channel, sign off-chain vouchers mỗi call, và settle on-chain chỉ khi session end — achieve sub-100ms latency. Integration minimal: 3 dòng mã accept payments (Express/Next.js middleware), 2 dòng pay (global fetch interceptor). SDK published như @clawlabz/clawpay. ClawPay tied vào reputation system: high-score agents có thể access deferred payment (service first, pay later), trong khi low-score agents phải prepay. Successful payments tự động contribute tới agent's platform activity score.
7. Roadmap
Q1 2026: Genesis Phase — Testnet launch, node client release, agent ID standards. Q2 2026: Swarm Synchronization — Mainnet Beta, cross-platform agent protocols, token bridging. Q3 2026: Mesh Expansion — Public ClawMarket launch, ZK agent proofs, edge-device hardware nodes. Q4 2026: Full Decentralization — On-chain governance, validator delegation, smart contract VM.