Keystore class

A class that handles keystores and keys (seed, secret key, public key, address) computation.

Annotations
  • @immutable

Constructors

Keystore.fromEncryptedSecretKey(String encryptedSecretKey, String passphrase)
factory
Keystore.fromMnemonic(String mnemonic, {String email = '', String password = ''})
A factory that generates a key store from a mnemonic, email and password (for fundraisers).\
factory
Keystore.fromSecretKey(String secretKey)
A factory that generates a keystore from a secret key.
factory
Keystore.fromSeed(String seed)
A factory that generates a keystore from a seed.
factory
Keystore.random()
A factory that generates a random key store.\
factory

Properties

address String
The address of this.
no setter
hashCode int
The hash code for this object.
no setterinherited
mnemonic String?
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
publicKey String
The public key of this.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretKey String
final
seed String
The seed of this.
no setter
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signBytes(Uint8List bytes) Signature
Returns tezart.Signature of bytes signed by this.
signHex(String data) Signature
Returns tezart.Signature of data signed by this.
toString() String
A string representation of this object.
inherited

Operators

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