August 2019
Intermediate to advanced
486 pages
13h 52m
English
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 ...