{"repo":"ac12644/blockchain-secp-falcon","free":true,"listed":false,"github":"https://github.com/ac12644/blockchain-secp-falcon","clone":"git clone https://github.com/ac12644/blockchain-secp-falcon.git","description":"Learn-by-doing blockchain: modular consensus (PoW/PoS), pluggable crypto (secp256k1 / Falcon PQC), P2P gossip, Merkle trees, blocks, state, and a tiny REST API.🚀","language":"JavaScript","stars":22,"topics":["blockchain","leveldb","peer2peer","wallet","cli","crypto-js","discovery-swarm","nodejs","ecdsa","falcon512"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Blockchain A hackable, educational Layer 1 blockchain built from scratch in Node.js --- Overview A fully functional blockchain implementation designed for learning. Every component is modular, readable, and swappable — from consensus to cryptography to networking. Key features: - Pluggable consensus -- switch between Proof-of-Work and Proof-of-Stake via environment variable - Pluggable cryptography -- secp256k1 (ECDSA via Node.js built-in crypto) or post-quantum Falcon-512 - P2P networking -- peer discovery and block gossip via Hyperswarm with NAT hole-punching - Transaction mempool -- fee-sorted pending transaction pool - Block rewards -- coinbase transactions with halving schedule (50 coins, halves every 210K blocks) - Difficulty adjustment -- Bitcoin-style retargeting every 10 blocks - Persistent storage -- RocksDB for block persistence across restarts - REST API -- query blocks, state, mempool; submit transactions and mine - CLI -- 8 commands for interacting with a running node - Race-safe -- sequential block queue prevents concurrent modification --- Quick Start Requirements: Node.js = 22 Output: --- Architecture --- Configuration Set via environment variables or .env file (see .env.example ): Variable Values Default Description --- --- --- --- CONSENSUS MODE pow , pos pow Consensus mechanism CRYPTO MODE secp256k1 , falcon secp256k1 Signing algorithm HTTP PORT any port number auto (8080-8999) HTTP API port DB PATH file path ./data/blocks RocksDB storage path Convenience ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ac12644","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ac12644/blockchain-secp-falcon/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}