2

I need a python script to convert seed phrase to private key is it possible?

0

1 Answer 1

3

This is just a basic way to do it:

import mnemonic

# This is an example seed phrase
seed_phrase = "letter advice cage absurd amount doctor acoustic avoid letter advice cage above"

# Generate the private key from the seed phrase
private_key = mnemonic.Mnemonic.to_seed(seed_phrase)

# Print the private key
print(private_key)

Not the answer you're looking for? Browse other questions tagged or ask your own question.