Professional blockchain explorer for ANDE Chain - Fast, Modern, and User-Friendly
- π Real-time Updates - Live block and transaction feed via WebSocket
- β‘ Lightning Fast - Direct RPC connection with intelligent caching
- π¨ Modern UI - Clean design with ANDE institutional colors
- π± Responsive - Optimized for all devices
- π Smart Search - Find blocks, transactions, and addresses instantly
- π Network Stats - Live metrics and analytics dashboard
- π Multi-chain Ready - Built for scalability
- Node.js 18+ and npm 9+
- ANDE Chain RPC endpoint (default:
http://192.168.0.8:8545)
# Clone the repository
git clone https://github.com/AndeLabs/ande-explorer.git
cd ande-explorer
# Install dependencies
cd frontend
npm install
# Configure environment
cp .env.example .env.local
# Edit .env.local with your RPC endpoint
# Run development server
npm run devOpen http://localhost:3000 in your browser.
Create a .env.local file in the frontend directory:
# RPC Configuration
NEXT_PUBLIC_RPC_URL=http://192.168.0.8:8545
NEXT_PUBLIC_WS_URL=ws://192.168.0.8:8546
# Chain Configuration
NEXT_PUBLIC_CHAIN_ID=42170
NEXT_PUBLIC_CHAIN_NAME=Ande Chain
# Features
NEXT_PUBLIC_ENABLE_WEBSOCKETS=true
NEXT_PUBLIC_SHOW_GAS_TRACKER=trueSee .env.example for all available options.
ANDE Explorer uses a modern, performance-optimized architecture:
βββββββββββββββββββ
β Next.js App β β React 18, App Router, RSC
βββββββββββββββββββ€
β React Query β β Data fetching, caching
βββββββββββββββββββ€
β viem Client β β Direct RPC connection
βββββββββββββββββββ€
β ANDE Chain β β http://192.168.0.8:8545
βββββββββββββββββββ
- Framework: Next.js 14 with App Router
- Language: TypeScript (strict mode)
- Styling: Tailwind CSS with custom ANDE theme
- Data Fetching: TanStack Query + viem
- UI Components: Radix UI primitives
- Icons: Lucide React
See ARCHITECTURE.md for detailed documentation.
ANDE Explorer uses the official ANDE institutional color palette:
- Azul Profundo
#2455B8- Headers, primary buttons, key links - Naranja Vibrante
#FF9F1C- Call-to-action, highlights
- Lavanda Suave
#BFA4FF- Alternate backgrounds, cards - Durazno Claro
#FFC77D- Soft backgrounds, secondary elements
- Gris Claro
#F4F4F4- Clean backgrounds - Gris Medio
#9A9A9A- Secondary text - Gris Oscuro
#393939- Primary text
# Build the application
npm run build
# Start production server
npm start# Install Vercel CLI
npm i -g vercel
# Deploy
vercel --prodSee VERCEL_DEPLOYMENT_GUIDE.md for detailed instructions.
Navigate to /blocks/12345 or use the search bar:
// Programmatic search
import { useBlock } from '@/lib/hooks/useBlocksRPC';
const { data: block } = useBlock(12345n);import { useAddressBalance } from '@/lib/hooks/useAddressRPC';
const { data: balance } = useAddressBalance('0x...');
console.log(balance.formatted); // "1.234 ETH"import { useWatchBlocks } from '@/lib/hooks/useBlocksRPC';
useWatchBlocks((block) => {
console.log('New block:', block.number);
});npm run testnpm run type-checknpm run lintnpm run formatANDE Explorer is optimized for speed:
- First Contentful Paint: < 1.0s
- Largest Contentful Paint: < 2.5s
- Time to Interactive: < 3.0s
- API Response Time: < 200ms
Performance is continuously monitored and optimized.
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Run tests:
npm test - Commit:
git commit -m 'Add amazing feature' - Push:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the MIT License - see LICENSE file for details.
- Live Explorer: https://explorer.ande.network
- ANDE Chain: https://github.com/AndeLabs/ande-chain
- Documentation: https://docs.ande.network
- Discord: https://discord.gg/andechain
Built with β€οΈ by ANDE Labs
- Blockscout - Architecture inspiration
- viem - Excellent Ethereum library
- TanStack Query - Powerful data synchronization
- Next.js - Amazing React framework
Status: Production Ready (MVP)
Version: 2.0.0
Last Updated: 2025-11-16