ICPAccount class

Inheritance

Constructors

ICPAccount({CurveType curveType = CurveType.ed25519})
ICPAccount.fromSeed(Uint8List seed, {int? index, CurveType curveType = CurveType.ed25519})
factory

Properties

ecIdentity Secp256k1KeyIdentity?
no setter
ecKeys ECKeys?
no setter
hashCode int
The hash code for this object.
no setterinherited
identity Ed25519KeyIdentity?
no setter
isLocked bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getEcIdentity() Secp256k1KeyIdentity?
override
getEcKeys() ECKeys?
override
getIdentity() Ed25519KeyIdentity?
override
lock(String? passphrase) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited
unlock(String passphrase, {String? keystore}) Future<void>

Operators

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

Static Methods

fromPhrase(String phrase, {String passphase = "", int? index, List<int>? icPath = IC_BASE_PATH, CurveType curveType = CurveType.ed25519}) ICPAccount