Skip to content

Python simple blockchain implementation. With an API to call blockchain methods (to read/write etc).

Notifications You must be signed in to change notification settings

IliasElabbassi/Blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple blockchain implementation in python:

  • can hash in simple sha256
  • can hash with a merkle tree hashing using sha256

Lib used :

Diagrams

Implementation diagram:

Block : represents the data
Blockchain : link the blocks together thanks to cryptographic function
Interface : API interface whick interacts with the blockchain ( creating transaction etc )

Basic execution diagram on run:

API Execution Diagrams

[POST] : /transaction/new
take 3 arguments:

  • add1 : Adresse of the sender
  • add2 : Adresse of the receiver
  • amt : the amount to transfer

License

MIT

About

Python simple blockchain implementation. With an API to call blockchain methods (to read/write etc).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published