January 2019
Beginner to intermediate
372 pages
11h 17m
English
A fully fledged decentralized application can be created by integrating the frontend application with the Ethereum blockchain. We can make use of the APIs provided by the web3.js library to interact with the blockchain network. We have already used the Truffle development environment to deploy and invoke the smart contracts. In this section, we will make use of the Truffle libraries to communicate with the contracts.
The following code can be executed in any JavaScript runtime environment, such as Node.js. Refer to the GitHub repository of the book to find the implementation using the React library.
The ProofOfOwnership.json is the ABI file that was created during the compilation of the contract. This ABI is ...