ICPAccount class
- Inheritance
-
- Object
- BaseAccount
- ICPAccount
Constructors
- ICPAccount({CurveType curveType = CurveType.ed25519})
Properties
- curveType → CurveType
-
final
- 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 passphrase = '', int? index, List< int> ? icPath = icBasePath, CurveType curveType = CurveType.ed25519}) → Future<ICPAccount> -
fromSeed(
Uint8List seed, {int? index, CurveType curveType = CurveType.ed25519}) → Future< ICPAccount>