Skip to content

gwenf/build-a-blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Create the Block
  2. Create a Transaction
  3. Populate the Block with Transactions

Step 2 — Chain the Blocks Together

  1. Create Blocks from Transactions
  2. Append Blocks to a "Chain" (list)

Step 3 — Enforce Integrity with Cryptography

  1. Hash each block
  2. Reference each block's hash in its subsequent block

Credit: Daniel Lomelino for helping me put things in order and reviewing code :)

About

Create a blockchain, step-by-step using Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages