index.js
contains a simple piece of code that allows to understand easily how blockchain works.
Disclaimer: Don't use this code on real projects because it misses a lot of parts to be secured and be used in real life use cases.
yarn
node index.js
(tested with node v12)