We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hdkey
https://solanacookbook.com/references/keypairs-and-wallets.html#how-to-restore-a-keypair-from-a-mnemonic-phrase
This is example which does not make sense:
from solana.keypair import Keypair from mnemonic import Mnemonic from hdkey import HDKey mnemo = Mnemonic("english") seed = mnemo.to_seed("neither lonely flavor argue grass remind eye tag avocado spot unusual intact") hd = HDKey.from_master_seed(seed) for i in range(10): path = f"m/44'/501'/{i}'/0'" keypair = Keypair.from_bytes(hd.derive(path).private_key) print(f"{path} => {keypair.public_key()}")
keypair
solana
solders
Overall: Code is not working and most probably never was executed. Please, check it.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hdkey
https://solanacookbook.com/references/keypairs-and-wallets.html#how-to-restore-a-keypair-from-a-mnemonic-phrase
This is example which does not make sense:
keypair
insolana
module. There is one insolders
(it is used in other examples). Probably a typoOverall:
Code is not working and most probably never was executed.
Please, check it.
The text was updated successfully, but these errors were encountered: