{"repo":"0xsouravm/mockchain","free":true,"listed":false,"github":"https://github.com/0xsouravm/mockchain","clone":"git clone https://github.com/0xsouravm/mockchain.git","description":"A modular Rust blockchain implementation with pluggable consensus mechanisms (PoW/PoS), ECDSA-secured transactions, and gRPC API. Educational project showcasing blockchain fundamentals with practical code.","language":"Rust","stars":16,"topics":["blockchain","consensus","grpc-rust"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"MockChain: A Flexible Rust Blockchain Implementation Table of Contents - Overview - Key Features - Pluggable Consensus Mechanisms - Secure Transactions - gRPC API Service - Block Structure - Development Features - Getting Started - Prerequisites - Installation - Running the Node - Configuration Options - Client Interaction - Official Wallet Client: Mockallet - Using the gRPC API Directly - Example: Requesting Test Tokens - Example: Submitting a Transaction - Architecture - Technical Details - Transaction Verification - Mining Process - Ecosystem - Core Components - Future Improvements - License - Contributing - Priority Contribution Areas Overview MockChain is a modular blockchain implementation written in Rust that demonstrates fundamental blockchain concepts while providing a practical framework for experimentation. This project features a pluggable consensus mechanism, transaction management, and a gRPC API for external interaction. Key Features Pluggable Consensus Mechanisms The blockchain supports different consensus algorithms through a trait-based plugin system: - Proof of Work (PoW) : A hashrate-based consensus where miners compete to solve computational puzzles - Proof of Stake (PoS) : A consensus mechanism that selects validators based on their economic stake The consensus system is designed to be extensible: Secure Transactions Transactions are cryptographically secured using: - ECDSA Signatures : Using the secp256k1 curve (the same as Bitcoin) - SHA-256 Hashing : ","default_branch":null,"files":null,"tree":[],"storefront":"/r/0xsouravm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/0xsouravm/mockchain/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."}