ebellocchia / bip_utils

Generation of mnemonics, seeds, private/public keys and addresses for different types of cryptocurrencies
MIT License
319 stars 86 forks source link

solana address error #64

Closed Fooyao closed 2 years ago

Fooyao commented 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。

Fooyao commented 2 years ago

old