Skip to Content
Ethereum Smart Contract Development
book

Ethereum Smart Contract Development

by Mayukh Mukhopadhyay
February 2018
Intermediate to advanced
288 pages
6h 58m
English
Packt Publishing
Content preview from Ethereum Smart Contract Development

Primer on Web3.js

In this chapter, we introduce Web3.js, which is a special application programming interface library written in JavaScript. This interface connects our web browser with the Ethereum blockchain node. We will begin this chapter by looking at the differences between geth, Web3.js, and Mist. Then we will learn how to import this API library and get connected with geth. We will then explore the API structure inside the Web3.js library. We conclude the chapter by studying the design of an ownership contract.

After studying this chapter, you will be able to do the following:

  • Differentiate between Mist, geth, and Web3.js
  • Realize how Web3.js interacts with the Ethereum blockchain
  • Use Web3.js to run a basic smart contract
  • Know the ...
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

Building Games with Ethereum Smart Contracts: Intermediate Projects for Solidity Developers

Building Games with Ethereum Smart Contracts: Intermediate Projects for Solidity Developers

Kedar Iyer, Chris Dannen

Publisher Resources

ISBN: 9781788473040Supplemental Content