Chain Overview
TribeWarez runs two testnets and a custom consensus layer:
- Solana Testnet -- Local
solana-test-validatorwith full RPC, airdrop faucet, and gossip/TPU for external validators. - EVM Testnet -- Geth PoW testnet (chain ID 5555) with a pre-funded genesis account.
- PoT-O Validator (v4.1) -- Off-chain Proof of Tensor Optimizations engine with Hexchain spatial consensus that submits proofs to a Solana on-chain program.
All three services run in the tw-web3-infra-stack Docker Compose profile and are accessible through the nginx-proxy reverse proxy with automatic SSL.
Hexchain Consensus (v4.1)
PoT-O v4.1 introduces Hexchain, a leaderless, P2P consensus layer that organizes blocks into a hexagonal lattice using Hex Coordinate Projection (HCP):
- Spatial Ordering – blocks are positioned deterministically in a 3D hex lattice
- Peer-to-Peer – no central validator; all nodes derive the same lattice from proofs
- Efficient Sync – new nodes join and incrementally sync their region of the lattice
- Fork Resolution – coordinate + depth uniquely identifies blocks; conflicts resolve by proof depth
See Hexchain Integration for full details.
Architecture
Client requests
|
nginx-proxy (80/443)
|
+-- testnet-solana.rpc.gateway.tribewarez.com --> solana-rpc-proxy --> test-validator
+-- testnet-eth.rpc.gateway.tribewarez.com ----> Geth (8545)
+-- pot.rpc.gateway.tribewarez.com ------------> PoT-O Validator (8900)
| ├── /challenge, /submit (standard PoT-O)
| ├── /hexchain/challenge, /submit, /status, /lattice
+-- status.rpc.gateway.tribewarez.com ---------> Status API (3000)
| └── Proxies pot-o-validator endpoints