dwn_sdk library

An implementation of the DWN SDK in Dart. Provides applications with some useful abstractions in common usage scenarios.

For details on the DWN protocol, check out the DWN specifications.

Currently, this library does not strictly follow the DWN specifications as DWN is still in a draft state. Things may change rapidly.

Classes

CID
CID parsing and generation.
Message<D extends MessageDescriptor>
All DWN messaging is transacted via Message objects.
MessageAttestation
Some messages may require attestation by a signer.
MessageAuthorization
Some messages may require authorization material for processing them.
MessageData
The message data. May be encrypted.
MessageDescriptor
Information about a message.

Typedefs

MessageDescriptorBuilder<D> = D Function(Map<String, dynamic> json)
Builder for a message descriptor from a descriptor JSON object.