A modern, responsive blockchain explorer for the Torram network built with Next.js 14, TypeScript, and Tailwind CSS.
- 🌓 Dark/Light mode support
- 📱 Fully responsive design
- ⚡ Server-side rendering for optimal performance
- 🔍 Advanced search functionality
- 📊 Real-time blockchain data
- 🎯 Modern, clean UI/UX
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- Components: Lucide Icons, Headless UI
- State Management: React Hooks
- Data Fetching: [Upcoming]
- Node.js 18+
- npm or yarn
- Clone the repository:
git clone https://github.com/yourusername/torram-explorer.git
cd torram-explorer- Install dependencies:
npm install
# or
yarn install- Start the development server:
npm run dev
# or
yarn dev- Open http://localhost:3000 with your browser.
src/
├── app/ # Next.js app directory
│ ├── blocks/ # Blocks route
│ ├── transactions/ # Transactions route
│ ├── validators/ # Validators route
│ └── layout.tsx # Root layout
├── components/ # React components
│ ├── layout/ # Layout components
│ ├── shared/ # Shared/reusable components
│ └── blocks/ # Block-specific components
├── lib/ # Utility functions and API
└── types/ # TypeScript type definitions
- Responsive navigation
- Theme switching (Dark/Light mode)
- Mobile-friendly design
- Block explorer layout
- Search functionality (UI)
- Block details page
- Transaction explorer
- Validator list and details
- Account/Address view
- Real-time data updates
- Analytics and charts
- Network parameters view
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
npm run dev- Start development servernpm run build- Build production versionnpm run start- Start production servernpm run lint- Run ESLintnpm run type-check- Run TypeScript checks
Create a .env.local file in the root directory:
NEXT_PUBLIC_API_URL=your_api_url
NEXT_PUBLIC_CHAIN_ID=your_chain_id- Peer Count Display
- Block Validation History
- Oracle Price Feed Status
- KYC Node Names [needs staking]
- Staked Amount Tracking [needs staking]
- Node Rankings (Release #2) [needs staking]
- Uptime Metrics
- Error Rate Tracking
- Developer API Support Metrics
- Current Block Height
- Block Time Display
- Network Node Count [needs staking]
- Chain Size
- Block Rewards [needs staking]
- Torram Fees Collection [needs tx implementation]
- Custom Reward Metrics [needs staking]
- Block Transaction Counts [needs tx implementation]
- Mempool Size
- BTC Network Confirmations [needs bitcoin implementation]
- TORR Signature Verification [needs bitcoin implementation]
- Bitcoin Transaction Linking [needs bitcoin implementation]
- BTC Fee Tracking [needs bitcoin implementation]
- Transaction Confirmation Time [needs bitcoin implementation]
- Current Bitcoin Price
- Live Block Updates
- Real-time Transaction Feed [needs tx implementation]
- Live Node Status Updates [needs staking]
- Real-time Price Feed
- Live Network Statistics
- WebSocket Connection Status
- Real-time Error/Alert Notifications