Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Generating a seed: IOTA-facing-library-based approach
# The snippet is a part of the IOTA Developer Essentials project. You can reach it at
# Complete description and story behind the snippet is available at:
# Requirement: PyOTA library (!pip install pyota)
from iota.crypto.types import Seed #importing PyOTA library to interact with
NewSeed = Seed.random()
print("Length: %s" % len(NewSeed))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment