/python_blockchain

a simple python blockchain from scratch with wallet, PoW, and p2p_network

Primary LanguagePythonMIT LicenseMIT

Intro

This is a simple python implementation of a blockchain with proof of work concensus and wallet.

Usage

installation

git clone https://github.com/FlorenceJiang/python_blockchain
cd python_blockchain
conda create -n blockchain101 python=3.9.12
conda activate blockchain101
pip install -r requirements.txt

test blockchain python test_blockchain.py

test p2pnetwork test_p2pnetwork.ipynb

Reference

  1. learning blockchain book repo
  2. build a blockchain with Flask server. This is not a tutorial