Keypair class

Keypair

Implemented types

Constructors

Keypair.new(Ed25519Keypair _keypair)
Creates an account keypair used for signing transactions.
const
Keypair.fromSeckeySync(Uint8List seckey, {bool skipValidation = false})
Creates a Keypair from a seckey byte array.
factory
Keypair.fromSeedSync(Uint8List seed)
Creates a Keypair from a 32-byte seed.
factory
Keypair.generateSync()
Generates a random keypair.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
pubkey Pubkey
The public key for this keypair.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seckey Uint8List
The secret key for this keypair.
no setteroverride

Methods

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

Static Methods

fromSeckey(Uint8List seckey, {bool skipValidation = false}) Future<Keypair>
Creates a Keypair from a seckey byte array.
fromSeed(Uint8List seed) Future<Keypair>
Creates a Keypair from a 32-byte seed.
generate() Future<Keypair>
Generates a random keypair.