IssueAnchorKeyCommand class

Issues the wallet's anchor key for anchorContext (beads libspiffy-zxkd, libspiffy-fdal): the key a payer derives type-42 destinations from to pay this wallet while it is offline (spv-understanding.md, "Payment modes"). The app publishes it, bound to the identity it is for. Answered with AnchorPublicKeyEvent.

A wallet has one anchor per context, so identities that share it publish unrelated anchors. The context is opaque bytes: an identity key, for example, followed by a rotation epoch, which the app bumps to retire an anchor (a leaked child key c = a + t gives away that anchor's a, since the payer knows t). An empty context is refused. The same context always gives the same anchor; the wallet journals it the first time, so a hand-off that names only the anchor is matched to its context.

Inheritance

Constructors

IssueAnchorKeyCommand({required String walletId, required List<int> anchorContext, String? requestId})

Properties

anchorContext → List<int>
final
correlationId → String
The correlation ID of the message.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
metadata → Map<String, dynamic>
The metadata of the message.
no setter
replyTimeout → Duration
How long WalletCoordinator.ask waits for the reply when the caller gives no timeout. A request that is still running then is not cancelled: its reply arrives on the event stream later.
no setterinherited
replyTo → ActorRef?
The actor to reply to.
no setterinherited
requestId → String
Identifies this request; its reply carries it back.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
The timestamp of the message.
finalinherited
walletId → String
final

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