Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 377 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 377 Bytes

blockchain-pos

Implement proof of stake consensus mechanism in blockchain

$ python Main.py localhost 10001 5000 keys/genesisPrivateKey.pem

$ python Main.py localhost 10003 5003 keys/stakerPrivateKey.pem

$ python Main.py localhost 10002 5001

$ python Interaction.py

To see the ledger $ localhost:5000/blockchain

$ localhost:5001/blockchain

$ localhost:5003/blockchain