Learn Blockchains by Building One

Learn Blockchains by Building One

The fastest way to learn how Blockchains work is to build one

2 Likes

Very useful tutorial! Thank you for putting this together!

Sir i’m getting an error when executing this command python blockchain.py
File “blockchain.py”, line 47
print(f’{last_block}’)
^
SyntaxError: invalid syntax

can you help please to rectify this error

You should be using Python <= 2. You must use Python >= 3 instead, or replace interpolated strings with formatted strings.