Testing all of the network endpoints

From what we have learned in the preceding section,  we know that our register-node route and that the register-nodes-bulk route are both working correctly. So, in this section, let's put it all together and test our register-and-broadcast-node route, which uses the both the register-node route and the register-nodes-bulk route.

The register-and-broadcast-node endpoint will allow us to build a decentralized blockchain network by allowing us to create a network and add new nodes to it. Let's jump right into our first example to get a better understanding of it. To understand how the register-and-broadcast-node route works, we'll make use of  Postman.

In the Postman application, we want to make a post request ...

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.