Build Your Own Blockchain (BYOB)
This repo takes you through building a prototype of a blockchain in Python. It is intended for learning purposes.
Step 1 — Create a Block
- Create the Block
- Create a Transaction
- Populate the Block with Transactions
Step 2 — Chain the Blocks Together
- Create Blocks from Transactions
- Append Blocks to a “Chain” (list)
Step 3 — Enforce Integrity with Cryptography
- Hash each block
- Reference each block’s hash in its subsequent block
Credit: Daniel Lomelino for helping me put things in order and reviewing code ?