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

Written by suraj-dubey | Published 2020/06/17
Tech Story Tags: blockchain | java | hashing | datastructure | technology-advances | latest-tech-stories | hackernoon-top-story | blockchain-top-story

TLDR 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.via the TL;DR App

no story

Written by suraj-dubey | Tech | Crypto | Blockchain Enthusiast | Learner
Published by HackerNoon on 2020/06/17