Live · learning project, coins have no real value
nel-chain
Proof-of-Stake learning blockchain
A blockchain I built from scratch to understand how one works. Validators are chosen by Proof-of-Stake with a VRF instead of mining, and the web app includes a block explorer, a wallet, and lessons.
- 400+ automated tests and a written threat model
- Built in 80+ small phases, including a planned hard fork on the running testnet
How it's built
- Nodes are Node.js processes that share blocks and votes over WebSockets; a local network runs 4 nodes.
- Signatures and hashes use the audited @noble cryptography libraries; every signature includes a chain ID so transactions cannot be replayed on another network.
- Three network settings: a fast local lab, a real-time testnet, and a mainnet that is only a draft.
- Next.js
- TypeScript
- Node.js
- WebSocket
- Vitest



