CardanoAccountView class
Cardano view (CIP-1852): the exported account key supports SOFT public
derivation (BIP32-Ed25519), so payment (0/i), change (1/i) and stake
(2/0) verification keys derive locally. Bech32 ADDRESS assembly is left
to Cardano tooling — deriveKey hands you the raw vkeys it needs.
Constructors
- CardanoAccountView(RawAccountEntry _entry, int _resolvedXfp)
Properties
- accountPath → String
-
The account-level derivation path.
no setter
- chainCode → Uint8List
-
The account-level chain code.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicKey → Uint8List
-
The account-level extended public key material.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- xfp → String
-
The account's source fingerprint, lowercase 8-hex.
no setter
Methods
-
deriveKey(
int role, int index) → Uint8List -
Soft-derived 32-byte verification key at
role/index(0 payment, 1 change, 2 stake). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pathFor(
int role, int index) → String -
Signing path for
role/index, e.g.pathFor(0, 0)→.../0/0. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited