Add addressIndex in Wallet constructor #1750
davidtperk
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ethers.Walletrelies onpathto generate the private key corresponding to a specific address, but an Ethereumpathis formatted asm/44'/60'/0'/0/0, with the last number corresponding to the address index, which can be unsafe. AnaddressIndexparam in theWalletconstructor would make account handling safer.Beta Was this translation helpful? Give feedback.
All reactions