# blockchain **Repository Path**: cjv/blockchain ## Basic Information - **Project Name**: blockchain - **Description**: 利用Python实现一条基于POS算法的简易区块链,对区块链或者POS算法不理解的同学,可以运行代码来理解。 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-02-15 - **Last Updated**: 2024-11-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### Python POS Simple Blockchain In this project, we will impletement a pos (proof of stake) blockchain use python3. ### POS (proof of stake) Test ``` python pos.py ``` Terminal One ```buildoutcfg nc localhost 9090 Enter token balance: 80 Enter a new BPM: 3 ``` Terminal Two ```buildoutcfg nc localhost 9090 Enter token balance: 92 Enter a new BPM: 4 ``` Terminal Three ```buildoutcfg nc localhost 9090 Enter token balance: 77 Enter a new BPM: 1 ``` ### DOC [document](https://xiaozhuanlan.com/topic/1680729435)