cardano_icarus_seed_generator

Module for Cardano Icarus mnemonic seed generation.

class CardanoIcarusSeedGenerator(mnemonic: Union[str, Mnemonic], lang: Optional[Bip39Languages] = None)

Bases: object

Cardano Icarus seed generator class. It generates seeds from a BIP39 mnemonic for Cardano Icarus.

m_entropy_bytes: bytes
Generate() bytes

Generate seed. The seed is simply the entropy bytes in Cardano case. There is no really need of this method, since the seed is always the same, but it’s kept in this way to have the same usage of Bip39/Substrate seed generator (i.e. CardanoSeedGenerator(mnemonic).Generate() ).

Returns:

Generated seed

Return type:

bytes