SirPhemmiey
  • Member for 3 years, 3 months
  • Last seen more than a week ago
Web3 create account from mnemonic + passphrase
3 votes

Just in case someone comes here later, in the recent version of ethers, HDNODE has been moved to the utils method. So, in modification to @George's answer above; const ethers = require('ethers'); ...

View answer
Why write uint256 instead of uint if they're the same thing?
1 votes

I think it's best to use uint256. It brings about readability and consistency in your code, and it allows you to adhere to best practices in smart contracts.

View answer