paint-brush
Building Your Own Blockchain in Java [A How-To Guide]by@suraj-dubey
2,081 reads
2,081 reads

Building Your Own Blockchain in Java [A How-To Guide]

by Suraj Dubey4mJune 17th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Blockchains are designed to be immutable. Here we will design a simple blockchain that will help you understand how hashing makes a blockchain immutable with just a few lines of Java Code. This is just a demo blockchain, real blockchain involves a lot of other things such as consensus mechanisms, digital signatures, Merkle Tree, etc.. This code sample will be beneficial for an ideal purpose. The first block in a blockchain is a Genesis block. The genesis block is almost always hard coded into the software of the applications that utilize its blockchain. For every new block that is generated afterward, we are going to use the previous block’s hash as input to determine its block hash.

Company Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Building Your Own Blockchain in Java [A How-To Guide]
Suraj Dubey HackerNoon profile picture
Suraj Dubey

Suraj Dubey

@suraj-dubey

Tech | Crypto | Blockchain Enthusiast | Learner

Learn More
LEARN MORE ABOUT @SURAJ-DUBEY'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Suraj Dubey HackerNoon profile picture
Suraj Dubey@suraj-dubey
Tech | Crypto | Blockchain Enthusiast | Learner

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite