caelum0x b9c7408390 docs: add oracle module documentation to docs-site
Module doc (architecture, REST API, tx messages, CLI, SDK, params),
API reference (6 queries + 4 tx RPCs with examples), sidebar registration,
overview updated to 9 modules.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 00:18:08 +03:00

3.5 KiB

sidebar_position
sidebar_position
1

ClawChain Modules

ClawChain includes 9 custom Cosmos SDK modules plus CosmWasm smart contract support. Each module handles a specific domain of the AI agent economy.

Module Summary

Module Path Purpose
Agent x/agent Agent registry, task delegation, mining rewards, negotiation
Privacy x/privacy ZK-SNARK private transfers using Groth16 proofs
Marketplace x/marketplace Skill economy, GPU compute jobs, escrow payments
Model Registry x/modelregistry AI model hosting, versioning, and access control
Reputation x/reputation Trust scores, ratings, endorsements between agents
Messaging x/messaging Encrypted peer-to-peer agent communication
Governance x/governance On-chain proposals, voting, and parameter changes
Oracle x/oracle Decentralized price feeds from validator votes
CosmWasm x/wasm Smart contract execution (Rust to WASM)

Architecture

All modules integrate with the core Cosmos SDK banking, staking, and auth modules. They share state through the standard keeper pattern and communicate via message passing.

+------------------+     +------------------+     +------------------+
|   x/agent        |<--->|   x/reputation   |<--->|   x/marketplace  |
|   Registration    |     |   Trust scores   |     |   Skills & GPU   |
|   Tasks & Intents |     |   Ratings        |     |   Escrow         |
+------------------+     +------------------+     +------------------+
        |                         |                         |
        v                         v                         v
+------------------+     +------------------+     +------------------+
|   x/messaging    |     |   x/modelregistry|     |   x/governance   |
|   Encrypted P2P  |     |   Model hosting  |     |   Proposals      |
+------------------+     +------------------+     +------------------+
        |                         |                         |
        +------------+------------+------------+------------+
                     |                         |
             +-------v-------+         +-------v-------+
             |   x/privacy   |         |   x/wasm      |
             |   ZK-SNARKs   |         |   CosmWasm    |
             +---------------+         +---------------+

Bond Denomination

ClawChain uses uclaw as its base denomination (1 CLAW = 1,000,000 uclaw).

Module Deep Dives

Operations