A simple blockchain implementation in Rust featuring SHA-256 hashing, CLI interface, and MCP server integration. Demonstrates core blockchain concepts through block creation and chain validation while exposing blockchain functionalities over a network.
Overview
what is Mini-Blockchain?
Mini-Blockchain is a simple blockchain implementation in Rust that demonstrates core blockchain concepts through block creation and chain validation, featuring a command-line interface (CLI) and MCP server integration.
how to use Mini-Blockchain?
To use Mini-Blockchain, clone the repository, navigate to the project folder, and run the application using Cargo. The CLI will provide options to add blocks, print the blockchain, and validate its integrity.
key features of Mini-Blockchain?
- Basic blockchain implementation with SHA-256 hashing.
- Menu-driven CLI for user interaction.
- MCP server integration for external access to blockchain functionalities.
use cases of Mini-Blockchain?
- Learning and demonstrating blockchain principles.
- Testing blockchain functionalities in a controlled environment.
- Integrating with other applications via the MCP server.
FAQ from Mini-Blockchain?
- What programming language is used for Mini-Blockchain?
Mini-Blockchain is implemented in Rust, focusing on safety and performance.
- How can I run the MCP server?
The MCP server runs concurrently with the CLI and listens on 127.0.0.1:7878 for external commands.
- Can I add multiple blocks?
Yes! You can add as many blocks as you want using the CLI options.