A blockchain explorer for Pi Network inspired by piscan.io, built with modern web technologies.
- 📊 Market Data Display: Real-time market cap, price, and supply information
- 🔍 Search Functionality: Search for addresses, transactions, and blocks
- 📈 Interactive Charts: Price and volume visualization with Recharts
- 📋 Transaction Tables: Latest transactions and operations display
- 🎨 Modern UI: Beautiful purple gradient design with glassmorphism effects
- 📱 Responsive Design: Works perfectly on desktop and mobile devices
- ⚡ Fast Performance: Built with Next.js and optimized for speed
- Framework: Next.js 15.3.2
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: shadcn/ui
- Charts: Recharts
- Icons: Lucide React
- Deployment: Netlify
- Node.js 18+ or Bun
- npm/yarn/pnpm/bun
- Clone the repository:
git clone https://github.com/Jiangzy520/pi-network-explorer.git
cd pi-network-explorer- Install dependencies:
# Using bun (recommended)
bun install
# Or using npm
npm install
# Or using yarn
yarn install- Start the development server:
# Using bun
bun run dev
# Or using npm
npm run dev
# Or using yarn
yarn dev- Open http://localhost:3000 in your browser.
bun run build# The project is configured for static export
# Simply upload the `out` folder to Netlify- Purple Gradient Background: Beautiful gradient from purple-600 to purple-800
- Glassmorphism Cards: Semi-transparent white cards with backdrop blur
- Interactive Elements: Hover effects and smooth transitions
- Modern Typography: Clean and readable font hierarchy
- Responsive Layout: Grid-based layout that adapts to all screen sizes
The current implementation uses mock data to demonstrate the interface. In a production environment, you would integrate with:
- Pi Network RPC API
- Stellar Network API (as Pi Network is based on Stellar)
- Custom blockchain indexing service
- Replace mock data in
src/app/page.tsx - Integrate with Pi Network API endpoints
- Add data fetching utilities in
src/lib/ - Implement real-time updates with WebSockets
- Colors: Edit
tailwind.config.ts - Components: Modify files in
src/components/ui/ - Layouts: Update
src/app/layout.tsx
pi-network-explorer/
├── src/
│ ├── app/
│ │ ├── globals.css
│ │ ├── layout.tsx
│ │ └── page.tsx
│ ├── components/
│ │ ├── ui/ # shadcn/ui components
│ │ └── PriceChart.tsx
│ └── lib/
│ └── utils.ts
├── public/
├── package.json
├── next.config.js
├── tailwind.config.ts
└── README.md
- Live Site: https://same-9bfdkj4nyx0-latest.netlify.app
- Original Design: piscan.io
The interface closely replicates the design of piscan.io with:
- Header navigation with dropdown menus
- Market statistics cards
- Interactive price chart
- Transaction and operations tables
- Professional footer
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
- Integrate real Pi Network API
- Add address detail pages
- Implement transaction detail views
- Add multi-language support
- Optimize mobile experience
- Add data caching layer
- Implement real-time updates
- Add wallet connection feature
This project is open source and available under the MIT License.
Built with ❤️ by Jiangzy520
Note: This is a UI replica for educational and development purposes. For production use, ensure you have proper API access and comply with relevant blockchain data usage policies.