PoT-O RFC Implementation Mapping
This page ties the PoT-O-related Tribechain RPC RFCs to their concrete code locations and running services. It is intended as a practical guide for developers who want to validate the RFCs against live implementations.
PoT-O Validator layout (testnet RPC)
The off-chain validator lives under gateway.tribewarez.com/testnet.rpc.gateway.tribewarez.com/pot-o-validator/. Structure:
| Component | Path | Description |
|---|---|---|
| pot-o-validator (binary + lib) | pot-o-validator/ | Main HTTP service and library re-exports; entry: src/main.rs, src/lib.rs |
| core | pot-o-validator/core/ | Rust crate pot-o-core: block/transaction types, errors, constants |
| ai3-lib | pot-o-validator/ai3-lib/ | Rust crate ai3-lib: tensor engine, ESP compat, mining operations |
| mining | pot-o-validator/mining/ | Rust crate pot-o-mining: challenge generation, MML/neural path validation, PoT-O consensus |
| extensions | pot-o-validator/extensions/ | Rust crate pot-o-extensions: DeFi, pool strategy, device protocol, chain bridge, peer network, security |
| firmware | pot-o-validator/firmware/ | C/C++ (PlatformIO): ESP32-S / ESP8266 miner (esp-pot-o-miner) |
| tests | pot-o-validator/tests/, pot-o-validator/ai3-lib/tests/ | Integration tests (e.g. http_status_smoke, engine_smoke); run with cargo test |
Validator modules: src/config.rs, src/consensus.rs, src/device_registry.rs, src/extensions_bootstrap.rs, src/http_api.rs. Auxiliary binaries: src/bin/pot_o_mml_calibrate.rs, src/bin/pot_o_timing.rs, src/bin/pot_o_golden_proofs.rs. API docs: Crates & API.
TW-RPC-001 — PoT-O Core (PoT-O V2)
Specification
- RFC document: PoT-O V2
- High-level docs: PoT-O, How It Works
- API reference: API Reference (backed by
openapi/pot-o.yaml)
Code
- Off-chain validator:
gateway.tribewarez.com/testnet.rpc.gateway.tribewarez.com/pot-o-validator/ - Consensus logic:
pot-o-validator/mining/src/pot_o.rs,challenge.rs,neural_path.rs,mml_path.rs - Tensor engine and ESP compat:
pot-o-validator/ai3-lib/ - Validator HTTP and config:
pot-o-validator/src/http_api.rs,config.rs,consensus.rs,device_registry.rs,extensions_bootstrap.rs - Solana program:
programs/tribewarez-pot-o/src/lib.rs
- Off-chain validator:
Services
- PoT-O validator HTTP API (testnet):
https://pot.rpc.gateway.tribewarez.com(see/health,/status,/challenge,/submit) - Solana RPC gateway:
https://testnet-solana.rpc.gateway.tribewarez.com - Status dashboard:
https://status.rpc.gateway.tribewarez.com
- PoT-O validator HTTP API (testnet):
TW-RPC-003 — Staking (PoT-O V3)
- Code:
programs/tribewarez-staking/,pot-o-validator/extensions/src/defi.rs,pool_strategy.rs - Services: DeFi staking UI at defi.tribewarez.com, status dashboard staking section
TW-RPC-004 — Vault / Treasury (PoT-O V4)
- Code:
programs/tribewarez-vault/ - Services: DeFi vault UI, status dashboard treasury section
TW-RPC-005 — PQC, Tor/Onion, Mesh (PoT-O V5)
- Code:
pot-o-validator/core,pot-o-validator/src/(ProofAuthority trait), Docker/infra scripts - Services: Tor/onion endpoints where configured, status dashboard PQC/Tor widgets
Non-Normative Applications
- TribeWarez Terminal — Apps: Terminal
- DeFi Portal — Apps: DeFi Portal
- Numerology apps — Numerology Wars, Mystic Numbers
- Hub — Apps: Hub