© Debajani Mohanty 2018
Debajani MohantyEthereum for Architects and Developershttps://doi.org/10.1007/978-1-4842-4075-5_5

5. Integration with the UI

Debajani Mohanty1 
Noida, Uttar Pradesh, India

Now that you have learned how to write and deploy smart contracts, in this chapter you’ll integrate a smart contract with a web front end. You can interact with a smart contract from your web front end through the Web3.js JavaScript libraries.

Introduction to Web3.js

As shown in Figure 5-1, Web3.js is a collection of libraries that allows you to interact with a local or remote Ethereum node, using an HTTP or IPC connection. Simply speaking, it provides you with JavaScript APIs to communicate with Geth in a production or ganache-cli test network. It uses ...

Get Ethereum for Architects and Developers: With Case Studies and Code Samples in Solidity now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.