k1rak1ra / dart-bip32-bip44

bip32 library for Flutter/dart
Other
6 stars 6 forks source link

Different address generated than on Metamask #1

Open oliverbytes opened 2 years ago

oliverbytes commented 2 years ago

Why is it I get a different address when using this package with the same mnemonic on metamask? Ethereum address specifically

YannMarti commented 2 years ago

you're probably deriving the wrong path. I assume you have ("m/44'/60'/0'/0/0"), try diffrent numbers in the last place, e.g. ("m/44'/60'/0'/0/1"). On https://iancoleman.io/bip39/ you can derive a list of keys from your seed and change the derivation path, search for the correct path here.