KeyStoreSigning extension Custody

Signing and inventory on a key store. The sealed secret is used inside the engine and wiped; it never reaches Dart.

on

Methods

addresses() → List<Uint8List>

Available on KeyStore, provided by the KeyStoreSigning extension

Every stored address.
has(Uint8List address) → bool

Available on KeyStore, provided by the KeyStoreSigning extension

Whether the store holds address.
lock() → void

Available on KeyStore, provided by the KeyStoreSigning extension

Forgets the master key until the next KeyStore.unlock.
publicKey(Uint8List address) → Uint8List

Available on KeyStore, provided by the KeyStoreSigning extension

The stored public key for address. Throws when unknown.
signRecord({required int chainId, required Uint8List from, required int nonce, required Uint8List key, required RecordOp op, required Uint8List value}) → Uint8List

Available on KeyStore, provided by the KeyStoreSigning extension

A signed, encoded record write by the stored account at from (record state model). The scheme follows the stored key, so a hybrid key signs with Ed25519 + ML-DSA-65. Throws when locked or from is unknown.
signTransfer({required int chainId, required Uint8List from, required Uint8List to, required int amount, required int nonce, int fee = 0}) → Uint8List

Available on KeyStore, provided by the KeyStoreSigning extension

A signed, encoded transfer of amount from the stored account at from to to. The scheme follows the stored key (Ed25519 or hybrid); a zero fee gives the plain version 1 envelope. Throws when the store is locked or from is unknown.