基于cr4fun's blockchain开源教程以及 ChatGPT 改进的简单区块链演示程序。
程序使用 Python 语言,因水平有限,如有错漏,欢迎指出更正。
python3
与python3-pip3
。
~$ git clone https://github.com/MengceZheng/blockchain-demo.git
~$ cd blockchain-demo
~$ pip3 install -r requirements.txt
~$ cd [dirname]
~$ python3 blockchain.py
其它使用方式见各文件夹内说明。