January 2019
Beginner to intermediate
372 pages
11h 17m
English
Now that we have instantiated a local node with a private blockchain, we will set up the development environment to ease the creation and deployment of the decentralized application. Since we have to create a fully fledged decentralized application, we need to communicate with the Ethereum blockchain using scripting languages such as JavaScript. Ethereum provides a JavaScript library called web3.js that houses APIs to interact with the Ethereum blockchain.
The web3.js makes use of RPC calls to communicate with the Ethereum node that exposes the RPC interface (application port 8545). So, the web3.js can invoke any of the methods provided by the Ethereum node. The following code snippet can be executed on ...
Read now
Unlock full access