yunwei37
blockchain-rust
Rust

blockchain_go in rust: A simplified blockchain implementation in rust for leaning / 用 rust 从零开始构建区块链(Bitcoin)

Last updated Apr 30, 2026
169
Stars
33
Forks
0
Issues
0
Stars/day
Attention Score
55
Language breakdown
Rust 100.0%
Files click to expand
README

blockchain-rust - 用 rust 从零开始构建区块链(Bitcoin)系列

Actions Status License

reimplement blockchaingo in rust, and not only blockchaingo;

a simple blockchain demo for learning

the code for each article

Chinese Documents

  • 基本原型和工作量证明算法: part1.md

usage

  • Create wallet:
cargo run createwallet
  • Create blockchain:
cargo run createblockchain <address>
  • send coins (if -m is specified, the block will be mined immediately in the same node):
cargo run send <from> <to> <amount> -m
  • start server:
cargo run startnode <port>
or start miner node:
cargo run startminer <port> <address>
  • get balance:
cargo run getbalance <address>

You can use the RUST_LOG=info to print the log.

reference

© 2026 GitRepoTrend · yunwei37/blockchain-rust · Updated daily from GitHub