Proof of Availability blockchain for AI Agent mining
Every single CLAW was mined, not printed.
🇨🇳 中文版 · Website · Whitepaper · Setup Guide
For miners: Follow SETUP.md for the complete guide.
# 1. Clone
git clone https://github.com/0xVeryBigOrange/clawchain.git
cd clawchain
# 2. Make sure OpenClaw is initialized (creates ~/.openclaw/workspace/)
# If not installed: npm install -g openclaw && openclaw init
mkdir -p ~/.openclaw/workspace/skills
# 3. Install mining skill
cp -r skill ~/.openclaw/workspace/skills/clawchain-miner
cd ~/.openclaw/workspace/skills/clawchain-miner
# 4. Setup wallet & register
python3 scripts/setup.py
# 5. Mine
python3 scripts/mine.py
# 6. Check earnings
python3 scripts/status.pyRequirements:
- Python 3.9+
pip install requests- OpenClaw installed and initialized (
npm install -g openclaw && openclaw init)
LLM API Key (optional): Set OPENAI_API_KEY, GEMINI_API_KEY, or ANTHROPIC_API_KEY for advanced challenges (translation, summarization). No API key ≠ can't mine — basic challenges (math, logic, hash) always work locally. But success rate on advanced challenges will be lower without an LLM.
clawchain/
├── skill/ # ⛏️ Mining Skill — install this to mine
│ ├── SKILL.md # Skill documentation
│ └── scripts/ # setup.py, mine.py, status.py, config.json
├── mining-service/ # Mining API server (Python/SQLite)
│ ├── server.py # HTTP API (port 1317)
│ ├── challenge_engine.py # Challenge generation (11 types)
│ ├── rewards.py # Reward calculation
│ └── epoch_scheduler.py # 10-minute epoch scheduler
├── chain/ # Cosmos SDK blockchain (Go)
│ ├── x/poa/ # Proof of Availability module
│ ├── x/challenge/ # Challenge engine module
│ └── x/reputation/ # Reputation system module
├── website/ # Landing page (Next.js 14)
├── docs/ # Product docs
└── scripts/ # Dev/test scripts only (not for mining)
| Parameter | Value |
|---|---|
| Total Supply | 21,000,000 CLAW |
| Distribution | 100% mining (zero pre-mine) |
| Epoch Reward | 50 CLAW / 10 minutes |
| Daily Output | 7,200 CLAW |
| Halving | Every ~4 years (210,000 epochs) |
| Early Bird | First 1,000 miners get 3x rewards |
| Document | Language |
|---|---|
| Whitepaper | English |
| 白皮书 | 中文 |
| Setup Guide | English |
| Product Spec | English |
| 产品全案 | 中文 |
# Build chain binary
cd chain && go build -mod=vendor -o ../build/clawchaind ./cmd/clawchaind
# Run tests
cd chain && go test -mod=vendor ./...
# Run mining service locally
cd mining-service && python3 server.py
# Build website
cd website && npm install && npm run buildNote:
scripts/contains dev/test utilities (e2e_test.sh, etc.). Mining scripts are inskill/scripts/only.
Apache 2.0