Skip to content

coderfi/toychain-py-oop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Toy Blockchain in Python OOP

Pure python implementation of a toy blockchain (using Object Oriented Programming style).

See https://blog.coderfi.com/2018/12/07/toychain-py-oop/

Usage

$ make run

Init Blockchain[ts=1514793600]: 'Genesis Block'

1. Mining[ts=1514793601]: 'Block #1 Data'
Block mined: 00000f3162b85166236874a152fed04c6bc03b98c137c61bf74b666af697221e
2. Mining[ts=1514793602]: 'Block #2 Data'
Block mined: 000001872e16920086af86d8d19e9daf6a1f341087f42778ac39d135019f7168
3. Mining[ts=1514793603]: 'Block #3 Data'
Block mined: 00000eba6f5e6b0b4b9d94030090ec2e84f21a15ad2d3a8524e922e2ff2c38fa

Reference

About

Toy blockchain implementation in python (object oriented coding style).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published