Open in app
Arun Rajeevan
86 Followers
About

Sign in

86 Followers
About
Open in app

Creating Blockchain using Javascript

Arun Rajeevan

Arun Rajeevan

Feb 5, 2019·2 min read

Constructor:

Image for post
Image for post

Create a block:

Image for post
Image for post

Create a transaction:

Image for post
Image for post

Get the last block:

Image for post
Image for post

Create Hash:

Image for post
Image for post

Proof of Work:

Image for post
Image for post

Validating Chain:

Image for post
Image for post

Mine a Block:

Image for post
Image for post

Register a new Node in Blockchain network:

Image for post
Image for post

Broadcast a new transaction:

Image for post
Image for post

Receive a new Block:

Image for post
Image for post

Arun Rajeevan

Suffering from Knowledge Quest

More from Arun Rajeevan

Suffering from Knowledge Quest

More From Medium

GraphQL — The Query language for APIs

Arun Rajeevan

Tokens,Gas and Gas limit in Ethereum

Arun Rajeevan

12 Things I Stole From People More Successful Than Me

Vincent Carlos in Mind Cafe

My story of working with Governor Cuomo

Lindsey Boylan

What Did the Average 1930s German Think of the Nazi Regime?

Martina Petkova in History of Yesterday

Why Most Programmers End Up Being (or Are) Underperforming Technical Leads

Zachary Minott in Better Programming

The Richest Black Girl in America

Lauren N. Henley in Truly*Adventurous

We’re About to Witness Another Money Market “Crisis”

Concoda in Concoda

About

Help

Legal

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