MEGA Blockscout: Explorer + Beacon Chain + Browser Solidity Compiler in one platform
MEGA Blockscout (Make Ethereum Great Again) revolutionizes blockchain exploration by transforming the traditional explorer into a comprehensive all-in-one development and monitoring platform. While standard Blockscout is limited to execution client RPC calls, MEGA Blockscout integrates Lighthouse beacon chain APIs for complete validator monitoring, features a browser-based Solidity IDE with real-time compilation via solc.js and Web Workers, and includes Blockscout SDK for advanced transaction querying. Developers can write, compile, and deploy smart contracts directly from the explorer using pre-built templates (ERC20, USDC, NFT), with automatic OpenZeppelin import resolution and MetaMask integration. This eliminates the need for 5-10 separate tools, creating a unified experience where projects can develop contracts, monitor validators, track transactions, and analyze on-chain activity in one place. Built as a fully open-source solution to empower the Ethereum community, MEGA Blockscout is live at https://ethglobal-blockscout.roax.network/, demonstrating how consolidating fragmented blockchain tools accelerates development cycles and reduces infrastructure complexity.
I built MEGA Blockscout by forking the open-source Blockscout explorer and enhancing it with three major integrations. First, we integrated Lighthouse beacon chain APIs into the Elixir backend, creating custom validator endpoints that merge execution and consensus layer data into unified dashboards. The most technically challenging part was building a fully-functional Solidity IDE that runs entirely in the browser - we embedded solc.js (the official Solidity compiler compiled to WebAssembly) inside a Web Worker to prevent UI blocking during compilation, implemented a custom import resolver that fetches OpenZeppelin contracts from GitHub CDN in real-time, and used Monaco Editor for a VSCode-like experience. For blockchain interactions, we integrated Blockscout SDK with WebSocket subscriptions for real-time transaction monitoring and used Wagmi/Viem for seamless wallet connections. The particularly hacky part was getting around CORS restrictions for GitHub imports - we proxy requests through unpkg.com CDN and cache compiled contracts in IndexedDB for offline compilation. Everything runs in Docker containers (PostgreSQL, Redis, Elixir backend, Next.js frontend) orchestrated with docker-compose, deployed on Google Compute Engine with Nginx handling SSL termination. The frontend bundles multiple Solidity compiler versions (0.8.19-0.8.26) as separate Web Workers, dynamically loading the right version based on pragma statements, making it feel like a cloud IDE while running 100% client-side.

