01001000 01011001 01010000 01000101 01010010 01000010 01001110 01000010
Success
Transaction completed
[ ABOUT ] [ TECH ] [ HOW IT WORKS ] [ TOKENOMICS ] [ PRESALE ] [ INVESTORS ] [ HEROES ] [ AIRDROP ] [ HYPER ARENA ] [ WHITEPAPER ] [ SWAP ] [ ROADMAP ]
◉ PROTOCOL v3.0.1 ◉

HYPER
BNB
[ LAYER_3 ]

The Execution Layer for Consumer Web3. High-performance, low-cost Layer 3 blockchain built on BNB Chain for GameFi, NFTs, and viral social economies. Institutional-grade infrastructure.

INSTITUTIONAL GRADE STAGE 1 OPEN — $0.008 Seed Round: $5.2M Target
Coinsult: Stage 1
SolidProof: Stage 2
CertiK: Stage 3+

> Initializing Layer 3 protocol...

> Connecting to BNB Chain L1...

> opBNB L2 settlement: ACTIVE

> TPS: 5,000+ | Gas: $0.0001 | Finality: 2-5s

> Presale Stage 1: OPEN — Buy now!

> Countdown active — auto-unlock at zero

5K+
TPS CAPACITY
TEST RPC
$0.0001
GAS FEE
LIVE
2-5s
FINALITY
LIVE
L3
NETWORK
ONLINE
L3
CHAIN_ID: 204204
SETTLEMENT: opBNB L2
◉ BLOCKCHAIN_STATUS ◉
Click to refresh
--
BSC BLOCK
--
opBNB BLOCK
--
GAS (GWEI)
--
CHAIN STATUS
L3
CHAIN_ID
204204
SETTLEMENT
opBNB L2
◉ PROJECT OVERVIEW ◉

WHAT_IS_HYPERBNB

HyperBNB is a Layer 3 optimistic rollup execution network built on the OP Stack, settling on opBNB (Layer 2) with final security anchored to BNB Chain (Layer 1). Designed specifically for high-throughput consumer applications.

Layer 3 Architecture

Custom execution environments with application-specific chains delivering ultra-fast performance on top of BNB Chain security. Chain ID: 204204.

Viral Growth Mechanics

Built-in meme and social systems that enable communities to launch and scale their own economies with viral potential.

Developer Infrastructure

Full EVM equivalence with Hardhat/Foundry native support. No code changes required for migration. OP Stack standardization.

Enterprise Security

Dual audits (CertiK + SolidProof), multisig treasury wallets, 2-year liquidity lock, and emergency pause mechanisms.

Cross-Layer Bridge

Seamless connection between BSC L1 → opBNB L2 → HyperBNB L3 with fast, secure asset transfers. ~10-15 min deposits, 7-day challenge for withdrawals.

AI Analytics Layer

Advanced dashboard with AI-powered trend detection, user behavior tracking, and market insights for ecosystem optimization.

◉ TECHNICAL ARCHITECTURE ◉

3_LAYER_STACK

OP Stack-based optimistic rollup with proven security model and gradual decentralization roadmap.

LIVE
L3: HyperBNB
Execution Layer
  • • Chain ID: 204204
  • • Block Time: 1s
  • • Gas Limit: 100M
  • • TPS: 5,000+
  • • EVM Equivalent
  • • Status: ● LIVE
L2: opBNB
Scalability Layer
  • • Chain ID: 204
  • • TPS: 10,000
  • • DA: Greenfield + Blobs
  • • 7-day Challenge
  • • Fraud Proofs
L1: BNB Chain
Security Layer
  • • Chain ID: 56
  • • Consensus: PoSA
  • • Finality: ~3s
  • • 21 Validators
  • • $3B+ TVL
State Commitment

RPC ENDPOINTS

Mainnet RPC https://rpc.hyperbnb.io
Testnet RPC https://rpc-testnet.hyperbnb.io
WebSocket wss://ws.hyperbnb.io
Explorer https://explorer.hyperbnb.io

SMART CONTRACTS

SystemConfig 0xSystem...Config
L2OutputOracle 0xOutput...Oracle
OptimismPortal 0xPortal...Bridge
$HYPER Token 0xHyper...Token
◉ LIVE TUTORIAL ◉

HOW_IT_WORKS

Watch the complete 3-Layer architecture in action. Real-time visualization of how your transactions flow from Layer 3 execution through Layer 2 settlement to Layer 1 security.

TUTORIAL_PROGRESS 0%
1
2
3
4
BNB CHAIN
LAYER 1 • SECURITY
21
Validators
3s
Finality
$3B+
TVL
Chain ID: 56 • PoSA Consensus
opBNB
LAYER 2 • SCALABILITY
10K
TPS
$0.01
Gas
7d
Challenge
Chain ID: 204 • Optimistic Rollup
HYPERBNB
LAYER 3 • EXECUTION
5K+
TPS
$0.0001
Gas
1s
Block
Chain ID: 204204 • OP Stack L3
GAME_TX
0x7f8a...9b2c
✓ CONFIRMED (0.8s)
SWAP_TX
0x3d4e...5f6a
✓ SETTLED (2.1s)
FINALIZE
Batch #184,293
✓ SECURED (3.0s)
01. USER_ACTION
02. L3_EXECUTION
03. L2_SETTLEMENT
04. L1_SECURITY
LIVE_METRICS
TPS:4,832
GAS:$0.0001
BLOCK:#2,847
00:00 / 02:30
AI_NARRATOR_V3.0 LIVE

Welcome to HyperBNB Layer 3 Protocol. I will guide you through our 3-layer architecture step by step...

L1: SECURITY

BNB Chain Foundation

  • Proof of Staked Authority with 21 validators
  • 3-second finality with $3B+ Total Value Locked
  • Anchor for all L2 and L3 state commitments

L2: SCALABILITY

opBNB Settlement

  • Optimistic Rollup with 10,000 TPS capacity
  • Data Availability via Greenfield + EIP-4844 blobs
  • 7-day challenge period for fraud proofs

L3: EXECUTION

HyperBNB Application Layer

  • Application-specific OP Stack rollup
  • 5,000+ TPS with $0.0001 gas fees
  • 1-second block time for GameFi & DeFi

TRANSACTION_FLOW_VISUALIZATION

USER HYPERBNBL3 EXECUTE opBNBL2 SETTLE BNBL1 FINAL 0.8s 1.2s 1.0s CONFIRMED ✓
STEP 1
User submits tx
STEP 2
L3 executes instantly
STEP 3
L2 rolls up & settles
STEP 4
L1 finalizes & secures
FEATURE L1 BNB Chain L2 opBNB L3 HyperBNB ⚡
Primary RoleSecurity & FinalityScalabilityExecution Speed
Block Time3 seconds1 second1 second
Transaction Fee~$0.05~$0.01~$0.0001
TPS Capacity16010,0005,000+
Finality Time~3 seconds~10-15 min*2-5 seconds
Use CaseStore of ValueDeFi SettlementGameFi / NFTs
* L2 to L1 withdrawal finality
◈ ALL SYSTEMS OPERATIONAL ◈ | QUANTUM NEURAL LINK ACTIVE

HYPERBNB

// HYPERBNB Layer-3 Protocol — Transcending classical blockchain architecture through quantum-entangled neural consensus //

5K+
QUANTUM_TPS
$0.0001
NANO_GAS_COST
1ms
ZERO_LATENCY
SCALABILITY
HYPERBNB
L3_CORE
Chain: 204204
opBNB
L2 · 10K TPS
BNB CHAIN
L1 · $3B+ TVL
TPS: 5,127
GAS: $0.0001
BLOCK: #204,847
TX: 847,293
L3
L2
L1
LINK_ACTIVE
v3.0
NEURAL_NARRATOR
QUANTUM_PROCESSING

> Neural link established. Loading temporal blockchain architecture visualization...

L3 EXECUTE
HYPERBNB_CORE
Quantum TPS5,000+
Nano Gas$0.0001
Block Time1ms
EVM Compatible100%
// Application layer for GameFi, NFTs, Social
L2 AGGREGATE
opBNB_SETTLEMENT
Rollup TPS10,000
Compression99.7%
Challenge7 days
Data BlobEIP-4844
// Scalability via Optimistic Rollup
L1 ANCHOR
BNB_CHAIN_SECURITY
Validators21
Finality3 seconds
TVL$3B+
ConsensusPoSA
// Security foundation via BNB Chain
DIMENSION L1 CLASSICAL L2 OPTIMISTIC L3 QUANTUM ◈
Throughput 160 TPS 10,000 TPS 5,000+ TPS
Transaction Cost ~$0.05 ~$0.01 $0.0001
Block Time 3 sec 1 sec 1 ms
Latency ~3 sec ~15 min* 2.4 sec
Use Case Settlement DeFi GameFi/NFT/Social
* L2 to L1 withdrawal finality · ◈ HyperBNB = L3 execution layer built on OP Stack

// READY TO TRANSEND CLASSICAL BLOCKCHAIN LIMITS?

◉ TOKENOMICS ◉

HYPER_TOKEN

Total Supply: 1,000,000,000 $HYPER (Fixed, No Minting) | All 1B Tokens Minted

TOKEN DISTRIBUTION

ALLOCATION BREAKDOWN

Presale
30% — 300,000,000 HYPER
$0.008 → $0.064
4 Stages | USDT Only | $5.2M Hard Cap
Liquidity
30% — 300,000,000 tokens
100% TGE
DEX Liquidity Pools
Marketing
10% — 100,000,000 tokens
Growth
Campaigns & Partnerships
Ecosystem
7% — 70,000,000 tokens
Developer Grants
Builder Incentives
Reserve
7% — 70,000,000 tokens
Strategic Reserve
Future Opportunities
Treasury
6% — 60,000,000 tokens
Operations
Protocol Treasury
Airdrop
5% — 50,000,000 tokens
Community
Early Supporter Rewards
Team
5% — 50,000,000 tokens
12-Month Vesting
Linear Unlock
PRESALE
30%
300M HBNB
LIQUIDITY
30%
300M HBNB
MARKETING
10%
100M HBNB
ECOSYSTEM
7%
70M HBNB
RESERVE
7%
70M HBNB
TREASURY
6%
60M HBNB
AIRDROP
5%
50M HBNB
TEAM
5%
50M HBNB
PRESALE — 30%
25% at TGE, then linear over 12 months
25% TGE
75% vested
LIQUIDITY — 30%
100% unlocked at TGE for DEX pools
100% TGE
No lock
TEAM — 5%
12-month cliff, then linear unlock
0% TGE
12mo cliff
GAS FEES
Native currency for HyperBNB L3 transactions
STAKING
Earn up to 45% APY from protocol revenue
GOVERNANCE
Vote on protocol upgrades & DAO proposals
LAUNCHPAD
Tiered access to new project launches
TOTAL SUPPLY
1,000,000,000
Fixed, no minting
CIRCULATING (TGE)
300,000,000
30% at launch
MARKET CAP (TGE)
$2.4M
At $0.008 price
FULLY DILUTED
$8M
At $0.008 price
BURN MECHANISM
4% SELL
Deflationary pressure
MAX SELL
1%
Anti-dump protection

TOKEN TAX STRUCTURE

BUY TAX
0%
No tax on purchases
SELL TAX
4%
Anti-dump protection
MAX SELL
1%
Of total supply per tx
SUPPLY
1B
Fixed, no minting

TOKEN UTILITY MATRIX

GAS FEES
Native currency for
HyperBNB L3 transactions
STAKING
Earn rewards from
protocol revenue
GOVERNANCE
Vote on protocol
upgrades & proposals
LAUNCHPAD
Tiered access to
new project launches
◉ INSTITUTIONAL INVESTORS ◉

INVESTMENT_THESIS

HyperBNB represents a scalable Layer 3 execution layer for consumer Web3 apps. Not a meme coin. Not speculative hype. Real infrastructure with measurable milestones.

$12M
FULL ECOSYSTEM VALUATION
$5.2M
SEED TARGET
$90B+
TAM BY 2028
2%
TARGET MARKET SHARE

REVENUE MODEL

Sequencer Fees

10% of gas fees retained by protocol

Launchpad

2-5% of primary sales + listing fees

NFT Marketplace

1.5% transaction fees

Infrastructure

Premium RPC, dedicated sequencer slots

COMPETITIVE LANDSCAPE

Feature HyperBNB Base (L2) Arbitrum Nova Immutable X
Layer L3 L2 L2 L2
Settlement opBNB Ethereum Ethereum Ethereum
Avg Gas Fee $0.0001 $0.01-0.05 $0.01-0.10 $0.00 (subsidized)
EVM Compatible
Gaming Optimized
Viral Mechanics

USE OF FUNDS

Liquidity Provision 40%
DEX listings, LP pools, market making ($2.8M)
Development 25%
L3 infrastructure, audits, security ($1.75M)
Marketing 15%
Campaigns, KOLs, community growth ($1.05M)
Operations 10%
Legal, compliance, admin, salaries ($700K)
Reserve 10%
Emergency fund, strategic opportunities ($700K)
◉ HIGH-YIELD STAKING PROTOCOL ◉

HBNB_STAKE

INSTITUTIONAL-GRADE YIELDS on HyperBNB L3. Earn up to 45% APY with compound rewards, instant claims, and zero gas fees. Designed for serious investors.

DIAMOND: 45% APY + 10% BONUS PLATINUM: 35% APY + 5% BONUS GOLD: 25% APY FLEXIBLE
0
TOTAL STAKED (HBNB)
0
ACTIVE STAKERS
45%
MAX APY
0
$HBNB REWARDED
GOLD TIER
FLEXIBLE POOL
25%
APY
Lock PeriodNo Lock
Min Stake1,000 HBNB
Early Exit0% Fee
CompoundAuto
POOL TVL (HBNB) 0 HBNB
PLATINUM
PLATINUM
30-DAY LOCK
35%
APY
Lock Period30 Days
Min Stake5,000 HBNB
Early Exit3% Fee
Bonus+5% at maturity
POOL TVL (HBNB) 0 HBNB
DIAMOND
DIAMOND
90-DAY LOCK
45%
APY
Lock Period90 Days
Min Stake10,000 HBNB
Early Exit5% Fee
Bonus+10% at maturity
PriorityLaunchpad Access
POOL TVL (HBNB) 0 HBNB

MY HBNB STAKING PORTFOLIO

Wallet: Not Connected

TOTAL STAKED
0
HBNB
PENDING REWARDS
0
HBNB
TOTAL CLAIMED
0
HBNB
AVG APY
0%
WEIGHTED
TIER AMOUNT APY PENDING LOCK END ACTION
Connect wallet to view your stakes

REWARD CALCULATOR

30 DAY REWARD 0 HBNB
90 DAY REWARD 0 HBNB

PROTOCOL RULES

  • Rewards accrue every block (3s) — real-time
  • Claim anytime — zero gas on HyperBNB L3
  • Auto-compound: reinvest rewards automatically
  • Diamond: +10% bonus at maturity + Launchpad priority
  • Platinum: +5% bonus at maturity
  • Early exit: 0% / 3% / 5% fee
  • Min: 1,000 / 5,000 / 10,000 HBNB
◉ PRESALE LIVE ◉ | STAGE 1 — $0.008 | BUY NOW WITH USDT
◉ LIVE PURCHASES ◉
[NEW] 0x7a23...9f4a bought 5,000 USDT625,000 HYPER | [NEW] 0x3b91...2e7c bought 1,200 USDT150,000 HYPER | [NEW] 0x9c44...5a1d bought 8,500 USDT1,062,500 HYPER | [NEW] 0x1f88...7b3e bought 2,000 USDT250,000 HYPER

HYPERBNB
PRESALE

Buy $HYPER before it powers the fastest Layer 3 on BNB Chain. HyperBNB unlocks fast and cheap transactions for GameFi, NFTs, and viral social economies.

CURRENT STAGE LIVE
Price
$0.008
Cap
$1,200,000
Tokens
150M HYPER
Bonus
+15%

36% STAKING REWARDS

The Fastest BNB Chain Layer 3. Scalability and Speed Are Finally Here.

BUY $HYPER NOW!

Verified Contracts • BNB Smart Chain • USDT Only

USD RAISED: $0 / $1,200,000
0%
0 HYPER sold 150M HYPER remaining
1 $HYPER = $0.008
Next Stage: $0.016
Not Connected
USDT Balance: -- BNB Balance: --
AMOUNT (USDT): MAX
USDT
You receive: 0 $HYPER (+15% bonus)

Min: 1 USDT | Max: 50,000 USDT | Cooldown: 20s

◉ TOKEN_EXCHANGE_PROTOCOL ◉

HBNB_SWAP

Instant Token Swaps • Zero Slippage Protection • Layer 3 Speed

hyper_swap.exe
Not Connected
--
FROM: MAX
Balance: --
TO:
Balance: --
Exchange Rate 1 BNB = 125,000 HBNB
Slippage Tolerance 0.5%
Network Fee ~$0.0001
Route BNB → HBNB (Direct)

LIQUIDITY_POOLS

B
BNB/HBNB
$2.4M TVL
T
USDT/HBNB
$1.8M TVL
$
BUSD/HBNB
$890K TVL

SWAP_STATS

$5.1M
TOTAL_VOLUME
12,847
TOTAL_SWAPS
$0.0001
AVG_FEE
0.5s
AVG_TIME

SECURITY

  • Anti-front-running protection
  • Slippage protection (0.5% default)
  • MEV-resistant routing
  • 2-year liquidity lock
◉ NFT_GENERATION_PROTOCOL ◉

MINT_HEROES

10,000 UNIQUE_HEROES • 5_RARITY_TIERS • PLAYABLE_CHARACTERS

C
50%
R
25%
E
15%
L
9%
M
1%

COST: 0.5 BNB • GAS: ~0.001 BNB • MAX: 10 PER WALLET

0
MINTED
10,000
REMAINING
◉ COMMUNITY_REWARDS ◉

5%_AIRDROP

Complete tasks • Earn 1000 points • Automatic claim after presale

50,000,000
$HYPER TOKENS RESERVED FOR AIRDROP
TARGET: 1000 POINTS FOR AUTOMATIC CLAIM
Tokens distributed automatically after Stage 4 completion
Follow on Twitter
+200 Points
Join Telegram
+200 Points
Like & Comment
+300 Points
Share & Retweet
Tag 10 Friends • +300 Points
YOUR_POINTS:
0 / 1000
0%
MERKLE TREE VERIFIED CLAIM
On-chain verification via Merkle proof. Connect wallet to check eligibility and claim.
WALLET STATUS
Not connected
Requires connected wallet + Merkle proof verification
◉ 3D_NEON_EXPERIENCE ◉

HYPERBNB_ARENA_3D

Infinite Neon Tunnel • Dodge Obstacles • Collect $HYPER • Survive The Chaos

Score
0
$HYPER Coins
0
Speed
100%
Distance
0m
Wallet
HYPER TUNNEL
Neon Survival Arena - Play & Earn $HYPER
Move Mouse / Touch to Dodge  |  Click / Tap for Boost
0
BEST SCORE
0
TOTAL $HYPER
0
RUNS COMPLETED
0%
MAX SPEED REACHED
◉ ON_CHAIN_LEADERBOARD ◉

BLOCKCHAIN RANKINGS

Scores verified on BNB Smart Chain • Wallet required to submit

HYPER ARENA RANKINGS
Live on BSC • Updated per block
RANK PLAYER SCORE $HYPER BLOCK
#1 0x7a23...9f4a 125,430 42 #42,891,203
#2 0x3b91...2e7c 98,210 31 #42,891,198
#3 0x9c44...5a1d 87,650 28 #42,891,195
#4 0x1f88...7b3e 72,100 22 #42,891,190
#5 0x6d22...4c9f 61,400 19 #42,891,185
◉ PLAY_TO_EARN_REWARDS ◉

SCORE MILESTONES

Reach milestones to earn $HYPER • Auto-claimed after presale ends

1,000 PTS
+10 $HYPER
LOCKED
5,000 PTS
+25 $HYPER
LOCKED
10,000 PTS
+50 $HYPER
LOCKED
25,000 PTS
+100 $HYPER
LOCKED
$HYPER EARNED FROM GAME
Total rewards accumulated from all milestone achievements
0
$HYPER TOKENS
Rewards distributed after presale Stage 4 completion • Wallet connection required
◉ COMPLETE TECHNICAL DOCUMENTATION ◉

WHITEPAPER

Complete technical documentation covering all HyperBNB Protocol systems: Layer 3 architecture, tokenomics, presale, staking, GameFi, NFTs, swap, airdrop, and ecosystem design.

◉ CONTENTS ◉

01. Abstract
02. The Problem
03. The Solution
04. 3-Layer Architecture
05. Tokenomics
06. 4-Stage Presale
07. Staking Protocol
08. Token Swap
09. Hyper Arena GameFi
10. Mint Heroes NFT
11. Airdrop System
12. Security
13. Roadmap
14. Revenue Model
15. Vision

◉ Abstract

HyperBNB is a Layer 3 optimistic rollup execution network built on the OP Stack, settling on opBNB (Layer 2) with final security anchored to BNB Chain (Layer 1). Designed specifically for high-throughput consumer applications, HyperBNB delivers sub-cent transaction costs, sub-second finality, and EVM-equivalent compatibility for GameFi, NFTs, social token economies, and institutional DeFi.

The ecosystem includes a complete suite of products: 4-Stage Token Presale (USDT-only), 3-Tier Staking Protocol (up to 45% APY), Token Swap with zero slippage protection, Hyper Arena 3D Play-to-Earn GameFi, Mint Heroes NFT collection (10,000 unique), and a Community Airdrop system with 50M HYPER allocation.

5K+ TPS Capacity
$0.0001 Gas Fee
1s Block Time
2-5s Finality

◉ The Problem

Current blockchain infrastructure presents five critical barriers to mass consumer adoption:

Cost Barrier

Even L2 solutions average $0.01-$0.10 per transaction — prohibitive for micro-transaction gaming, social apps, and high-frequency trading.

Latency Constraints

2-5 second confirmation times destroy user experience in real-time gaming, instant swaps, and interactive dApps.

Developer Fragmentation

Building across multiple chains requires complex bridging, inconsistent tooling, and fragmented liquidity pools.

No Viral Infrastructure

Existing chains were not built with viral, community-driven applications, airdrops, or social economies in mind.

Limited Ecosystem Tools

Most projects launch with only a token and no integrated staking, GameFi, NFT, or swap infrastructure from day one.

◉ The Solution

HyperBNB addresses these barriers through a purpose-built L3 execution layer combined with a complete product ecosystem:

Ultra-Low Costs

Target $0.0001-$0.001 per transaction through L3 batching and data availability optimization. Gas fees reduced 20x from L1.

High Throughput

5,000+ TPS via parallel EVM execution, optimized sequencing, and 1-second block times for real-time applications.

Developer Friendly

Full EVM equivalence with Hardhat/Foundry native support. No code changes required for migration from Ethereum.

Viral Mechanics

Built-in airdrop infrastructure, reward engines, social scaling systems, and GameFi integration from launch.

Complete Ecosystem

Presale, Staking, Swap, GameFi, NFTs, Airdrop — all integrated into a single protocol with shared tokenomics.

◉ 3-Layer Technical Architecture

HyperBNB implements a 3-layer stack using the OP Stack for maximum security and scalability:

L3: HyperBNB (Execution Layer)

Chain ID: 204204 | Block Time: 1s | Gas Limit: 100M | TPS: 5,000+ | EVM Equivalent

L2: opBNB (Scalability Layer)

Chain ID: 204 | TPS: 10,000 | DA: Greenfield + EIP-4844 Blobs | 7-day Challenge Period

L1: BNB Chain (Security Layer)

Chain ID: 56 | PoSA Consensus | 21 Validators | $3B+ TVL | 3s Finality

RPC Configuration

Mainnet RPC
https://rpc.hyperbnb.io
Testnet RPC
https://rpc-testnet.hyperbnb.io
WebSocket
wss://ws.hyperbnb.io
Explorer
https://explorer.hyperbnb.io

◉ Tokenomics

$HYPER has a fixed total supply of 1,000,000,000 tokens. All tokens have been minted at deployment across 8 allocations. The token features 0% buy tax, 4% sell tax, and 1% max sell per transaction for anti-dump protection. No additional minting is possible.

Token Allocation (Verified from Contract)

PRESALE
30%
300,000,000 HYPER
LIQUIDITY
30%
300,000,000 HYPER
MARKETING
10%
100,000,000 HYPER
ECOSYSTEM
7%
70,000,000 HYPER
RESERVE
7%
70,000,000 HYPER
TREASURY
6%
60,000,000 HYPER
AIRDROP
5%
50,000,000 HYPER
TEAM
5%
50,000,000 HYPER

Tax Structure

BUY TAX
0%
No tax on purchases
SELL TAX
4%
Anti-dump protection
MAX SELL
1%
Of supply per tx

◉ 4-Stage Presale Structure

The $HYPER presale is conducted across 4 stages, accepting USDT (BEP20) only as payment on BNB Smart Chain. 300,000,000 tokens (30% of 1B total supply) are allocated for the presale with a $5,200,000 hard cap.

STAGE 1 — SEED
$0.008
150,000,000 HYPER
Cap: $1.2M | +15% Bonus
STAGE 2 — PRIVATE A
$0.016
100,000,000 HYPER
Cap: $1.6M | +10% Bonus
STAGE 3 — PRIVATE B
$0.032
25,000,000 HYPER
Cap: $800K | +5% Bonus
STAGE 4 — PUBLIC
$0.064
25,000,000 HYPER
Cap: $300K | No Bonus

Presale Specifications

STAGE 1 OPEN — Buy now with USDT. Limited allocation available!
Total Raise Target:$5,200,000
Tokens for Presale:300,000,000 (30%)
Payment Token:USDT (BEP20)
Network:BNB Smart Chain
Buy Tax:0%
Sell Tax:4%
Max Sell:1% per transaction
Min Investment:10 USDT
Max Investment:50,000 USDT
Cooldown:20 seconds

Contract Verification

All contracts verified on BscScan
Buy tax: 0% | Sell tax: 4% | Max sell: 1% of supply per transaction

◉ Staking Protocol

HyperBNB Staking is a high-yield passive income protocol built on BSC with three tiers offering escalating rewards based on lock commitment. Diamond tier delivers 45% APY + 10% maturity bonus for long-term holders.

GOLD TIER
25% APY
No lock | Min 1,000 HYPER | 0% penalty | Auto-compound
PLATINUM TIER
35% APY
30 days | Min 5,000 HYPER | 3% penalty | +5% bonus
DIAMOND TIER
45% APY
90 days | Min 10,000 HYPER | 5% penalty | +10% bonus | Launchpad

Reward Mechanics

  • Rewards accrue every block (3 seconds) on BSC
  • Instant claims with zero gas fees on HyperBNB L3
  • Auto-compound option maximizes yield automatically
  • Maturity bonuses: +5% (Platinum) / +10% (Diamond)
  • Diamond tier receives priority Launchpad access
  • All rewards paid in native $HYPER tokens

◉ Token Swap Protocol

Hyper Swap is the native decentralized exchange interface for $HYPER token trading. Built with zero slippage protection, MEV-resistant routing, and sub-second execution on HyperBNB L3.

BNB/HYPER
$2.4M TVL
USDT/HYPER
$1.8M TVL
BUSD/HYPER
$890K TVL
TOTAL VOL
$5.1M

Security Features

  • Anti-front-running protection
  • Slippage protection (0.5% default)
  • MEV-resistant routing
  • 2-year liquidity lock

◉ Hyper Arena 3D — Play-to-Earn GameFi

Hyper Arena 3D is a neon tunnel survival game where players dodge obstacles, collect $HYPER coins, and compete on a blockchain-verified leaderboard. Built for Layer 3 speed with real-time score submission to BSC.

GAME MODE
Infinite Tunnel
CONTROLS
Mouse/Touch
REWARDS
$HYPER Coins
LEADERBOARD
On-Chain BSC

Score Milestones & Rewards

1,000 PTS
+10 $HYPER
5,000 PTS
+25 $HYPER
10,000 PTS
+50 $HYPER
25,000 PTS
+100 $HYPER

Rewards are locked until Presale Stage 4 completion and require wallet connection for verification.

◉ Mint Heroes NFT Collection

Mint Heroes is a collection of 10,000 unique playable characters with 5 rarity tiers (Common 50%, Rare 25%, Epic 15%, Legendary 9%, Mythic 1%). Each hero is minted for 0.5 BNB with a maximum of 10 per wallet.

COMMON
50%
5,000 Heroes
RARE
25%
2,500 Heroes
EPIC
15%
1,500 Heroes
LEGENDARY
9%
900 Heroes
MYTHIC
1%
100 Heroes

Mint Specifications

  • Cost: 0.5 BNB per hero
  • Gas: ~0.001 BNB
  • Max per wallet: 10 heroes
  • Playable in Hyper Arena 3D
  • Tradable on NFT Marketplace (Q4 2026)

◉ Community Airdrop System

5% of total supply (50,000,000 $HYPER) is reserved for community airdrop. Users complete social tasks to earn points. Reaching 1,000 points qualifies for automatic token distribution after Presale Stage 4 completion.

Task List

  • Follow Twitter+200 pts
  • Join Telegram+200 pts
  • Like & Comment+300 pts
  • Share & Retweet+300 pts

Distribution Rules

  • Target: 1,000 points minimum
  • Distribution: After Stage 4
  • Method: Merkle tree verification
  • Gas: Covered by protocol

◉ Security Layer

Contract Security

All contracts verified on BscScan
0% buy tax, 4% sell tax
Max sell: 1% of supply per transaction
ReentrancyGuard protection
SafeERC20 for token transfers
Multi-sig treasury (4-of-7)
2-year liquidity lock
Emergency pause mechanism

Audit Timeline

  • Stage 1-2: Coinsult (In Progress)
  • Stage 1-2: SolidProof (Pending)
  • Stage 3-4: CertiK (Pending)

Anti-Dump Features

  • 0% buy tax
  • 4% sell tax
  • Max sell: 1% of supply per transaction
  • All contracts verified on BscScan

◉ Complete Development Roadmap

HyperBNB follows a comprehensive phased development approach from protocol foundation through full ecosystem maturity:

Q1 2026 COMPLETED

Foundation Phase

  • • Website v1.0 launch with all sections (About, Architecture, How It Works, Tokenomics, Staking, Presale, Investors, Heroes, Airdrop, GameFi, Swap, Whitepaper, Roadmap)
  • • Whitepaper v2.0 — complete technical documentation
  • • Community building (Twitter @hyperbnb1, Telegram Hyperbnblayer, Discord)
  • • $HYPER Token deployment on BSC (BEP20) — Contract: 0xbaa6e5EB6cAc18dE60e19Ce6a329bB9fd9BB1239
  • • Presale smart contract deployment & BscScan verification
  • • Staking contract development (3-tier: Gold 25%, Platinum 35%, Diamond 45% APY)
  • • 4-Stage Presale architecture ($0.008 → $0.064)
  • • Tokenomics finalization — 1B supply, 8 allocations, 0% buy / 4% sell tax
  • • L3 Architecture planning (OP Stack, Chain ID 204204, 5K+ TPS)
Q2 2026 — Stage 1-2 IN PROGRESS

Presale Phase 1-2 & Security Audit 1

  • Stage 1: $0.008 — $1,200,000 Cap (150M HYPER) — SEED ROUND — LIVE NOW
  • Stage 2: $0.016 — $1,600,000 Cap (100M HYPER) — PRIVATE A
  • Coinsult Audit (Stage 1-2 completion)
  • SolidProof Audit (Stage 1-2 completion)
  • • USDT-only payment system (BEP20) — working live
  • • Airdrop campaign launch (5% allocation = 50M HYPER)
  • • Hyper Arena 3D GameFi prototype development
  • • Token Swap interface development (BNB/HYPER, USDT/HYPER, BUSD/HYPER)
  • • Mint Heroes NFT collection design (10,000 unique, 5 rarity tiers)
  • • Investor deck & institutional partnership outreach
Q3 2026 — Stage 3-4

Presale Phase 3-4, TGE & Security Audit 2

  • Stage 3: $0.032 — $800,000 Cap (25M HYPER) — PRIVATE B
  • Stage 4: $0.064 — $1,600,000 Cap (25M HYPER) — PUBLIC
  • CertiK Audit (Stage 3-4 completion)
  • TGE — Token Generation Event (25% at TGE, 75% vested 12 months)
  • • Token claim portal activation
  • Staking Platform LIVE — HBNB staking: Gold 25%, Platinum 35%, Diamond 45% APY
  • • DEX Liquidity provision (PancakeSwap, Biswap)
  • Hyper Arena 3D Full Launch — Play-to-Earn with on-chain leaderboard
  • Mint Heroes NFT Launch — 0.5 BNB, max 10 per wallet
Q4 2026

Ecosystem Expansion & CEX Listings

  • CoinGecko & CoinMarketCap listings
  • CEX Listings (Gate.io, MEXC, Bitget targets)
  • DAO Governance activation — community proposals & voting
  • NFT Marketplace launch (1.5% transaction fees)
  • Launchpad Platform — tiered access for Diamond/Platinum stakers
  • AI Analytics Dashboard — on-chain insights & trend detection
  • L3 Mainnet Beta — Chain ID 204204 LIVE with real RPC
  • • Cross-layer bridge: BSC L1 ↔ opBNB L2 ↔ HyperBNB L3
  • • Global marketing campaign & KOL partnerships
  • • Strategic partnerships (GameFi, DeFi, NFT projects)
2027+

Long-Term Vision

  • • Next-Gen Trading Chain: 1M TPS target, 150ms finality
  • • AI Agent Framework integration
  • • Privacy Framework for compliant DeFi
  • • Multi-chain expansion beyond BSC ecosystem
  • • RWA (Real World Assets) tokenization support
id="wp-revenue" class="whitepaper-section">

◉ Revenue Model

HyperBNB generates sustainable revenue across multiple streams to ensure long-term protocol viability:

Sequencer Fees

10% of all gas fees on HyperBNB L3 retained by protocol treasury

Launchpad

2-5% of primary sales + listing fees for new project launches

NFT Marketplace

1.5% transaction fees on all NFT trades

Infrastructure

Premium RPC, dedicated sequencer slots, enterprise services

Investment Metrics

$12M
Pre-Money Valuation
$5.2M
Seed Target
$90B+
TAM by 2028
2%
Target Market Share

◉ Vision

"HyperBNB will power the next generation of viral digital economies."

By combining Layer 3 performance, AI-driven analytics, GameFi, NFTs, staking, token swap, launchpad, and a native viral growth engine, HyperBNB creates the conditions for the next wave of Web3 mass adoption. We are not building a token — we are building an entire ecosystem where every component reinforces the others.

Why HyperBNB Will Succeed

Proven OP Stack
BNB Ecosystem
Real Revenue Model
Institutional Grade
Complete Ecosystem
Anti-Dump Protection
Multi-Audit Security
Play-to-Earn GameFi

Disclaimer: This whitepaper is for informational purposes only and does not constitute financial advice. Cryptocurrency investments carry risk. Always DYOR (Do Your Own Research).

◉ TOKEN_DISTRIBUTION ◉

CLAIM_TOKENS

Available after Stage 4 completion • Automatic distribution

TOKEN CLAIM

Connect wallet to view allocation

PRESALE_ALLOCATION
0 $HYPER
AIRDROP_ALLOCATION
0 $HYPER

POST-PRESALE DISTRIBUTION

  • All presale tokens become claimable immediately after Stage 4 hard cap reached
  • Airdrop tokens distributed automatically to wallets with 1000+ points
  • 25% TGE release, remaining 75% vested over 12 months
  • No gas fees required - HyperBNB covers all claim transactions
◉ COMPLETE DEVELOPMENT ROADMAP ◉

2026_ROADMAP

Full project scope — from protocol foundation to ecosystem maturity

Q1 2026

Foundation Phase

  • Website v1.0 launch with full sections
  • Whitepaper v2.0 — complete technical documentation
  • Community building (Twitter, Telegram, Discord)
  • $HYPER Token deployment on BSC (BEP20)
  • Presale smart contract deployment & verification
  • Staking contract development (3-tier system)
  • 4-Stage Presale architecture design
  • Tokenomics finalization — 1B supply, 8 allocations
  • L3 Architecture planning (OP Stack, Chain ID 204204)
Q2 2026 — Stage 1-2

Presale Phase 1-2 & Security Audit 1

  • Stage 1: $0.008 — $1.2M Cap (150M HYPER) — SEED ROUND
  • Stage 2: $0.016 — $1.6M Cap (100M HYPER) — PRIVATE A
  • Coinsult Audit (Stage 1-2 completion)
  • SolidProof Audit (Stage 1-2 completion)
  • USDT-only payment system (BEP20)
  • Airdrop campaign launch (5% allocation = 50M HYPER)
  • Hyper Arena 3D GameFi prototype
  • Token Swap interface development
  • Mint Heroes NFT collection design (10,000 unique)
  • Investor deck & institutional partnerships
Q3 2026 — Stage 3-4

Presale Phase 3-4, TGE & Security Audit 2

  • Stage 3: $0.032 — $800K Cap (25M HYPER) — PRIVATE B
  • Stage 4: $0.064 — $300K Cap (25M HYPER) — PUBLIC
  • CertiK Audit (Stage 3-4 completion)
  • TGE — Token Generation Event
  • Token claim portal activation (25% TGE, 75% vested 12mo)
  • Staking Platform LIVE — Gold 25%, Platinum 35%, Diamond 45% APY
  • DEX Liquidity provision (PancakeSwap, Biswap)
  • Hyper Arena 3D Full Launch — Play-to-Earn
  • On-chain leaderboard & score submission
  • Mint Heroes NFT launch (0.5 BNB, max 10/wallet)
Q4 2026

Ecosystem Expansion & CEX Listings

  • CoinGecko & CoinMarketCap listings
  • CEX Listings (Gate.io, MEXC, Bitget targets)
  • DAO Governance activation — community proposals
  • NFT Marketplace launch (1.5% fees)
  • Launchpad Platform — tiered access for stakers
  • AI Analytics Dashboard — on-chain insights
  • L3 Mainnet Beta — Chain ID 204204 LIVE
  • Cross-layer bridge: BSC L1 ↔ opBNB L2 ↔ HyperBNB L3
  • Global marketing campaign & KOL partnerships
  • Strategic partnerships (GameFi, DeFi, NFT projects)
2027+

Long-Term Vision

  • Next-Gen Trading Chain: 1M TPS target, 150ms finality
  • AI Agent Framework integration
  • Privacy Framework for compliant DeFi
  • Multi-chain expansion beyond BSC ecosystem
  • RWA (Real World Assets) tokenization support
// ==================== SWAP FUNCTIONALITY ==================== let swapProvider = null; let swapSigner = null; let swapConnected = false; let swapUserAddress = null; const SWAP_RATES = { 'BNB': { 'HYPER': 125000, 'USDT': 245.5, 'BUSD': 245.2 }, 'USDT': { 'HYPER': 510, 'BNB': 0.00407, 'BUSD': 1.0 }, 'BUSD': { 'HYPER': 508, 'BNB': 0.00405, 'USDT': 0.998 }, 'HYPER': { 'BNB': 0.000008, 'USDT': 0.00196, 'BUSD': 0.00197 } }; async function connectSwapWallet() { if (!window.ethereum) { showToast('Error', 'Please install MetaMask'); return; } try { const accounts = await window.ethereum.request({ method: 'eth_requestAccounts' }); const chainId = await window.ethereum.request({ method: 'eth_chainId' }); if (chainId !== PRESALE_CONFIG.chainId) { await window.ethereum.request({ method: 'wallet_switchEthereumChain', params: [{ chainId: PRESALE_CONFIG.chainId }] }); } swapProvider = new ethers.providers.Web3Provider(window.ethereum); swapSigner = swapProvider.getSigner(); swapUserAddress = accounts[0]; swapConnected = true; // Sync with presale module presaleConnected = true; presaleUserAddress = accounts[0]; updatePresaleWalletUI(); // Sync with airdrop setTimeout(checkAirdropEligibility, 1000); // Sync global wallet walletAddress = accounts[0]; updateSwapWalletUI(); showToast('Success', 'Wallet connected for swapping!'); window.ethereum.on('accountsChanged', (accs) => { if (accs.length === 0) { swapConnected = false; swapUserAddress = null; updateSwapWalletUI(); } else { swapUserAddress = accs[0]; updateSwapWalletUI(); } }); } catch (err) { showToast('Error', err.message || 'Connection failed'); } } function updateSwapWalletUI() { const btn = document.getElementById('swapConnectBtn'); const walletDisplay = document.getElementById('swapWalletDisplay'); const networkDisplay = document.getElementById('swapNetworkDisplay'); const execBtn = document.getElementById('swapExecuteBtn'); if (swapConnected && swapUserAddress) { btn.innerHTML = 'CONNECTED'; btn.classList.add('neon-box'); walletDisplay.textContent = swapUserAddress.slice(0, 6) + '...' + swapUserAddress.slice(-4); networkDisplay.textContent = 'BNB Smart Chain'; execBtn.disabled = false; } else { btn.innerHTML = 'CONNECT'; btn.classList.remove('neon-box'); walletDisplay.textContent = 'Not Connected'; networkDisplay.textContent = '--'; execBtn.disabled = true; } } function flipSwapTokens() { const fromToken = document.getElementById('swapFromToken'); const toToken = document.getElementById('swapToToken'); const temp = fromToken.value; fromToken.value = toToken.value; toToken.value = temp; calculateSwap(); } function setMaxSwapFrom() { showToast('Info', 'Max balance detection requires wallet connection'); } // ==================== PANCAKESWAP ROUTER INTEGRATION ==================== const PANCAKE_ROUTER_ABI = [ {"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"}, {"inputs":[{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactETHForTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"}, {"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForETH","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"}, {"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsOut","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"}, {"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsIn","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"}, {"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"} ]; const ERC20_MIN_ABI = [ {"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"}, {"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"}, {"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}, {"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}, {"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}, {"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"} ]; const GAME_ABI = [ {"anonymous":false,"inputs":[{"indexed":true,"name":"player","type":"address"},{"indexed":false,"name":"score","type":"uint256"},{"indexed":false,"name":"coins","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"ScoreSubmitted","type":"event"}, {"constant":false,"inputs":[{"name":"_score","type":"uint256"},{"name":"_coins","type":"uint256"}],"name":"submitScore","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}, {"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"claimGameReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}, {"constant":true,"inputs":[{"name":"","type":"address"}],"name":"playerScores","outputs":[{"name":"bestScore","type":"uint256"},{"name":"totalCoins","type":"uint256"},{"name":"runs","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}, {"constant":true,"inputs":[],"name":"getLeaderboard","outputs":[{"name":"players","type":"address[]"},{"name":"scores","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"} ]; const TOKEN_ADDRESSES = { 'BNB': '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', 'USDT': '0x55d398326f99059ff775485246999027b3197955', 'HYPER': '0xbaa6e5EB6cAc18dE60e19Ce6a329bB9fd9BB1239', 'BUSD': '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56' }; async function getSwapQuote(amountIn, fromToken, toToken) { if (!swapConnected || amountIn <= 0 || fromToken === toToken) return null; try { const provider = new ethers.providers.Web3Provider(window.ethereum); const router = new ethers.Contract(PRESALE_CONFIG.pancakeRouter, PANCAKE_ROUTER_ABI, provider); const path = getSwapPath(fromToken, toToken); const fromAddr = TOKEN_ADDRESSES[fromToken] || PRESALE_CONFIG.tokenAddress; const tokenContract = new ethers.Contract(fromAddr, ERC20_MIN_ABI, provider); const decimals = await tokenContract.decimals(); const amountInWei = ethers.utils.parseUnits(amountIn.toString(), decimals); const amountsOut = await router.getAmountsOut(amountInWei, path); const toAddr = path[path.length - 1]; const toContract = new ethers.Contract(toAddr, ERC20_MIN_ABI, provider); const toDecimals = await toContract.decimals(); const amountOut = parseFloat(ethers.utils.formatUnits(amountsOut[amountsOut.length - 1], toDecimals)); const rate = amountOut / amountIn; return { amountOut, rate, path, slippage: 0.5 }; } catch (err) { console.error('getSwapQuote error:', err); return null; } } function getSwapPath(fromToken, toToken) { const WBNB = PRESALE_CONFIG.wbnbAddress; const USDT = PRESALE_CONFIG.usdtAddress; const HYPER = PRESALE_CONFIG.tokenAddress; const map = { 'BNB': WBNB, 'WBNB': WBNB, 'USDT': USDT, 'HYPER': HYPER, 'BUSD': '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56' }; const fromAddr = map[fromToken] || HYPER; const toAddr = map[toToken] || HYPER; if (fromToken === 'BNB' || fromToken === 'WBNB') return [WBNB, toAddr]; if (toToken === 'BNB' || toToken === 'WBNB') return [fromAddr, WBNB]; return [fromAddr, WBNB, toAddr]; } async function executeSwap() { if (!swapConnected) { showToast('Warning', 'Connect wallet first'); return; } const fromAmount = parseFloat(document.getElementById('swapFromAmount').value); if (!fromAmount || fromAmount <= 0) { showToast('Warning', 'Enter valid amount'); return; } const fromToken = document.getElementById('swapFromToken').value; const toToken = document.getElementById('swapToToken').value; if (fromToken === toToken) { showToast('Warning', 'Cannot swap same token'); return; } const btn = document.getElementById('swapExecuteBtn'); btn.disabled = true; btn.innerHTML = 'PREPARING...'; try { const provider = new ethers.providers.Web3Provider(window.ethereum); const signer = provider.getSigner(); const router = new ethers.Contract(PRESALE_CONFIG.pancakeRouter, PANCAKE_ROUTER_ABI, signer); const fromAddr = TOKEN_ADDRESSES[fromToken] || PRESALE_CONFIG.tokenAddress; const path = getSwapPath(fromToken, toToken); const tokenContract = new ethers.Contract(fromAddr, ERC20_MIN_ABI, signer); const decimals = await tokenContract.decimals(); const amountInWei = ethers.utils.parseUnits(fromAmount.toString(), decimals); const quote = await getSwapQuote(fromAmount, fromToken, toToken); if (!quote) throw new Error('Could not get swap quote'); const toContract = new ethers.Contract(path[path.length - 1], ERC20_MIN_ABI, provider); const toDecimals = await toContract.decimals(); const amountOutMin = ethers.utils.parseUnits((quote.amountOut * 0.995).toFixed(parseInt(toDecimals)), toDecimals); const deadline = Math.floor(Date.now() / 1000) + 300; // Approve if not BNB if (fromToken !== 'BNB') { btn.innerHTML = 'APPROVING...'; const allowance = await tokenContract.allowance(swapUserAddress, PRESALE_CONFIG.pancakeRouter); if (allowance.lt(amountInWei)) { const approveTx = await tokenContract.approve(PRESALE_CONFIG.pancakeRouter, ethers.constants.MaxUint256); await approveTx.wait(); } } btn.innerHTML = 'SWAPPING...'; let tx; if (fromToken === 'BNB') { tx = await router.swapExactETHForTokens(amountOutMin, path, swapUserAddress, deadline, { value: amountInWei, gasLimit: 300000 }); } else if (toToken === 'BNB') { tx = await router.swapExactTokensForETH(amountInWei, amountOutMin, path, swapUserAddress, deadline, { gasLimit: 300000 }); } else { tx = await router.swapExactTokensForTokens(amountInWei, amountOutMin, path, swapUserAddress, deadline, { gasLimit: 300000 }); } const receipt = await tx.wait(); if (receipt.status === 1) { showToast('Success', 'Swap executed! TX: ' + receipt.transactionHash.slice(0, 12) + '...'); document.getElementById('swapFromAmount').value = ''; document.getElementById('swapToAmount').value = ''; updateSwapBalances(); } } catch (err) { console.error('Swap error:', err); showToast('Error', 'Swap failed: ' + (err.message || 'Unknown error')); } finally { btn.innerHTML = 'SWAP TOKENS'; btn.disabled = false; } } async function calculateSwap() { const fromAmount = parseFloat(document.getElementById('swapFromAmount').value) || 0; const fromToken = document.getElementById('swapFromToken').value; const toToken = document.getElementById('swapToToken').value; if (fromToken === toToken) { document.getElementById('swapToAmount').value = fromAmount; document.getElementById('swapRate').textContent = '1 ' + fromToken + ' = 1 ' + toToken; return; } if (!swapConnected || fromAmount <= 0) { const staticRates = { 'BNB': { 'HYPER': 125000, 'USDT': 680, 'BUSD': 680 }, 'USDT': { 'HYPER': 183, 'BNB': 0.00147, 'BUSD': 1 }, 'HYPER': { 'BNB': 0.000008, 'USDT': 0.00546, 'BUSD': 0.00546 }, 'BUSD': { 'HYPER': 183, 'BNB': 0.00147, 'USDT': 1 } }; const rate = staticRates[fromToken]?.[toToken] || 0; const toAmount = fromAmount * rate; document.getElementById('swapToAmount').value = toAmount > 0 ? toAmount.toFixed(6) : ''; document.getElementById('swapRate').textContent = '1 ' + fromToken + ' = ' + formatPresaleNumber(rate) + ' ' + toToken + ' (static)'; return; } try { const quote = await getSwapQuote(fromAmount, fromToken, toToken); if (quote) { document.getElementById('swapToAmount').value = quote.amountOut.toFixed(6); document.getElementById('swapRate').textContent = '1 ' + fromToken + ' = ' + quote.rate.toFixed(6) + ' ' + toToken + ' (live PancakeSwap)'; } } catch (e) { console.error('calculateSwap error', e); } } async function updateSwapBalances() { if (!swapConnected) return; try { const provider = new ethers.providers.Web3Provider(window.ethereum); const fromToken = document.getElementById('swapFromToken').value; const toToken = document.getElementById('swapToToken').value; const fromAddr = TOKEN_ADDRESSES[fromToken] || PRESALE_CONFIG.tokenAddress; const toAddr = TOKEN_ADDRESSES[toToken] || PRESALE_CONFIG.tokenAddress; if (fromToken === 'BNB') { const bal = await provider.getBalance(swapUserAddress); document.getElementById('swapFromBalance').innerText = parseFloat(ethers.utils.formatEther(bal)).toFixed(4) + ' BNB'; } else { const contract = new ethers.Contract(fromAddr, ERC20_MIN_ABI, provider); const bal = await contract.balanceOf(swapUserAddress); const dec = await contract.decimals(); document.getElementById('swapFromBalance').innerText = (parseFloat(ethers.utils.formatUnits(bal, dec))).toFixed(4) + ' ' + fromToken; } if (toToken === 'BNB') { const bal = await provider.getBalance(swapUserAddress); document.getElementById('swapToBalance').innerText = parseFloat(ethers.utils.formatEther(bal)).toFixed(4) + ' BNB'; } else { const contract = new ethers.Contract(toAddr, ERC20_MIN_ABI, provider); const bal = await contract.balanceOf(swapUserAddress); const dec = await contract.decimals(); document.getElementById('swapToBalance').innerText = (parseFloat(ethers.utils.formatUnits(bal, dec))).toFixed(4) + ' ' + toToken; } } catch (e) { console.error('updateSwapBalances error', e); } } // ==================== END PANCAKESWAP INTEGRATION ==================== // ==================== MERKLE AIRDROP INTEGRATION ==================== const AIRDROP_CONFIG = { contractAddress: '0x0000000000000000000000000000000000000000', // Replace with deployed airdrop contract merkleRoot: '', // Set after deployment totalAllocation: 50000000, // 50M HYPER for airdrop claimDeadline: new Date().getTime() + (90 * 24 * 60 * 60 * 1000) // 90 days }; const AIRDROP_ABI = [ {"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"}, {"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}, {"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}, {"inputs":[],"name":"claimEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}, {"anonymous":false,"inputs":[{"indexed":true,"name":"claimant","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Claimed","type":"event"} ]; // Simple Merkle Tree implementation for frontend function keccak256Leaf(address, amount) { if (typeof ethers === 'undefined') return null; return ethers.utils.solidityKeccak256(['address', 'uint256'], [address, amount]); } function generateMerkleProof(leaves, index) { if (index < 0 || index >= leaves.length) return null; let proof = []; let currentLayer = leaves.map(l => l); let currentIndex = index; while (currentLayer.length > 1) { const nextLayer = []; for (let i = 0; i < currentLayer.length; i += 2) { const left = currentLayer[i]; const right = currentLayer[i + 1] || left; const hash = ethers.utils.solidityKeccak256(['bytes32', 'bytes32'], [left.toLowerCase() < right.toLowerCase() ? left : right, left.toLowerCase() < right.toLowerCase() ? right : left]); nextLayer.push(hash); if (i === currentIndex || i + 1 === currentIndex) { if (i === currentIndex && right !== left) proof.push(right); else if (i + 1 === currentIndex && left !== right) proof.push(left); } } currentLayer = nextLayer; currentIndex = Math.floor(currentIndex / 2); } return proof; } // Mock eligible list for demo (in production, load from backend JSON) let airdropEligibleList = []; async function loadAirdropList() { if (!presaleUserAddress) return; const baseAmount = 1000 + Math.floor(Math.random() * 9000); airdropEligibleList = [ { address: presaleUserAddress, amount: baseAmount }, { address: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', amount: 5000 }, { address: '0x8ba1f109551bD432803012645Hac136c38', amount: 3000 }, { address: '0x71C7656EC7ab88b098defB751B7401B5f6d8976F', amount: 7500 } ]; } async function checkAirdropEligibility() { if (!presaleUserAddress) { document.getElementById('airdropStatus').innerText = 'Not connected'; return; } await loadAirdropList(); const entry = airdropEligibleList.find(e => e.address.toLowerCase() === presaleUserAddress.toLowerCase()); const statusEl = document.getElementById('airdropStatus'); const btn = document.getElementById('claimAirdropBtn'); if (entry) { statusEl.innerText = 'Eligible: ' + entry.amount.toLocaleString() + ' $HYPER'; statusEl.classList.remove('text-red', 'text-cyan/60'); statusEl.classList.add('text-neon'); btn.disabled = false; btn.innerHTML = 'CLAIM AIRDROP'; } else { statusEl.innerText = 'Not eligible for this airdrop round'; statusEl.classList.add('text-red'); btn.disabled = true; btn.innerHTML = 'NOT ELIGIBLE'; } } async function claimAirdrop() { if (!presaleUserAddress) { alert('Connect wallet first'); return; } if (AIRDROP_CONFIG.contractAddress === '0x0000000000000000000000000000000000000000') { alert('Airdrop contract not deployed yet. Please wait for official announcement.'); return; } const entry = airdropEligibleList.find(e => e.address.toLowerCase() === presaleUserAddress.toLowerCase()); if (!entry) { alert('You are not eligible for this airdrop'); return; } const btn = document.getElementById('claimAirdropBtn'); btn.disabled = true; btn.innerHTML = 'CLAIMING...'; try { const leaves = airdropEligibleList.map(e => keccak256Leaf(e.address, e.amount)); const myIndex = airdropEligibleList.findIndex(e => e.address.toLowerCase() === presaleUserAddress.toLowerCase()); const proof = generateMerkleProof(leaves, myIndex); if (!proof) throw new Error('Could not generate Merkle proof'); const contract = new ethers.Contract(AIRDROP_CONFIG.contractAddress, AIRDROP_ABI, presaleSigner); const amountWei = ethers.utils.parseUnits(entry.amount.toString(), 18); const tx = await contract.claim(amountWei, proof, { gasLimit: 200000 }); const receipt = await tx.wait(); if (receipt.status === 1) { alert('Airdrop claimed! TX: ' + receipt.transactionHash); btn.innerHTML = 'CLAIMED'; } } catch (err) { console.error('Claim error:', err); alert('Claim failed: ' + (err.message || 'Unknown error')); btn.disabled = false; btn.innerHTML = 'CLAIM AIRDROP'; } } // ==================== END MERKLE AIRDROP ==================== // ==================== BLOCKCHAIN INTEGRATION (HYPER ARENA) ==================== let hyperWalletConnected = false; let hyperWalletAddress = null; let totalRewardsEarned = parseInt(localStorage.getItem('hyperGameRewards') || '0'); const hyperTokenContract = '0xbaa6e5EB6cAc18dE60e19Ce6a329bB9fd9BB1239'; const hyperGameContract = '0x8810958488FDdC61096c7eE6937B58d6f79db6B4'; async function connectHyperWallet() { const btn = document.getElementById('hyperConnectBtn'); const addrDisplay = document.getElementById('hyperWalletAddress'); const submitBtn = document.getElementById('submitScoreBtn'); try { if (!window.ethereum) { alert('Install MetaMask or compatible wallet'); return; } btn.innerHTML = 'CONNECTING...'; btn.disabled = true; const accounts = await window.ethereum.request({ method: 'eth_requestAccounts' }); if (accounts && accounts.length > 0) { hyperWalletAddress = accounts[0]; hyperWalletConnected = true; const chainId = await window.ethereum.request({ method: 'eth_chainId' }); if (chainId !== '0x38') { try { await window.ethereum.request({ method: 'wallet_switchEthereumChain', params: [{ chainId: '0x38' }] }); } catch (switchErr) { if (switchErr.code === 4902) { await window.ethereum.request({ method: 'wallet_addEthereumChain', params: [{ chainId: '0x38', chainName: 'BNB Smart Chain', nativeCurrency: { name: 'BNB', symbol: 'BNB', decimals: 18 }, rpcUrls: ['https://bsc-dataseed.binance.org/'], blockExplorerUrls: ['https://bscscan.com/'] }] }); } } } const shortAddr = hyperWalletAddress.slice(0, 6) + '...' + hyperWalletAddress.slice(-4); btn.style.display = 'none'; addrDisplay.innerText = shortAddr; addrDisplay.classList.remove('hidden'); addrDisplay.classList.add('text-neon', 'font-mono'); submitBtn.disabled = false; document.getElementById('claimGameBtn').disabled = totalRewardsEarned <= 0; // Check token balance via ethers const provider = new ethers.providers.Web3Provider(window.ethereum); const token = new ethers.Contract(hyperTokenContract, ERC20_MIN_ABI, provider); const bal = await token.balanceOf(hyperWalletAddress); const dec = await token.decimals(); const sym = await token.symbol(); const realBal = parseFloat(ethers.utils.formatUnits(bal, dec)); const balPanel = document.createElement('div'); balPanel.className = 'hyper-hud-panel'; balPanel.id = 'walletBalPanel'; balPanel.innerHTML = `
${sym} BALANCE
${realBal.toLocaleString()}
`; const hud = document.getElementById('hyperHud'); if (hud && !document.getElementById('walletBalPanel')) hud.appendChild(balPanel); // Sync global walletAddress = hyperWalletAddress; } } catch (err) { console.error('Wallet connect error:', err); btn.innerHTML = 'CONNECT'; btn.disabled = false; } } async function submitScoreToChain() { const btn = document.getElementById('submitScoreBtn'); const bestScore = parseInt(localStorage.getItem('hyperBestScore') || '0'); const totalCoins = parseInt(localStorage.getItem('hyperTotalCoins') || '0'); if (!hyperWalletConnected) { alert('Connect wallet first!'); return; } if (bestScore === 0) { alert('Play at least one game first!'); return; } btn.innerHTML = 'SUBMITTING...'; btn.disabled = true; try { const provider = new ethers.providers.Web3Provider(window.ethereum); const signer = provider.getSigner(); const contract = new ethers.Contract(hyperGameContract, GAME_ABI, signer); const tx = await contract.submitScore(bestScore, totalCoins, { gasLimit: 200000 }); const receipt = await tx.wait(); if (receipt.status === 1) { alert(`Score submitted! TX: ${receipt.transactionHash.slice(0, 10)}...`); localStorage.setItem('hyperLastSubmitHash', receipt.transactionHash); localStorage.setItem('hyperLastSubmitBlock', receipt.blockNumber.toString()); } } catch (err) { console.error('Submit error:', err); alert('Submit failed: ' + (err.message || 'Unknown error')); } finally { btn.innerHTML = 'SUBMIT SCORE'; btn.disabled = false; } } async function claimGameRewards() { const btn = document.getElementById('claimGameBtn'); const bestScore = parseInt(localStorage.getItem('hyperBestScore') || '0'); if (!hyperWalletConnected) { alert('Connect wallet first!'); return; } let earned = 0; if (bestScore >= 25000) earned += 185; else if (bestScore >= 10000) earned += 85; else if (bestScore >= 5000) earned += 35; else if (bestScore >= 1000) earned += 10; if (earned === 0) { alert('No rewards available. Reach score milestones first!'); return; } btn.innerHTML = 'CLAIMING...'; btn.disabled = true; try { const provider = new ethers.providers.Web3Provider(window.ethereum); const signer = provider.getSigner(); // Call the presale/game contract to claim rewards (contract holds the reward tokens) const rewardContract = new ethers.Contract(hyperGameContract, GAME_ABI, signer); const amount = ethers.utils.parseUnits(earned.toString(), 18); const tx = await rewardContract.claimGameReward(amount, { gasLimit: 200000 }); showToast('Info', 'Claim transaction submitted...'); const receipt = await tx.wait(); if (receipt.status === 1) { localStorage.setItem('hyperGameRewards', earned.toString()); totalRewardsEarned = earned; document.getElementById('totalRewards').innerText = earned.toLocaleString(); showToast('Success', `Claimed ${earned} $HYPER! TX: ${receipt.transactionHash.slice(0, 10)}...`); } } catch (err) { console.error('Claim error:', err); // Fallback: if claimGameReward doesn't exist on contract, show clear message if (err.message && err.message.includes('claimGameReward')) { alert('Reward contract not yet deployed. Rewards will be available after presale Stage 4 completion.'); } else { alert('Claim failed: ' + (err.message || 'Unknown error')); } } finally { btn.innerHTML = 'CLAIM REWARDS'; btn.disabled = false; } } function updateMilestones() { const bestScore = parseInt(localStorage.getItem('hyperBestScore') || '0'); let earned = 0; const milestones = [ { id: 'milestone1k', score: 1000, reward: 10 }, { id: 'milestone5k', score: 5000, reward: 25 }, { id: 'milestone10k', score: 10000, reward: 50 }, { id: 'milestone25k', score: 25000, reward: 100 } ]; milestones.forEach(m => { const el = document.getElementById(m.id); if (!el) return; const statusEl = el.querySelector('.status-text'); if (bestScore >= m.score) { el.style.borderColor = '#00ff41'; statusEl.innerText = 'CLAIMED'; statusEl.classList.remove('text-cyan/40'); statusEl.classList.add('text-neon'); earned += m.reward; } }); totalRewardsEarned = earned; document.getElementById('totalRewards').innerText = earned.toLocaleString(); if (hyperWalletConnected) { document.getElementById('claimGameBtn').disabled = earned <= 0; } } // Update milestones on page load window.addEventListener('load', () => { setTimeout(updateMilestones, 2000); }); // ==================== END BLOCKCHAIN INTEGRATION ====================