CardanoByronLegacy class

A class that represents a Cardano Byron Legacy wallet.

Constructors

CardanoByronLegacy.fromBip32(Bip32Base bip32)
CardanoByronLegacy.fromSeed(List<int> seedBytes)
CardanoByronLegacy Constructor to create a Cardano Byron Legacy wallet from a seed.

Properties

bip32 Bip32Base
final
hashCode int
The hash code for this object.
no setterinherited
hdPathKey List<int>
Computes and returns the HD path key for Cardano Byron Legacy wallet.
no setter
masterPrivateKey Bip32PrivateKey
master private key
no setter
masterPublicKey Bip32PublicKey
master public key
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deriveKey(Bip32KeyIndex firstIndex, Bip32KeyIndex secondIndex) Bip32Base
Derives and returns a BIP32 base key based on two key indices, 'firstIndex' and 'secondIndex'.
getAddress(Bip32KeyIndex firstIndex, Bip32KeyIndex secondIndex) String
Computes and returns a Cardano Byron Legacy address based on two key indices, 'firstIndex' and 'secondIndex'.
getPrivateKey({required Bip32KeyIndex firstIndex, required Bip32KeyIndex secondIndex}) Bip32PrivateKey
Retrieves and returns the private key associated with the specified key indices.
getPublicKey({required Bip32KeyIndex firstIndex, required Bip32KeyIndex secondIndex}) Bip32PublicKey
Retrieves and returns the public key associated with the specified key indices.
hdPathFromAddress(String address) Bip32Path
Decodes and retrieves the BIP32 HD path from a Cardano Byron Legacy address.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited