How to create your own Blockchain in 50 lines of codes with Glitch

This is an adaptation of my article for Glitch. It’s recommended to read it first, to understand the concept of this oversimplified Blockchain.

First step: Import this repo
OR Remix this Glitch project (easier)

Second step: If Node is not installed, follow this outstanding tutorial by @17lwinn How to install node 13+ (Guide)

Last step: run node app.js in your terminal

Congrats, you just mined your first block!
Awesome, right?


Thank you for the mention! :slight_smile:

1 Like

i’ve been waiting for oversimplified blockchain. Thank you!

also an idea: minecraft but in order to mine a block you need to actually mine a block in the blockchain and the difficulty syncs with your world settings