Vission is a modern, responsive web application that provides real-time analytics and visualizations for the Shardeum blockchain. It offers a comprehensive view of blockchain metrics, transaction data, and network health in an intuitive dashboard interface.
- Real-time Blockchain Metrics: Track transactions, value transferred, gas usage, and more
- Time-based Filtering: View data across different time ranges (1d, 7d, 1m, all time)
- Transaction Analysis: Visualize transaction type distribution with interactive charts
- Account Tracking: Monitor top SHM holders and unique address trends
- Block Statistics: View block production metrics, average transactions per block, and block time
- Network Health Monitoring: Track the Shardeum network status and uptime
- Frontend: React 18 with TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS
- Charts: Chart.js with React-Chartjs-2
- Icons: Lucide React
- Date Handling: date-fns
shardvission/
├── public/ # Static assets
├── src/ # Source code
│ ├── components/ # React components
│ ├── services/ # API services
│ ├── types/ # TypeScript type definitions
│ ├── utils/ # Utility functions
│ ├── App.tsx # Main application component
│ └── main.tsx # Application entry point
├── package.json # Project dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── vite.config.ts # Vite configuration
└── README.md # Project documentation
- Dashboard: Main container for all blockchain data visualizations
- StatsGrid: Displays key blockchain metrics in a responsive grid
- TimeSelector: Allows users to filter data by different time ranges
- TransactionChart: Visualizes transaction type distribution
- TopAccountsTable: Shows the top SHM holders
- UniqueAddressesTrendChart: Tracks unique address growth over time
- Sidebar: Navigation and network status display
The application connects to the Shardeum Transaction Indexer API, which provides endpoints for:
- Transaction counts and values
- Gas usage statistics
- Block metrics
- Account information
- Network health status
- Node.js (v14 or higher)
- npm or yarn
-
Clone the repository:
git clone cd shardvission -
Install dependencies:
npm install # or yarn -
Start the development server:
npm run dev # or yarn dev -
Open your browser and navigate to
http://localhost:5173
npm run build
# or
yarn buildThe built files will be in the dist directory.
The application uses environment variables for configuration. Create a .env file in the root directory with the following variables:
VITE_API_URL=http://your-api-url
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Shardeum for the blockchain platform
- Tailwind CSS for the styling framework
- Chart.js for the charting library
- Lucide React for the icon set

