Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

Repository files navigation

TrinityNode

TrinityNode is a DePIN daemon that manages a Trinity triad chip (Phi + Euler + Gamma) inside a decentralised physical-infrastructure network. The daemon handles chip attestation, mining-loop proofs, validator hooks, PoRep/PoC proofs, and a JSON-RPC API.

⚠️Pre-silicon status — hardware tape-out scheduled 2026-12-16. All hardware-touching code paths are mock/stub implementations that compile and pass tests. Performance projection: ~1 GOPS @ ~50 MHz @ ~1 W ternary (projected, pending tape-out 2026-12-16).


Architecture — 4-Layer Model

┌─────────────────────────────────────────────────────┐
│ Layer 4 — Network / API │
│ JSON-RPC :9933 · Bittensor BIT-0011 · DePIN P2P │
├─────────────────────────────────────────────────────┤
│ Layer 3 — Consensus │
│ Miner loop (12 s) · Validator loop (30 s) │
│ PoRep (Gamma B7 stub) · PoC (Helium stub) │
├─────────────────────────────────────────────────────┤
│ Layer 2 — Attestation │
│ 2-of-3 multi-sig · job digest · Trinity Triad sigs │
├─────────────────────────────────────────────────────┤
│ Layer 1 — Chip HAL │
│ chip_init · PUF identity · Lucas POST │
│ Anchor verification 0x47C0 on {uio_out, uo_out} │
└─────────────────────────────────────────────────────┘

Triad Roles

ChipRoleNotes
PhiPrimary computeTernary MAC array
EulerRouting / controlOn-chip mesh NoC
GammaStorage / proofPoRep sector engine (B7)

Build & Run

# Build
cargo build --release
# Run (mock mode, no real hardware required)
cargo run -- --port 9933
# Tests
cargo test# Lint
cargo clippy -- -D warnings

JSON-RPC Endpoints (:9933)

MethodDescription
chip_infoReturns ChipId (PUF digests)
get_attestationReturns latest 2-of-3 attestation
get_mining_statsMining loop counters

Token Economics (Era 0)

  • 1 000 TRI per accepted mining proof (Era 0 baseline).
  • Halving schedule TBD pending mainnet launch.

References


License

Apache-2.0 © 2024 Dmitrii Vasilev admin@t27.ai

About

TrinityNode — DePIN daemon for Trinity triad chips (Phi+Euler+Gamma). Pre-silicon Rust skeleton.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages