The Structure of a Simple Blockchain/Distributed Ledger

Overview

This code illustrates building a simple blockchain. Here is the original colab.

Dependencies

  • hashlib
  • datetime

Dependencies can be installed using pip. However, you can run this directly in colab so there is no requirement to install anything.

Usage

You can download the juypter notebook and run it locally. Also, here is the colab link to run it in the browser (recommended).

Credits

The credits for the original code go to howcodeORG.