Closed Fooyao closed 2 years ago
mnemonic = Bip39MnemonicGenerator().FromWordsNumber(Bip39WordsNum.WORDS_NUM_24) print(f"mnemonic: {mnemonic}") seed_bytes = Bip39SeedGenerator(mnemonic).Generate() bip44_ctx = Bip44.FromPrivateKey(seed_bytes[:32], Bip44Coins.SOLANA) print(bip44_ctx.PublicKey().ToAddress())
https://www.sollet.io/ Restore Existing Wallet with mnemonic can't find the address, It looks like seed_bytes is wrong。
old
mnemonic = Bip39MnemonicGenerator().FromWordsNumber(Bip39WordsNum.WORDS_NUM_24) print(f"mnemonic: {mnemonic}") seed_bytes = Bip39SeedGenerator(mnemonic).Generate() bip44_ctx = Bip44.FromPrivateKey(seed_bytes[:32], Bip44Coins.SOLANA) print(bip44_ctx.PublicKey().ToAddress())
https://www.sollet.io/ Restore Existing Wallet with mnemonic can't find the address, It looks like seed_bytes is wrong。