Adding the block explorer file

Let's understand how to set up the block explorer frontend. The block explorer will be a user interface with which we can interact with the blockchain from the browser. In order to build this user interface and make it functional, we need to use HTML, CSS, and JavaScript.

Now, instead of building all of the frontend by yourself, you can find an entire prebuilt frontend at the following link: https://github.com/PacktPublishing/Learn-Blockchain-Programming-with-JavaScript/blob/master/dev/block-explorer/index.html. We're not building the entire frontend in this section, because that's not the focus of this book.

To build the frontend, all you have to do is copy the file from the link provided and add that to the ...

Get Learn Blockchain Programming with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.