Hello everyone. Can someone explain to me what HD wallets mean in plain English... When can I use it in Blockchain development?
Sep 22, 2021, 6:02 AM
I would say it is an easy way to sign transactions
const web3 = new Web3(new HDWalletProvider(privateKey, RPC_URL)),
see you instantiate your provider using HD wallets and in this way your transactions get automatically signed.
For signing you need your privateKey, and HDWallet makes it comfortable for you to sign them, you only need to declare your privateKey once, instead of signing each transaction manually
const web3 = new Web3(new HDWalletProvider(privateKey, RPC_URL)),
see you instantiate your provider using HD wallets and in this way your transactions get automatically signed.
For signing you need your privateKey, and HDWallet makes it comfortable for you to sign them, you only need to declare your privateKey once, instead of signing each transaction manually
This is more of a javascript related question:
TypeError: Cannot read property 'to' of undefined
How can I filter my catch block for TypeError errors?
I basically want to filter for errors which are not TypeErrors
I basically want to filter for errors which are not TypeErrors
this code wont do it, any suggestions ?
Sep 22, 2021, 6:54 AM
Hirearchial deterministic wallet
Simply deriving private keys from mnemonics
Its hirearchial, means current private key generated depends on some nonce
Also previous address
Sep 22, 2021, 7:09 AM
https://stackoverflow.com/questions/1433558/handling-specific-errors-in-javascript-think-exceptions
Sep 22, 2021, 7:12 AM
Yeah man thank you 👍, what also worked for me was just typing intanceof, replacing the ==
Sep 22, 2021, 7:30 AM
great, man!)
Sep 22, 2021, 7:31 AM
I am comfortable with js...pls continue
Sep 22, 2021, 7:57 AM
hey guys, anyone familiar with dgKeeper smart contract? are there any posts to read to get how it works?
Sep 22, 2021, 8:51 AM