Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Chip Role Notes
Phi Primary compute Ternary MAC array
Euler Routing / control On-chip mesh NoC
Gamma Storage / proof PoRep 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)

Method Description
chip_info Returns ChipId (PUF digests)
get_attestation Returns latest 2-of-3 attestation
get_mining_stats Mining 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