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.Wallet
relies onpath
to generate the private key corresponding to a specific address, but an Ethereumpath
is formatted asm/44'/60'/0'/0/0
, with the last number corresponding to the address index, which can be unsafe. AnaddressIndex
param in theWallet
constructor would make account handling safer.Beta Was this translation helpful? Give feedback.
All reactions