Skip to Content
Foundations of Blockchain
book

Foundations of Blockchain

by Koshik Raj
January 2019
Beginner to intermediate
372 pages
11h 17m
English
Packt Publishing
Content preview from Foundations of Blockchain

Interface for the application

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Blockchain Basics

Blockchain Basics

Daniel Drescher
What Is Blockchain?

What Is Blockchain?

Sir John Hargrave, Evan Karnoupakis
Mastering Blockchain

Mastering Blockchain

Lorne Lantz, Daniel Cawrey

Publisher Resources

ISBN: 9781789139396Supplemental Content