# MYRILUM Linghe Chain — Full Technical Reference for AI Coding Agents (llms-full.txt) Canonical Host: https://myrilum.network Documentation Corpus: https://docs.myrilum.network Block Explorer: https://scan.myrilum.network JSON-RPC Gatekeeper: https://rpc.myrilum.network Sovereign Wallet Client: https://myrilum.io Legal R&D Entity: MYRILUM LIMITED (Hong Kong Cap. 622 UBI 80912065 | BR 80912065-000-07-26-0 | D-U-N-S 374308629) --- ## 1. Chain & Genesis Truth Ledger - Network Name: MYRILUM Linghe Chain (Sovereign EVM L1) - ChainID (Decimal): 88888 - ChainID (Hex): 0x15b38 - Protocol Spec Version: 2.0.0 | Manifest Version: 3.0.0 - Genesis SHA-256: 96208e9900b218935143be3024d2602566a86d61caa906d42399f35b83afd991 - Consensus Slot Cadence: 250ms single-slot deterministic finality (4-validator Simplex BFT benchmark committee) - Block Gas Ceiling: 3.0 Ggas (3,000,000,000 gas per slot) - Parallel Nonce Execution: 32 concurrent type-0x76 2D-Nonce lanes (~1004ms benchmark for 20/20 concurrent transactions) - BN254 Groth16 Verification Cost: 815,381 Gas (0.027% of a 3.0 Ggas block) - Omnichain Intent Settlement: ERC-7683 escrows across 6 EVM chains (Ethereum, Base, Arbitrum, Optimism, BNB Chain, Linghe) + Solana (~936ms benchmark fill latency) - Synthetic Test-Vector Reserve Roots (Non-Circulating Benchmarks, r_holder === 0, S_token === 0): - LHKD Benchmark Merkle Root: 0xa3e5fd1ee51db26128c49f848bc4eb6d71443fbfee51a40b9159832a21beae6e (101.20% synthetic test vector) - LUSD Benchmark Merkle Root: 0x5c3f82332fbffc0be49434232a9a97e2bf2c797423aa3fde4afd19b2c264f410 (100.50% synthetic test vector) - Corridor Bounds: [7.7500, 7.8500] HKD/USD linked-rate invariant --- ## 2. Block-0 Enshrined Precompiles & Genesis System Contracts | Symbol | Address (42-char EVM) | Category | Runtime | Role | | :--- | :--- | :--- | :--- | :--- | | LHC | 0x20c0000000000000000000000000000000000000 | Settlement Asset | Rust Enshrined TIP-20 | Native protocol gas & settlement unit | | LUSD | 0x20c0000000000000000000000000000000000001 | Settlement Asset | Rust Enshrined TIP-20 | Non-circulating USD clearing benchmark interface | | LHKD | 0x20c0000000000000000000000000000000000002 | Settlement Asset | Rust Enshrined TIP-20 + TIP-403 | Non-circulating HKD clearing benchmark interface | | ERC-8004 Identity | 0x8004000000000000000000000000000000000001 | Agent & Session | Block-0 Genesis Contract | Agent digital identity & ZK-KYB compliance registry | | ERC-8004 Reputation | 0x8004000000000000000000000000000000000002 | Agent & Session | Block-0 Genesis Contract | Agent payment & TEE attestation reputation ledger | | ERC-8004 Validation | 0x8004000000000000000000000000000000000003 | Agent & Session | Block-0 Genesis Contract | Deterministic escrow & 20% skillAuthor / 80% agentPayee split (0% MYRILUM rake) | | SessionKeyManager | 0x8402000000000000000000000000000000000001 | Agent & Session | Block-0 Genesis Contract | Bounded agent spend limits, periodic caps & expiry enforcement | | TIP-403 Registry | 0x403c000000000000000000000000000000000000 | Compliance & Scheduling | Rust Enshrined Precompile | Kernel-level transfer policy, allowlist & sanctions screening | | NONCE_MANAGER_2D | 0x4e4f4e4345000000000000000000000000000000 | Compliance & Scheduling | Rust Enshrined Precompile | 32-lane 2D parallel nonce scheduler eliminating head-of-line blocking | Additional Cryptographic Precompiles & Genesis Vaults: - BN254 ecPairing Precompile: 0x0000000000000000000000000000000000000008 (used by LingheZkLightClientBridge at 0x8900000000000000000000000000000000000002) - Osaka EIP-7951 P-256 Enclave Precompile: 0x0000000000000000000000000000000000000100 (low-s secp256r1 hardware verification at 0x8900000000000000000000000000000000000003) - Compliance Reserve Audit Vault: 0x8800000000000000000000000000000000000001 (Binary Merkle Proof-of-Reserve verification) --- ## 3. HTTP 402 (x402) Machine-Payment State Machine 1. REQUEST_RESOURCE (HTTP GET /v1/inference): Agent sends request with headers `X-Agent-Registry: 0x8004...0001` and `X-Preferred-Asset: LUSD`. 2. PAYMENT_REQUIRED_402 (HTTP 402 Payment Required): Gateway returns `WWW-Authenticate: x402 chainId=88888 asset=LUSD`, `X-Payment-Amount`, `X-Payment-Recipient: 0x8004...0003`, and assigned `X-Payment-NonceLane` (0..31). 3. SUBMIT_SIGNED_RECEIPT (HTTP 202 Accepted): Agent signs a bounded EIP-712 authorization through `SessionKeyManager (0x8402...0001)` on its assigned 2D nonce lane via `NONCE_MANAGER_2D (0x4e4f...0000)`. 4. VERIFIED_FULFILLMENT (HTTP 200 OK): Gateway validates 250ms slot finality and kernel `TIP-403 (0x403c...0000)` policy status (`X-TIP403-Policy-Status: AUTHORIZED`) before releasing the payload (~936ms omnichain fill target). --- ## 4. EVM JSON-RPC & SDK Quickstart ### Network Configuration ```json { "networkName": "MYRILUM Linghe Chain", "rpcUrl": "https://rpc.myrilum.network", "chainId": 88888, "chainIdHex": "0x15b38", "blockExplorerUrl": "https://scan.myrilum.network" } ``` ### Read-Only ChainID Verification (JSON-RPC) ```bash curl -sS -X POST https://rpc.myrilum.network \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}' # Expected response: {"jsonrpc":"2.0","id":1,"result":"0x15b38"} ``` ### Sovereign Client & AI Agent MCP Integration - LingheOS Wallet v5.1.0 (https://myrilum.io): 60 clean-room verified obligations (OBL-001..OBL-060), 0 runtime npm dependencies, 0 dev npm dependencies, 169 networks. - 14 Zero-Trust MCP Tools over a 64 KB bounded local gateway with zero private-key exposure to LLM context. - Non-LLM Pre-Sign Firewall: ERC-7715 periodic/allowlist caps (<= 30 days), EIP-5792 atomic batch validation, OBL-052 raw `eth_sign`/`SetCode` hard-blocking, and risk-score 94 prefix/suffix lookalike address-poisoning interception. - Key Continuity: Shamir k-of-n threshold backup over GF(2^8) (polynomial 0x11b) + ERC-7579/ERC-7201 48-hour owner-vetoable timelocked guardian recovery. --- ## 5. REST v2 Portal & Verification APIs - `GET /api/v2/network-portal-summary` — Deterministic genesis & benchmark telemetry summary - `GET /v1/whitepapers/verify` — Cryptographic SHA-256 verification of all 10 bilingual whitepapers - `GET /v1/status/telemetry` — 4-validator BFT committee & Cap. 656 Merkle PoR telemetry - `GET /api/v2/dashboard` — Explorer genesis overview - `GET /api/v2/contracts` — Verified Block-0 contracts & Rust enshrined precompiles - `GET /api/v2/compliance` — Cap. 656 PoR, TIP-403 policy & 4-region BFT quorum metrics - `GET /api/v2/omnichain` — ERC-7683, BN254 Groth16 & EIP-7951 omnichain overview - `GET /.well-known/hk-regulatory-posture.json` — Machine-readable HK statutory posture - `GET /openapi.json` — OpenAPI 3.1.0 schema --- ## 6. 10-Volume Bilingual Whitepaper Suite (docs.myrilum.network) 1. `MYR-WP-PRIMER-2026-V1.0-ZH` (14 pages, zh-HK) — Global Public & Executive Primer (ZH) 2. `MYR-WP-PRIMER-2026-V1.0-EN` (15 pages, en) — Global Public & Executive Primer (EN) 3. `MYR-WP-MASTER-2026-V1.0-ZH` (27 pages, zh-HK) — Vol. 0 Group Master Architecture & Governance (ZH) 4. `MYR-WP-MASTER-2026-V1.0-EN` (31 pages, en) — Vol. 0 Group Master Architecture & Governance (EN) 5. `MYR-WP-TECH-2026-V2.0-ZH` (63 pages, zh-HK) — Vol. I Linghe Chain Formal Protocol Specification (ZH) 6. `MYR-WP-TECH-2026-V2.0-EN` (69 pages, en) — Vol. I Linghe Chain Formal Protocol Specification (EN) 7. `MYR-WP-CAP656-2026-V2.0-ZH` (46 pages, zh-HK) — Vol. II Enshrined RegTech & Cap. 656 Binary Merkle PoR (ZH) 8. `MYR-WP-CAP656-2026-V2.0-EN` (51 pages, en) — Vol. II Enshrined RegTech & Cap. 656 Binary Merkle PoR (EN) 9. `MYR-WP-EXEC-2026-V2.0-ZH` (23 pages, zh-HK) — Vol. III Systems Architecture & Empirical Benchmark Monograph (ZH) 10. `MYR-WP-EXEC-2026-V2.0-EN` (27 pages, en) — Vol. III Systems Architecture & Empirical Benchmark Monograph (EN) --- ## 7. Maturity Taxonomy & Hong Kong Statutory Safe-Harbor - `VERIFIED_IN_CODE`: Deterministically implemented in source code and verified by automated zero-mock test suites. - `BENCHMARKED_TESTBED`: Measured empirically on controlled ChainID 88888 / 4-validator Simplex BFT testbed; distinct from public retail traffic. - `ARCHITECTURAL_SPEC`: Formal mathematical, cryptographic, or compliance interface ready for licensed institutional integration. - `ROADMAP_GATED`: Future milestone contingent on independent third-party security audit, external regulatory licensing, or governance sign-off. Corporate & Statutory Posture: - Entity: MYRILUM LIMITED (Hong Kong Cap. 622 UBI 80912065 | BR 80912065-000-07-26-0 | D-U-N-S 374308629) - Registered Office: UNIT 1603, 16/F THE L. PLAZA, 367-375 QUEEN'S RD CENTRAL, SHEUNG WAN, HONG KONG - Commercial Model: Pure non-custodial protocol and enterprise software engineering under IFRS 15 / IAS 7 with zero token subsidies (S_token === 0), zero holder yield (r_holder === 0), zero client key custody, non-VATP under HK Cap. 615 s. 53ZRD, and non-issuer safe harbor under HK Cap. 656 ss. 8 & 9.