Understanding Blockchain By Writing One With JavaScript

Blockchain technology is widely discussed in the tech community as well as in the mass media. The hype in the media makes blockchain seem like a cutting-edge technology that only trained experts are able to get a hang on. However, we don't need to be an expert to understand the core mechanism of blockchain. In this post, I'm going to demonstrate how blockchain works by writing a simple blockchain with vanilla JavaScript.