Sign in

Science. Tech. Music.
(flicker image: IBM Research)


(Unsplash Image)

History


Unsplash Image

Fonts and Colours



[Part 1 of 2]

unsplash image




Let’s unravel the mysterious blockchain by writing our own simple version of it and understand how it works behind the scene.

source

Ultimately it could lead you to make your own experimental tiny blockchain network and then sky is the limit with what you can really do with it.

Prerequisites

  • Blockchain basics (most comprehensive article ever at - Blockgeeks)
  • Javascript fundamentals
  • Enthusiasm :)

Lets Begin

  • Class Blocks (index , timestamp , data , previous hash , hash , nonce)
  • Class Blockchain(appending all the blocks , starting from genesis block)
  • library for calculating hash (sha256)
  • helper functions to use our implemented class


Write our own smart contract(unsplash)

Akshat Jain

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store