πArchitecture
Understanding the technical architecture behind Khensu Fun.
Overview
Khensu Fun is built on the Hathor Network, leveraging its unique properties for a seamless fair launch experience.
Technology Stack
Blockchain
Hathor Network
Base layer with zero fees
Smart Contracts
Nano Contracts
Bonding curve & trading logic
Frontend
Web Application
User interface
Storage
Vercel Blob
Token images (off-chain)
Real-time
Pusher
Live updates & notifications
Hathor Network
DAG Architecture
Hathor uses a Directed Acyclic Graph (DAG) structure:
Fast transaction processing
Parallel validation
No traditional block limitations
Zero Network Fees
Unlike most blockchains, Hathor has zero native network fees:
Trading fees are protocol-level only (2% buy, 3% sell)
No gas costs for transactions
Makes micro-transactions viable
Merged Mining
Hathor inherits Bitcoin's security through merged mining:
Bitcoin miners can mine HTR simultaneously
Strong security guarantees
Energy-efficient security model
Nano Contracts
Khensu Fun's logic runs on Nano ContractsβHathor's smart contract technology:
Key Characteristics
Serverless
No dedicated infrastructure needed
Lightweight
Efficient execution
On-chain
All logic verified by network
Contract Functions
The Khensu nano contract handles:
Token creation and registration
Bonding curve price calculations
Buy and sell order execution
Internal balance management
Graduation trigger and migration
Off-Chain Components
Image Storage
Token images are stored on Vercel Blob:
Fast, reliable delivery
Image hash stored on-chain for verification
Reduces blockchain bloat
Real-Time Updates
Pusher provides live frontend updates:
Transaction confirmations without refresh
Price updates in real-time
New token notifications
Integration Points
Dozer Finance
The destination for graduated tokens:
Standard AMM/DEX
Permanent liquidity pools
Continues token's trading lifecycle
Wallet Integration
Connects with Hathor-compatible wallets:
Transaction signing
Balance queries
Address management
Flow Diagram
Next Steps
Deep dive into Bonding Curve mechanics
Understand the Fee Structure
Review Security measures
Last updated