I need to use HD wallets with pysolana.
Hello everyone, I'm working on solana with Python. I can generate random Solana wallets with the code I wrote below.
mnemo = Mnemonic("english")
my_words = mnemo.generate(128)
seed_bytes = Bip39SeedGenerator(my_words).Generate("")
bip44_mst_ctx = Bip44.FromSeed(seed_bytes, Bip44Coins.SOLANA)
bip44_acc_ctx = bip44_mst_ctx.Purpose().Coin().Account(0)
bip44_chg_ctx = bip44_acc_ctx.Change(Bip44Changes.CHAIN_EXT)
ADDR = bip44_chg_ctx.PublicKey().ToAddress()
But here's the problem, these wallets are HD Wallets. If I want to use these wallets, I need to import these seeds into the solders library. But the solders library does not support HD wallets.
The only useful Python Solana library is also coded to work with the solders library.
Here is the urls: https://michaelhly.com/solana-py/rpc/api/#solana.rpc.api.Client.send_transaction Solders keypairs: https://kevinheavey.github.io/solders/tutorials/keypairs.html
HD wallet support has been added. https://github.com/kevinheavey/solders/pull/75