Learn Blockchain Programming with JavaScript
Learn |
|
---|---|
About |
Learn Blockchain Programming with JavaScript begins by giving you a clear understanding of what a blockchain technology is. You’ll then set up an environment to build your very own blockchain and learn to add various functionalities to it. By adding functionalities to your blockchain such as the ability to mine new blocks, create transactions, and secure your blockchain through a Proof of Work you will gain an in-depth understanding of how blockchain technology functions. As you make your way through the chapters, you’ll learn how to build an API server to interact with your blockchain and how to host your blockchain on a decentralized network. You’ll also build a consensus algorithm and use it to verify data and keep the entire blockchain network synchronized. In the concluding chapters, you’ll finish building your blockchain prototype and gain a thorough understanding of why blockchain technology is so secure and valuable. By the end of this book, you'll understand how decentralized blockchain network functions and why decentralization is such an important feature for securing a blockchain. |
Features |
|
Page Count | 252 |
Course Length | 7 hours 33 minutes |
ISBN | 9781789618822 |
Date Of Publication | 30 Nov 2018 |
Creating multiple nodes |
Adding the currentNodeUrl |
New endpoints outline |
Building the /register-and-broadcast-node endpoint |
Building the /register-node endpoint |
Building the /register-nodes-bulk endpoint |
Testing all of the network endpoints |
Summary |
Understanding the need to synchronize the network |
Refactoring the createNewTransaction method and the /transaction endpoint |
Building the /transaction/broadcast endpoint |
Refactoring the /transaction endpoint |
Testing the transaction endpoints |
Updating the mining information |
Building the /receive-new-block endpoint |
Testing the new and updated /mine endpoints |
Summary |
What is the consensus algorithm ? |
Building the chainIsValid method |
Building the /consensus endpoint |
Summary |
What is a block explorer? |
Defining the block explorer endpoints |
Building the getBlock method |
Building the /block/:blockHash endpoint |
Defining the getTransaction method |
Building the /transaction/:transactionId endpoint |
Building the getAddressData method |
Developing the /address/:address endpoint |
Adding the block explorer file |
Block explorer file explanation |
Testing our block explorer |
Summary |