Enterprise-grade Ethereum blockchain analysis platform for transaction debugging, gas optimization, and smart contract forensics.
Arguschain provides deep blockchain analysis capabilities with 12+ advanced analysis methods, real-time monitoring, and intuitive visualizations. Built for developers, auditors, and researchers who need comprehensive transaction insights.
- Transaction Tracing - Complete call hierarchies with gas analysis
- Bytecode Forensics - Disassembly and opcode-level debugging
- Event Log Analysis - Automatic decoding and filtering
- Storage Inspection - Contract state analysis and diff visualization
- Debug Block Tracing - Block-level execution analysis
- Transaction Replay - Historical transaction re-execution
- Mempool Monitoring - Real-time pending transaction analysis
- Transaction Simulation - Pre-execution testing and optimization
- Multi-network support (Mainnet, Sepolia, custom RPCs)
- Export capabilities (Image, JSON, CSV)
- Performance analytics and optimization suggestions
- Bookmark and history management
- Real-time data streaming
- Mobile-responsive design
- WCAG 2.1 AA accessibility compliance
- Comprehensive error handling with retry mechanisms
- Multi-layer caching (memory β localStorage β IndexedDB)
- Progressive loading for large datasets
- Offline-capable architecture
- Node.js 18+ or Bun (Recommended)
- Ethereum RPC endpoint (Google Blockchain RPC, Infura, Alchemy, or local node)
# Ethereum RPC Endpoints
VITE_MAINNET_RPC_URL=your_mainnet_rpc_url
VITE_SEPOLIA_RPC_URL=your_sepolia_rpc_url
# Supabase Configuration (REQUIRED)
# Get these from: Supabase Dashboard β Connect β App Frameworks β React + Vite
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
# Auth Redirect URLs (for OAuth REQUIRED)
VITE_AUTH_REDIRECT_URL=http://localhost:5173/auth/callback# Clone the repository
git clone https://github.com/exyreams/arguschain.git
cd arguschain
# Install dependencies
bun install
# or
npm install
# Set up environment variables
cp .env.example .env
# Edit .env with your RPC endpoints and configuration# Start development server
bun run dev
# or
npm run dev
# Build for production
bun run build
#or
npm run build
# Run linting
bun run lint
#or
npm run lintVisit http://localhost:5173 to access the application.
Experience Arguschain's comprehensive blockchain analysis capabilities in action.
- Frontend: React 19.1.0 + TypeScript 5.8.3
- Build Tool: Vite 7.0.6 with SWC
- Styling: Tailwind CSS 3.4.17 + shadcn/ui
- State Management: TanStack React Query 5.83.0
- Blockchain: ethers.js 6.15.0
- Performance: React Virtual for large datasets
- Performance First: Virtualization, caching, and lazy loading
- Accessibility: WCAG 2.1 AA compliance with full keyboard navigation
- Type Safety: 100% TypeScript coverage with strict mode
- Error Resilience: Comprehensive error boundaries and retry mechanisms
π Project Structure
src/
βββ App.tsx # Root application component
βββ main.tsx # Entry point for the React application
βββ index.css # Global styles
βββ vite-env.d.ts # Vite TypeScript declarations
βββ assets/ # Static assets (logos, icons, loaders)
βββ components/ # Reusable UI components
β βββ auth/ # Authentication components (SignIn, SignUp, AuthCard, etc.)
β βββ blocktrace/ # Block trace visualization components
β βββ bytecode/ # Bytecode analysis and disassembly UI
β βββ dashboard/ # Dashboard and analytics components
β βββ debugblock/ # Debug block execution components
β βββ debugtrace/ # Debug trace visualization
β βββ eventlogs/ # Event log parsing and display
β βββ global/ # Global components (modals, toasts, etc.)
β βββ landing/ # Landing page components
β βββ layout/ # Layout and navigation components
β βββ mempool/ # Mempool monitoring UI
β βββ modals/ # Modal dialog components
β βββ replaytransactions/ # Transaction replay interface
β βββ status/ # Status indicators and loaders
β βββ storagerange/ # Storage range analysis
β βββ tracetransaction/ # Transaction tracing components
β βββ transactionsimulation/ # Simulation UI
β βββ ui/ # Base UI primitives (buttons, cards, etc.)
βββ hooks/ # Custom React hooks
β βββ auth/ # Authentication hooks
β βββ blockchain/ # Blockchain interaction hooks
β βββ blocktrace/ # Block trace hooks
β βββ bookmarks/ # Bookmark management
β βββ bytecode/ # Bytecode analysis hooks
β βββ dashboard/ # Dashboard data hooks
β βββ debugblock/ # Debug block hooks
β βββ debugtrace/ # Debug trace hooks
β βββ eventlogs/ # Event log hooks
β βββ global/ # Global state hooks
β βββ mempool/ # Mempool hooks
β βββ replaytransactions/ # Replay hooks
β βββ shared/ # Shared utility hooks
β βββ storagerange/ # Storage hooks
β βββ tracetransaction/ # Trace transaction hooks
β βββ transactionsimulation/ # Simulation hooks
βββ lib/ # Core library and utilities
β βββ blockchainService.ts # Blockchain RPC and data services
β βββ blockIdentifierUtils.ts # Block identification helpers
β βββ config.ts # Application configuration
β βββ queryConfig.ts # API query configurations
β βββ structLogTracer.ts # Struct log tracing utilities
β βββ toast-config.ts # Toast notification setup
β βββ traceCache.ts # Trace result caching
β βββ transactionTracer.ts # Transaction tracing logic
β βββ unifiedAnalyzer.ts # Unified analysis engine
β βββ utils.ts # General utility functions
β βββ [feature]/ # Feature-specific libraries (analytics, auth, export, etc.)
βββ pages/ # Page-level components
βββ AnalysisHistoryPage.tsx # Analysis history view
βββ AuthCallback.tsx # OAuth/auth callback
βββ BlockTraceAnalyzer.tsx # Block trace analyzer page
βββ BytecodeAnalysis.tsx # Bytecode analysis page
βββ Dashboard.tsx # Main dashboard
βββ DebugBlockTrace.tsx # Debug block trace
βββ DebugTrace.tsx # Debug trace page
βββ EventLogs.tsx # Event logs page
βββ Landing.tsx # Landing/home page
βββ NetworkMonitor.tsx # Network monitoring
βββ NotFound.tsx # 404 page
βββ PerformanceDashboardPage.tsx # Performance dashboard
βββ ReplayTransactions.tsx # Replay transactions page
βββ SignIn.tsx # Sign-in page
βββ SignUp.tsx # Sign-up page
βββ StorageAnalysis.tsx # Storage analysis
βββ ToastTest.tsx # Toast testing (dev utility)
βββ TraceTransaction.tsx # Trace transaction page
βββ TransactionPool.tsx # Transaction pool page
βββ TransactionSimulation.tsx # Simulation page
βββ TxStatus.tsx # Transaction status page
public/ # Static public assets
βββ package.json # Dependencies and scripts
βββ bun.lock # Bun lockfile
βββ tailwind.config.ts # Tailwind configuration
βββ postcss.config.js # PostCSS config
βββ eslint.config.js # ESLint configuration
βββ tsconfig.json # TypeScript config (root)
βββ tsconfig.app.json # App-specific TS config
βββ tsconfig.node.json # Node-specific TS config
βββ vite.config.ts # Vite build config
βββ [docs]/ # Documentation files (Hackathon.md, ODL.md, Questions.md, Story.md)
Arguschain implements comprehensive analysis workflows using advanced Ethereum RPC methods, optimized for deep blockchain intelligence:
debug_traceTransaction(50x multiplier) - Complete EVM execution tracingtrace_replayTransaction(100x multiplier) - State diffs for forensic auditingeth_getLogs(50x multiplier) - High-efficiency event filteringdebug_storageRangeAt(50x multiplier) - Direct storage inspectiontrace_block(75x multiplier) - Block-level execution flowsdebug_traceBlockByNumber(75x multiplier) - Detailed block tracingtrace_call(25x multiplier) - Transaction simulation and gas predictiontxpool_status(10x multiplier) - Mempool health monitoring
- Internal Call Mapping: Complete call hierarchies with gas breakdown
- Event Emission Tracking: Automatic event decoding and filtering
- Revert Debugging: Detailed failure analysis with stack traces
- Gas Optimization: Step-by-step gas consumption analysis
- Transaction Context: How transactions interact within blocks
- MEV Detection: Identify arbitrage and sandwich attacks
- Gas Pattern Analysis: Block-level gas usage patterns
- Network Activity: Comprehensive block activity overview
- Precise State Tracking: Balance and storage change monitoring
- "What-If" Scenarios: Pre-execution transaction testing
- Historical Replay: Re-execute past transactions with full context
- Storage Inspection: Raw contract storage analysis
- Mempool Analysis: Pending transaction insights
- Congestion Assessment: Network health and confirmation times
- Gas Price Intelligence: Dynamic fee recommendations
- Debug failed transactions with complete call traces
- Optimize gas usage with detailed execution analysis
- Test contract interactions before deployment
- Monitor transaction pool for MEV opportunities
- Forensic analysis of suspicious transactions
- Contract state inspection and vulnerability assessment
- Historical transaction replay for incident investigation
- Comparative analysis for attack pattern detection
- Monitor protocol interactions and user flows
- Analyze arbitrage and liquidation transactions
- Track cross-protocol transaction patterns
- Performance monitoring and optimization
- Large-scale transaction pattern analysis
- Network behavior studies and analytics
- Protocol adoption and usage metrics
- Historical blockchain data exploration
Unlike basic block explorers, Arguschain provides access to computationally expensive RPC methods that are typically cost-prohibitive:
- Deep EVM Tracing: Full execution paths with opcode-level detail
- State Diff Analysis: Precise tracking of all state changes
- Advanced Simulation: Test transactions before execution
- Forensic Capabilities: Investigate complex DeFi interactions
- Virtualized Rendering: Handle datasets >10,000 items smoothly
- Multi-layer Caching: Memory β localStorage β IndexedDB optimization
- Progressive Loading: Skeleton UI for operations >200ms
- Error Resilience: Exponential backoff retry with graceful degradation
- TypeScript First: 100% type coverage with strict mode
- Component Architecture: Modular, reusable UI components
- Real-time Updates: Live data streaming with React Query
- Export Capabilities: JSON/CSV export for all analysis views
- WCAG 2.1 AA: Full accessibility compliance
- Keyboard Navigation: Complete keyboard-only operation
- Screen Reader Support: Semantic HTML with proper ARIA labels
- Mobile Responsive: Touch-friendly mobile interface
We welcome contributions! Here's how to get started:
- Fork and clone the repository
- Install dependencies:
npm installorbun install - Set up environment: Copy
.env.exampleto.envand configure - Start development:
npm run dev
- TypeScript: Strict mode enabled, no
anytypes - Components: PascalCase with proper prop interfaces
- Hooks: kebab-case with
use-prefix - Imports: Use
@/*aliases, follow import order guidelines - Testing: Write tests for new features and bug fixes
- Create a feature branch:
git checkout -b feature/your-feature-name - Follow our coding standards and architecture patterns
- Add tests for new functionality
- Update documentation as needed
- Submit a pull request with a clear description
Follow our structured approach for new features:
- Define TypeScript interfaces first
- Implement service layer with React Query
- Build components with error handling
- Add proper accessibility and performance optimizations
This project is licensed under the AGPL-V3 License - see the LICENSE file for details.
Built with β€οΈ by exyreams