> For the complete documentation index, see [llms.txt](https://dhurichain.gitbook.io/dhurichain-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dhurichain.gitbook.io/dhurichain-docs/dhuri-chain-documentation.md). Agents can also search and read this documentation through its [MCP server](https://dhurichain.gitbook.io/dhurichain-docs/~gitbook/mcp).

# DHURI Chain Documentation

Welcome to the official technical documentation for **DHURI Chain** — an ultra-scalable, EVM-compatible, post-quantum-active Layer-1 blockchain engineered in pure Rust with Hybrid **BFT Proof-of-Stake (dPoS) + Mobile Hardware TEE Proof-of-Participation (PoP) + Proof-of-Intelligence (PoI) + Mobile Pruned Header Verifiers** consensus.

***

## Network Quick Reference

| Parameter                              | Canonical Mainnet                                                                                                                                                                                                             | Canonical Testnet                                                                                   | Hardhat Local Devnet       |
| -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -------------------------- |
| **Network Name**                       | `DHURI Chain` (`CANONICAL_MAINNET`)                                                                                                                                                                                           | `DHURI Testnet` (`CANONICAL_TESTNET`)                                                               | `DHURI Devnet`             |
| **Chain ID (EIP-155)**                 | **`70770`** (`0x11472`)                                                                                                                                                                                                       | **`70771`** (`0x11473`)                                                                             | **`70772`** (`0x11474`)    |
| **Native Ticker / Decimals**           | **`DHURI`** (`18`)                                                                                                                                                                                                            | **`tDHURI`** (`18`)                                                                                 | **`tDHURI`** (`18`)        |
| **Block Time / Epoch**                 | `3.0s` / `1,200` blocks (`1 hour`)                                                                                                                                                                                            | `3.0s` / `1,200` blocks (`1 hour`)                                                                  | `3.0s` / `1,200` blocks    |
| **Block Gas Limit / Base Fee**         | `30,000,000` / `1.0 Gwei` (USD-anchored dynamic floor)                                                                                                                                                                        | `30,000,000` / `1.0 Gwei`                                                                           | `30,000,000` / `1.0 Gwei`  |
| **Max Hard-Cap Supply**                | **`10,000,000,000 DHURI`** (`0%` tail inflation)                                                                                                                                                                              | `10,000,000,000 tDHURI`                                                                             | Local Genesis              |
| **Public JSON-RPC Mesh / WSS**         | `https://dhuriscan.com/rpc-mainnet`, `https://rpc.dhuriblockchain.com` (`wss://dhuriscan.com/rpc-mainnet`)                                                                                                                    | `https://testnet.dhuriscan.com/rpc`, `https://dhuriblockchain.com/rpc`, `https://dhuriscan.com/rpc` | `http://127.0.0.1:8545`    |
| **Local Node RPC / P2P Ports**         | `127.0.0.1:7072` / P2P `30304` (`dhuri-mainnet-70770`)                                                                                                                                                                        | `127.0.0.1:7071` / P2P `30303` (`dhuri-testnet-70771`)                                              | `127.0.0.1:8545` / `30303` |
| **Sovereign L1 Explorer (DhuriScan)**  | <https://dhuriscan.com>                                                                                                                                                                                                       | <https://testnet.dhuriscan.com>                                                                     | Local                      |
| **DHURI ONE Super-App & DeFi Portals** | <https://dhuriblockchain.com> (**`v0.4.6`**, `versionCode 124`) · [Swap](https://dhuriblockchain.com/swap.html) · [Bridge](https://dhuriblockchain.com/bridge.html) · [Fractions](https://dhuriblockchain.com/fractions.html) | <https://dhuriblockchain.com/faucet.html>                                                           | —                          |
| **Live Security Monitor**              | `/monitor` & `/report` (**requires `POP_ADMIN_TOKEN`** via `Authorization: Bearer` or `X-Admin-Token`; returns `401`/`403` unauthenticated)                                                                                   | Same (`POP_ADMIN_TOKEN`-gated)                                                                      | —                          |

***

## Core Architectural Pillars

1. **18-Crate Pure-Rust Engine & `redb-acid-kv-v2` Storage**
   * Built with **REVM `3.5.0`** (in-memory `StateStoreEvmDb`, EIP-170 `24,576`-byte runtime bytecode enforcement, 22 write-protected system contracts, and **3 native cryptographic precompiles**: `0x0100` RIP-7212 P-256, `0x0101` NIST FIPS-204 `ML-DSA-65`, and `0x0102` Bell-CHSH Quantum Entropy Beacon), a hardened Tokio HTTP/1.1 + RFC 6455 WebSocket RPC server (`127.0.0.1` default bind), `libp2p` Noise + Yamux + GossipSub v1.1 networking, `pop-bridge-relayer` cross-chain BFT verification, and a crash-safe Copy-on-Write **`redb 2.1`** B-Tree database (`8` ACID tables with incremental SHA-256 dirty-tracking).
   * Validated across **500+ automated Rust workspace tests**, **`49/49` Hardhat Solidity tests**, **`15/15` Android JUnit tests**, **`21/21` standalone web portal builds**, an 80-finding initial hardening pass, and the **`v0.4.5` Full 4-Phase White-Box Security Audit (`AUDIT-01..11`)**.
2. **4-Tier Participatory Node & Mobile Super-App Ecosystem**
   * **Genesis Foundation Validators (`val-pool-1..7`)**: `10,000,000 DHURI` self-stake (`1.00%` commission, up to `940,800` fractions/pool).
   * **Independent Community Validators (`val-indep-*`)**: Permissionless entry with `100,000 DHURI` self-stake, `0.50%` lowest commission (priority auto-routed), `1,000–10,000` fractions, `<= 20%` annualized operator emission cap, plus the **First-50 Independent Validator Bootstrap Program** (`+500` ecosystem fractions at `>= 99.5%` 30-day uptime).
   * **Server & Mobile Pruned Verifiers (`0 DHURI` Stake)**: Server pruned full nodes (`8..100,000` blocks) and CGNAT-safe **Mobile Pruned Header Verifiers** (`128`-block `stateRoot` ring buffer `< 64 KB`, `/p2p-circuit/dhuri-mobile-pruned`) earn a **`+15.0` PoP Reputation boost** and `-10` Sybil risk reduction.
   * **DHURI ONE Android Super-App (`v0.4.6`, `versionCode 124`)**: Multi-chain BIP-39/44 HD wallet (`DHURI`, `BSC`, `Ethereum`, `Polygon`, `Arbitrum`, `Base`), in-app EIP-1193/6963 Web3 DApp Browser (`window.ethereum` + `window.dhuriWallet`), Smart Multi-RPC Auto-Failover Mesh (`30s` circuit breaker + EWMA RTT scoring), optional On-Device Loopback RPC (`http://127.0.0.1:8545`), non-exportable `AndroidKeyStore` Hardware TEE (`secp256r1` P-256) silicon lock (`1 Phone = 1 Wallet`), split Vault/Node KeyStore keys, Class 3 Biometric auth, and SHA-256 + signer-pinned OTA updates.
3. **Zero-Inflation Hard-Cap Tokenomics (`10B DHURI`) & Native DeFi Suite**
   * **35% (`3.5B DHURI`)** Unified Mobile PoP Attestation & 10% Mobile Referral Pool (`0x...7001`).
   * **35% (`3.5B DHURI`)** Unified Validator Staking, Fractions & 10% Staking Referral Pool (`0x...7002`), bonded along an escalating whole-integer 3-tier global curve (`1,000 -> 2,000 -> 10,000 DHURI`, solved via `N * P(F+N)` binary search).
   * **30% (`3.0B DHURI`)** Ecosystem, DEX (`10%`) & CEX (`10%`) Liquidity, Grants (`4%`), Core Team (`4%`), Pioneer Airdrops (`1.5%`), and Testnet Faucet/Sandbox (`0.5%`), locked in **6 separate on-chain `TokenVestingVault.sol` contracts**.
   * **Native DeFi & Dual-Rail Fraction Gateway**: **DhuriSwap** constant-product AMM DEX + `DhuriTwapOracle` + `DhuriLpLocker`, **BSC <-> DHURI USDT Bridge** (`dUSDT`), and **`DhuriFractionGateway.sol`** enabling instant `dUSDT` & `INR` Validator Fraction bonding with organic DEX buy pressure.
   * **Per-Tranche 3-Year Auto-Stake Cliff & Deflationary Gas Split**: `50%` liquid / `50%` independent daily-coalesced `AutoStakeTranche` (`1,095`-day cliff, `1.25%/month` over `80` months); gas fees split **`50%` Stakers & Proposers / `30%` Permanently Burned / `20%` Treasury**.
4. **Active Quantum Suite & Next-Gen EVM Standards**
   * **Live Runtime Post-Quantum & Quantum Randomness Precompiles**: Native REVM **`0x0101` NIST FIPS-204 `ML-DSA-65`** lattice signature verifier (`fips204 v0.5.0`, `#![deny(unsafe_code)]`), **`0x0102` Bell-CHSH Certified Quantum Entropy Beacon (`2.0 < S <= 2\sqrt{2}`)**, `DhuriQuantumSuite.sol`, and 48-hour timelocked `PostQuantumKeyRegistry` (`0x...7006`).
   * **ERC-4337 v0.7** Account Abstraction (`0x...7007`/`7008`), **EIP-7702** Smart EOAs (`0x...7009`), **ERC-7579** Modular Accounts & AI Agent Executor (`0x...700a`/`700d`), **ERC-7683** Cross-Chain Intents (`0x...700b`), and **ERC-3643** T-REX RWAs (`0x...700c`).
   * **Official TypeScript (`@dhuri/sdk`) & Python (`dhuri`) SDKs**: Zero-trust HTTPS-enforced clients covering chain queries, Mobile PoP, AI agents, and Quantum precompiles.
5. **DHURI Ecosystem Sovereign Explorer (`DhuriScan`)**
   * Standalone isolated deployments for Mainnet ([dhuriscan.com](https://dhuriscan.com), Chain ID `70770`) and Testnet ([testnet.dhuriscan.com](https://testnet.dhuriscan.com), Chain ID `70771`) with Warm Day & Obsidian Dark themes (`21` standalone verified web portals).

***

## Where to Start

* [**User Whitepaper (Plain-English Guide)**](https://dhurichain.gitbook.io/dhurichain-docs/user-whitepaper.md) — Everyday guide to DHURI ONE (`v0.4.6`), Mobile Pruned Verification, Validator Fractions, and fixed 10B tokenomics.
* [**यूज़र व्हाइटपेपर (सरल हिंदी गाइड / Hindi)**](https://dhurichain.gitbook.io/dhurichain-docs/user-whitepaper-hi.md) — आम उपयोगकर्ताओं के लिए सरल हिंदी में DHURI Chain एवं DHURI ONE (`v0.4.6`) गाइड।
* [**Official Technical Whitepaper**](https://dhurichain.gitbook.io/dhurichain-docs/whitepaper.md) — Complete architecture, mathematics, Quantum Suite, DeFi stack, and Mainnet cutover.
* [**Pure-Rust Node, REVM & `redb-acid-kv-v2`**](https://dhurichain.gitbook.io/dhurichain-docs/technical-architecture/architecture.md) — 18-crate topology, 22 RPC handler modules, native precompiles (`0x0100–0x0102`), and JSON-RPC catalog.
* [**NIST Post-Quantum (`0x0101`) & Quantum Entropy Beacon (`0x0102`)**](https://dhurichain.gitbook.io/dhurichain-docs/technical-architecture/quantum-suite.md) — Lattice-based `ML-DSA-65` signatures and Bell-CHSH quantum randomness in Solidity & RPC.
* [**DhuriSwap AMM DEX, BSC-USDT Bridge & Fraction Gateway**](https://dhurichain.gitbook.io/dhurichain-docs/tokenomics-defi-and-scarcity/defi-dex-bridge.md) — Cross-chain `dUSDT` bridging, AMM pools, TWAP guards, and dual-rail fraction bonding.
* [**JS/Python SDKs, Smart Multi-RPC Mesh & Local Device RPC**](https://dhurichain.gitbook.io/dhurichain-docs/developer-sdks-roadmap-and-operations/sdk-and-local-rpc.md) — Developer SDK quickstarts, mobile failover mesh, and `http://127.0.0.1:8545` phone loopback RPC.
* [**Security Architecture, Multi-Round Audits & 1 Crore Scale**](https://dhurichain.gitbook.io/dhurichain-docs/security-and-hardening/security.md) — Full defense layers, 80-finding remediation, `v0.4.5` White-Box Audit (`AUDIT-01..11`), and red-team matrix.
