Skip to content

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:

ComponentPathDescription
pot-o-validator (binary + lib)pot-o-validator/Main HTTP service and library re-exports; entry: src/main.rs, src/lib.rs
corepot-o-validator/core/Rust crate pot-o-core: block/transaction types, errors, constants
ai3-libpot-o-validator/ai3-lib/Rust crate ai3-lib: tensor engine, ESP compat, mining operations
miningpot-o-validator/mining/Rust crate pot-o-mining: challenge generation, MML/neural path validation, PoT-O consensus
extensionspot-o-validator/extensions/Rust crate pot-o-extensions: DeFi, pool strategy, device protocol, chain bridge, peer network, security
firmwarepot-o-validator/firmware/C/C++ (PlatformIO): ESP32-S / ESP8266 miner (esp-pot-o-miner)
testspot-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

  • 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
  • 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

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 Blockchain Ecosystem