Skip to main content

Protocol Architecture

BNHP is built as a modular, layered protocol stack. Each component is independently upgradeable and can be composed with external protocols, making BNHP a flexible foundation for any Web3 application.

System Overview

┌─────────────────────────────────────────────────────┐
│ Applications Layer │
│ (DEX, Lending, NFTs, Games, DAOs) │
├─────────────────────────────────────────────────────┤
│ BNHP Protocol Layer │
│ Oracle │ DEX Engine │ Governance │ SDK │
├─────────────────────────────────────────────────────┤
│ BNHP Chain Layer │
│ EVM L2 Rollup │ Bridge │ Settlement │
├─────────────────────────────────────────────────────┤
│ Ethereum Mainnet │
│ (Security & Data Availability) │
└─────────────────────────────────────────────────────┘

BNHP Chain

The BNHP Chain is an EVM-compatible Layer-2 rollup built using the OP Stack (Bedrock). It inherits Ethereum's security guarantees while delivering dramatically improved performance and lower costs.

State roots and transaction batches are periodically committed to Ethereum mainnet, ensuring that all on-chain activity is backed by Ethereum's Proof-of-Stake consensus. The chain supports account abstraction (ERC-4337), enabling gasless transactions and simplified onboarding for new users.

Oracle Network

The BNHP Oracle network consists of a decentralized set of node operators who aggregate, validate, and publish data on-chain. Each data point is accompanied by a cryptographic attestation, allowing any smart contract to verify the authenticity of the data without trusting a centralized source.

The oracle uses a stake-weighted median aggregation algorithm, where operators must post $NPH collateral to participate. Operators who submit incorrect data are slashed, creating strong economic incentives for accuracy.

DEX Engine

The BNHP DEX uses a hybrid order book and AMM model. Large trades are routed through the on-chain order book for price discovery, while smaller trades use the AMM for guaranteed execution. The Unified Liquidity Model (ULM) allows liquidity providers to concentrate their capital in specific price ranges, dramatically improving capital efficiency.

Cross-Chain Bridge

The BNHP Bridge enables trustless asset transfers between BNHP Chain and 20+ supported networks. The bridge uses a combination of optimistic verification and zero-knowledge proofs to ensure security without sacrificing speed. Withdrawals to Ethereum mainnet are finalized within 7 days under the optimistic model, or instantly with ZK proofs.

Smart Contract Architecture

All BNHP protocol contracts are upgradeable via a transparent proxy pattern, with upgrades governed by the DAO and subject to a 48-hour time-lock. Core contracts have been formally verified and audited by multiple independent security firms.