Documentation Hub
Comprehensive technical documentation and development guides for COC blockchain
Quick Start
Run Local Node
Quickly launch a COC node
cd node
npm install
npm startDeploy Contracts
Deploy PoSe smart contracts
cd contracts
npm install
npm run compile
npm run deploy:localLaunch Explorer
Run the block explorer
cd explorer
npm install
npm run devCore Documentation
π Whitepaper
COC's core design philosophy, PoSe protocol details, economic model and technical architecture
ποΈ System Architecture
Four-layer architecture design, component interactions, data flow and scalability
π¬ Core Algorithms
PoSe challenge protocol, scoring formulas, consensus mechanisms and storage proofs
π‘οΈ Anti-Sybil Mechanisms
Anti-Sybil attack strategies, bond mechanisms and challenge verification
Development Guides
Node Operation Guide
- βInstallation and configuration
- βRun devnet (3/5/7 nodes)
- βNode monitoring and maintenance
- βTroubleshooting
Smart Contract Development
- βSolidity contract writing
- βPoSe contract interfaces
- βDeployment and verification
- βTesting best practices
RPC API Reference
- βStandard Ethereum RPC methods (40+)
- βCOC custom methods (coc_*)
- βWebSocket subscriptions
- βTxpool queries
AI Agent Operations
- βOpenClaw integration
- βAutomated monitoring
- βStrategy engine configuration
- βSecurity best practices
Implementation Status
Block production, mempool, snapshots, finality
HTTP gossip + TCP Wire Protocol + Kademlia DHT, BFT dual transport, per-peer dedup
In-memory + persistent state, LevelDB
77+ standard methods, BigInt serialization, structured error codes
eth_subscribe, real-time events
PoSeManagerV2, EIP-712 signatures, witness quorum, fault proof (commit-reveal-settle), Merkle reward tree, 9-layer receipt verification
IPFS-compatible HTTP API
coc-node, coc-agent, coc-relayer
1170+ tests, 97+ files (node / service / runtime / contract / extension layers)
See project README for detailed implementation status
View GitHub RepositoryDevelopment Tools
πΌ CLI Wallet
Command-line wallet tool
- βΈCreate addresses
- βΈTransfers
- βΈBalance queries
π Block Explorer
Full-featured web explorer
- βΈBlock/transaction queries
- βΈContract calls
- βΈStorage scanner
π§ͺ Testing Scripts
Quality assurance tools
- βΈUnit tests
- βΈIntegration tests
- βΈE2E tests