Skip to Content
Mastering Blockchain Programming with Solidity
book

Mastering Blockchain Programming with Solidity

by Jitendra Chittoda
August 2019
Intermediate to advanced
486 pages
13h 52m
English
Packt Publishing
Content preview from Mastering Blockchain Programming with Solidity

Installing dependencies

Next, we install the truffle-hdwallet-provider package. This package is needed to have support for the Hierarchical Deterministic (HD) wallets. By default, using the development network in Truffle, it uses the wallets initialized in the Ganache GUI and the Ganache CLI. However, when you want your contracts to be deployed on a testnet (Kovan, Rinkeby, Ropsten) or on mainnet, you will need support for HD wallets. Using this package, you can build wallets using mnemonic keywords. We did discuss the secret seed phrase mnemonics in Chapter 4, Learning MetaMask and Remix, Installing and setting up MetaMask plugins section.

You can install this package by executing the following command:

$ npm install truffle-hdwallet-provider ...
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

Mastering Ethereum

Mastering Ethereum

Andreas M. Antonopoulos, Gavin Wood
Complete Cryptocurrency and Blockchain Course | Learn Solidity

Complete Cryptocurrency and Blockchain Course | Learn Solidity

Ravinder Deol, Codestars By Rob Percival, Thomas Wiesner

Publisher Resources

ISBN: 9781839218262Supplemental Content