只有300行Python代码的区块链命令行实现

216 阅读1分钟
原文链接: github.com

A simple blockchain command-line tool without using any 3rd party library.

Screenshot

Features

  • Mining block with data
  • Distributed peer-to-peer Network
  • Proof-of-work system
  • Blockchain validation

Run

# clone this repository
git clone git@github.com:simpleapples/py-blockchain-cli.git

# Go into the project folder
cd py-blockchain-cli

# Run main.py
python3 main.py

Contributing

Please submit a pull request to contribute.

License

This project is licensed under the MIT License.