Same wallet in my flutter app and phantom wallet #83
Replies: 2 comments
-
Hey @sistemaseltigre, Thanks for writing in! It appears you are using BIP39 as a derivation path to generate your mnemonic. Phantom uses the BIP44 derivation path. I would recommend checking to see if the library you're using has that as an option. |
Beta Was this translation helpful? Give feedback.
-
Guys using Flutter/dart ` final normalisedSeedPhrase = this._seedPhraseNormalise(seedPhrase); ` String _seedPhraseNormalise(String seedPhrase) { List _mnemonicWords(String mnemonic) { Future getPublicAddress(String privateKey) async { |
Beta Was this translation helpful? Give feedback.
-
guys, i have a problem with my code to generate polygon and eth wallet, im using web3dart at flutter to generate a new wallet and in my apps it's work, but when i try to get the same publickey wallets in phantom wallet importin seed phrase i get differents publickeys, u can help me with this? im generating a new wallet to eth with this code:
`
@OverRide
Future getWallet() async {
try {
final random = Random.secure();
EthereumAddress address;
EtherAmount amount;
}
`
for example my mnemonic is:
shiver exact obey noodle shaft finish view loan hurt found letter menu
Beta Was this translation helpful? Give feedback.
All reactions