Core Protocol — Rust

UnyKorn L1

Production Layer 1 blockchain runtime with 4-tier architecture. 17 Rust crates (POPEYE/TEV/MARS/TAR + Genesis Protocol). 5 Solidity contracts (LPS-1). 398+ tests. Zero unsafe blocks.

Executive Overview

UnyKorn L1 is a production blockchain runtime implemented in pure Rust. The L1 core (Popeye-Tars-Mars-Tev) provides 4 crates with strict trust boundaries: POPEYE (P2P), TEV (crypto gate), MARS (state machine), and TAR (persistence). The Genesis Protocol (FTHTrading/AI) adds 13 crates for evolutionary economics simulation with dual-chain anchoring.

The trust model is absolute: untrusted network data enters through POPEYE, passes through the TEV Ed25519 verification gate, and only then reaches MARS for deterministic execution and TAR for crash-safe persistence. “If MARS says no, the network doesn't matter.” 398+ tests. Zero unsafe blocks.

Protocol Metrics

17

Rust Crates

398+

Tests Passing

4

Architecture Tiers

5

Solidity Contracts

1,820

Experiment Worlds

0

Unsafe Blocks

4-Tier Architecture

T1

UnyKorn L1 Runtime

Production blockchain runtime from unykornai/Popeye-Tars-Mars-Tev. POPEYE handles P2P via libp2p gossipsub (no state mutation). TEV is the Ed25519 crypto gate (stateless, 96-byte transport). MARS is the deterministic state machine (no networking/disk). TAR handles crash-safe writes with atomic commits (no validation). 49 tests. 3s block time. Chain ID: unykorn-mainnet.

POPEYE (libp2p P2P)TEV (Ed25519 Gate)MARS (State Machine)TAR (Persistence)NODE (Orchestration)
T2

Genesis Protocol

Deterministic evolutionary economics engine from FTHTrading/AI. 13 Rust crates, 349 tests, 1,820 experiment worlds, 910,000 total epochs. Dual-chain anchoring (SHA-256 state + BLAKE3 genome). DOI: 10.5281/zenodo.18729652.

genesis-dnametabolismgenesis-econometricsevolutionecosystemgenesis-homeostasisgenesis-multiversegenesis-experimentgenesis-anchorgenesis-replaygenesis-federationgatewayapostle
T3

FTH Document Intelligence

8-layer sovereign document infrastructure from FTHTrading/DOCS. ~130 TypeScript source files. SHA-256 fingerprinting, AES-256-GCM, PBKDF2. 5 hash-chained ledgers. IPFS/Kubo on Port 8081. 10 system invariants.

Core Engine (32 files)Signing GatewaySDC (Secure Docs)SCA (Telnyx Comms)Perimeter (Cloudflare ZT)Ledger (IPFS/Kubo)OperationsGovernance (3-Tier)
T4

LPS-1 Literary Protocol

5 Solidity contracts + JS pipeline from FTHTrading/LPS-1. State machine: DRAFT → COMPILED → HASHED → MERKLE_BUILT → PINNED → ANCHORED → PUBLISHED. 58 tests. ECDSA secp256k1. 48-hour timelock. Level 3 conformance.

LiteraryAnchor.solPublishingKernelV2.solRoyaltyRouter.solAuthorIdentity.solMerkle Pipeline (4 trees)

Funding Rails — 5 Settlement Networks

XRPL Bridge

Production

Native integration with XRP Ledger for token issuance, AMM pools, escrow, and cross-currency payments. 3-5 second settlement finality.

Circle USDC/CCTP

Production

Cross-Chain Transfer Protocol integration for native USDC settlement across EVM chains. Institutional stablecoin on/off ramp.

Fireblocks Custody

Integrated

MPC-CMP institutional custody integration. Policy-engine approvals, cold/warm/hot wallet architecture, SOC 2 Type II.

BitGo Multi-Sig

Integrated

Multi-signature wallet infrastructure. 2-of-3 key management, governance-enforced spending policies, insurance-backed custody.

Trade Finance (UCP 600)

Modeled

ICC Uniform Customs and Practice for Documentary Credits. Letters of credit, standby LCs, documentary collections for cross-border capital.

Validator Hierarchy — 6 Classes

ClassMin StakeRole
Genesis≥100,000Network founders. Full block production. Genesis ceremony participants.
Foundation≥50,000Institutional validators. Block production and governance voting rights.
Institutional≥25,000Fund managers and accredited entities. Validation + limited governance.
Professional≥10,000Professional operators. Block validation with standard rewards.
Community≥1,000Community participation. Delegation and reward sharing.
Observer≥100Network observers. Read-only state access and metrics monitoring.

Domain Modules — 12 Subsystems

Treasury

Multi-asset treasury management with policy-controlled spending, reserve requirements, and yield optimization.

Identity (DID)

W3C DID-compliant decentralized identity. Verifiable credentials, selective disclosure, institutional KYC binding.

Compliance (KYC/AML)

On-chain compliance enforcement. Transfer restrictions, accreditation verification, sanctions screening integration.

Governance

Multi-tier governance with proposal lifecycle, quorum thresholds, timelock execution, and emergency override.

RWA Tokenization

Real-world asset lifecycle: origination, tokenization, distribution, servicing, and redemption.

Carbon Credits

Verra VCS compatible carbon credit issuance, retirement tracking, and forward sale automation.

Energy Markets

PPA modeling, energy certificate tracking, renewable energy credit (REC) management.

IP Registry

Intellectual property registration, licensing automation, and royalty distribution.

Notary

Document notarization, timestamping, and tamper-proof verification with BLAKE3 integrity proofs.

TLD Registry

Top-level domain registration and resolution for decentralized naming infrastructure.

Vaults (ERC-6551)

Token-bound account vaults for complex asset composition and programmatic custody.

Credit Ledger

Double-entry credit ledger for institutional lending, borrowing, and debt instrument tracking.

Cryptographic Primitives

Ed25519

Edwards-curve Digital Signature Algorithm. Account keypairs, transaction signing, validator identity. Deterministic, no nonce reuse risk.

SHA-256

Block hashing, Merkle tree construction, transaction integrity proofs. NIST-standard collision resistance for institutional audit compliance.

BLAKE3

High-performance hashing for content addressing, document notarization, and data integrity verification. Parallelizable SIMD acceleration.

Engineering Principles

Zero Unsafe

Entire codebase compiles with #![forbid(unsafe_code)]. Memory safety guaranteed by the Rust type system.

Deterministic Execution

All state transitions are deterministic. Same inputs produce identical outputs across any validator node.

Modular Architecture

17 Rust crates + 5 Solidity contracts across 4 tiers. No circular dependencies. Independent compilation and testing.

Institutional Grade

Built for regulated capital markets. Every design decision prioritizes auditability, compliance, and institutional trust.

Explore

This is not a fork. Not a framework wrapper. Every crate, every module, every consensus rule is written from scratch in Rust with a single purpose: deterministic institutional capital formation.