An educational blockchain visualization tool built with React, designed to help users understand blockchain technology through interactive demonstrations.
✨ Now Production-Ready with Enhanced UI/UX, Performance Optimizations, and Deployment Configuration!
- SHA-256 Hashing Visualizer: Real-time cryptographic hash computation with avalanche effect demonstration
- Proof of Work Mining: Interactive mining simulator with adjustable difficulty (1-6 levels)
- Blockchain Explorer: Visual blockchain with validation and tampering detection
- Cryptocurrency Wallets: Key pair generation (secp256k1) and transaction signing (ECDSA)
- Transaction System: Full transaction lifecycle from creation to mining with mempool
- Mobile Responsive: Optimized for desktop, tablet, and mobile devices
- Accessibility: WCAG AA compliant with keyboard navigation and screen reader support
- Data Persistence: Save and load blockchain state with localStorage integration
- Clone the repository
git clone <repository-url>
cd blocksim- Install dependencies
npm install- Start development server
npm run dev- Open your browser
Navigate to
http://localhost:3000
One-Click Deploy to Vercel:
Manual Deploy:
# Build for production
npm run build
# Preview production build
npm run preview
# Deploy to Vercel
vercel --prodSee DEPLOYMENT.md for detailed deployment instructions.
- Frontend Framework: React 18.2.0
- Build Tool: Vite 5.0.0 (with optimized production config)
- Styling: Tailwind CSS 3.3.5
- Animations: Framer Motion 10.16.4
- Cryptography:
- crypto-js 4.2.0 (SHA-256)
- elliptic 6.5.4 (ECDSA signatures, secp256k1)
- Visualization: D3.js 7.8.5
- Deployment: Vercel (with CI/CD via GitHub Actions)
blocksim/
├── src/
│ ├── components/
│ │ ├── layout/
│ │ ├── visualizers/
│ │ └── common/
│ ├── pages/
│ ├── utils/
│ │ ├── blockchain/
│ │ └── helpers/
│ ├── hooks/
│ ├── styles/
│ ├── constants/
│ ├── App.jsx
│ ├── main.jsx
│ └── index.css
├── public/
├── index.html
├── package.json
└── README.md
- Navigate to the Hash Visualizer
- Enter any text to see SHA-256 hash
- Try the avalanche effect demo to see how small changes create completely different hashes
- Open the Mining Visualizer
- Adjust the difficulty level (1-6)
- Enter block data
- Click "Start Mining" to see proof-of-work in action
- View the blockchain visualization
- Add new blocks with custom data
- Try tampering with a block to see validation fail
- Explore transaction history
- Create a new wallet (generates public/private key pair)
- Fund wallets through mining rewards
- Create and sign transactions
- Mine blocks to confirm transactions
- Private keys are generated in-browser and never sent to any server
- This is an educational tool - do not use for real cryptocurrency
- Private keys are stored in browser memory - clear on page refresh
- Always keep private keys secure in production applications
- Understand cryptographic hash functions
- Learn proof-of-work consensus mechanism
- Explore blockchain immutability
- Grasp public-key cryptography
- Visualize distributed ledger technology
Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.
MIT License - feel free to use this project for educational purposes.
- Built as an educational tool to demystify blockchain technology
- Inspired by blockchain pioneers and cryptocurrency innovations
- Thanks to the open-source community for amazing libraries
- Lighthouse Score: 90+ (target)
- First Contentful Paint: < 1.5s
- Time to Interactive: < 3.5s
- Bundle Size: < 500KB (initial, with code splitting)
- START_HERE.md - Quick orientation guide
- QUICKSTART.md - 2-minute setup guide
- SETUP.md - Detailed installation guide
- FEATURES.md - Complete feature list
- DEPLOYMENT.md - Production deployment guide
- PRODUCTION_CHECKLIST.md - Pre-deployment checklist
- PRODUCTION_ENHANCEMENTS.md - Recent improvements
- Chrome/Edge 90+
- Firefox 88+
- Safari 14+
- Opera 76+
- Mobile browsers (iOS Safari, Chrome Mobile)
For questions or issues:
- Open a GitHub Issue
- Check existing documentation
- Review the FAQ in About page
- Core blockchain functionality
- Transaction system with wallets
- Mobile responsive design
- Production deployment ready
- PWA offline support
- Multi-language support
- Advanced tutorials
- Community features
Built with ❤️ for blockchain education
Production Ready ✅ | Version 1.0.0 | MIT License