Brc100KeyOperationCommand class
Runs the BRC-100 key operation request with a BRC-42 child of the wallet's anchor key for anchorContext, the anchor acting as BRC-100's root key: an anchor issued for a BRC-100 identity signs (BRC-3), encrypts (BRC-2), and derives keys as that identity. Answered with Brc100KeyOperationEvent.
The private keys stay in the wallet. Operations other than
getPublicKey are refused for the anchor's payment spend keys: the
BRC-29 protocol, and any type-42 address the wallet recorded.
- Inheritance
-
- Object
- CoordinatorRequest<
Brc100KeyOperationEvent> - Brc100KeyOperationCommand
Constructors
-
Brc100KeyOperationCommand({required String walletId, required List<
int> anchorContext, required Brc100KeyRequest request, 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.askwaits 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
- request → Brc100KeyRequest
-
final
- 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