Skip to content

A blockchain structure built with python. Each user is able to create a copy of the chain and compete for mining rewards. Their wallets signatures use ECDSA (Elliptic Curve Digital Signature Algorithm) with SHA256.

Notifications You must be signed in to change notification settings

CChalland/Python_Blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command Reference

Activate the virtual environment

source blockchain-env/bin/activate

Install all packages

pip3 install -r requirements.txt

Run the tests Make sure to activate the virtual environment.

python3 -m pytest backend/tests

Run the application and API Make sure to activate the virtual environment.

python3 -m backend.app

Run a peer instance Make sure to activate the virtual environment.

export PEER=True && python3 -m backend.app

Run the frontend In the frontend directory:

npm run start

Seed the backend with data Make sure to activate the virtual environment.

export SEED_DATA=True && python3 -m backend.app

About

A blockchain structure built with python. Each user is able to create a copy of the chain and compete for mining rewards. Their wallets signatures use ECDSA (Elliptic Curve Digital Signature Algorithm) with SHA256.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published