Bip32

Generate 12 or 24 seed phrase

bip32 = pyrin.Bip32()
# 24 words
words = bip32.generate_mnemonic().split()

len(words) # 24

# 12 words
words = bip32.generate_short_mnemonic().split()

len(words) # 12

Last updated