antonio ufano

Blog

blockchain articles

Building a Blockchain with UI in Javascript

Published on 2018-07-09

Last week I decided I wanted to build a simple application to create and display what a Blockchain is and how its blocks are all linked to one another. First I created a couple of classes in Javascript to define the Blockchain itself and each of the blocks and then, I added the methods to initialise the chain, add new blocks and validate its contents. I had to import the crypto-js package to generate the hash of each block. Once the basic functionality was done and I was able to test it in the terminal with Node, I built a basic interface using Vue.js, creating one component for each JavaScript class. To compile all components into a single .js file I used Webpack 4. You can download all the code from the following repo. Find below some more details of how I did it. ... Read more


coding laravel personal vue.js API machine learning blockchain javascript Node.js tooling linux

About me

My name is Antonio, I'm from Zamora (Spain) currently living in London and working as a freelance developer.
If you want to receive notifications of new articles from this web, and interesting articles and news I find online, enter your details below.
I'll never share your email with anyone else and promise I'll not spam you.