Python Flask Web3 Javascript License
A functional, real-time analytics dashboard monitoring live block streams, gas fees (Gwei base fees), volume tracking, and network activity distribution on Ethereum Mainnet.
π Live Demo: https://onchain-intelligence-dashboard.onrender.com
Raw block explorers like Etherscan are optimal for isolated inquiries but fail to give a micro-analytical view of instantaneous network behavior. Tracking macroeconomic metrics like transaction type dominance, sudden gas price spikes, and volume velocity requires consolidated visual monitoring planes.
- Live Block Stream: Renders processed blocks dynamically as they hit the chain, logging volume metrics and transaction weight.
- Gas Fee Observer: Tracks Base Fee performance in real time (
baseFeePerGasmapped to Gwei). - Macro Volumetric Counting: Aggregates overall ETH flows and transaction volume processed through active blocks.
- Dominance Analytics: Real-time state machine highlighting current network transaction type trend dominance (
Swap activity,High approvals, etc.).
Ethereum Core Node β web3.py Monitor Thread (Data Collector) β In-Memory State Machine (defaultdict aggregates) β Flask Server Core (/dashboard Server State JSON) β Frontend Polling (AJAX state re-rendering every 15s)
- Python β Multi-threaded asynchronous loop state management.
- web3.py β Mainnet RPC block parsing engines.
- Flask β Server engine providing lightweight data endpoints.
- HTML / CSS / JavaScript β Minimalistic slate dark theme UI layout.
- Why In-Memory Collections instead of databases? For a real-time volatility tracking dashboard, caching rolling states inside fast memory data structures minimizes I/O latency bottlenecks, keeping memory consumption tiny on free hosting structures.
- Why Host-Binding 0.0.0.0? Correctly resolves port assignment inside isolated deployment instances (such as Render Linux containers), bypassing traditional localhost routing isolation blockers.
- EIP-1559 Compatibility: Handled potential block parsing errors by implementing safe fallbacks for legacy blocks missing the modern
baseFeePerGasfield mapping. - UI State Flipping Protection: Implemented an off-screen layout updates handler to avoid visual micro-stuttering or flickering during intensive state arrays modifications.
MIT License