Module builder

Module builder 

Source
Expand description

Builders for creating a SignatureRequest with a PendingIdentityAction for an external SDK/Library, which can then be resolved into an IdentityUpdate. An IdentityUpdate may be used for updating the state of an XMTP ID according to XIP-46

Structs§

PendingIdentityAction
SignatureRequest
A signature request is meant to be sent over the FFI barrier (wrapped in a mutex) to platform SDKs. xmtp_mls can add any InstallationKey signatures first, so that the platform SDK does not need to worry about those. The platform SDK can then fill in any missing signatures and convert it to an IdentityUpdate that is ready to be published to the network
SignatureRequestBuilder
The SignatureRequestBuilder is used to collect all of the actions in an IdentityUpdate, but without the signatures. It outputs a SignatureRequest, which can then collect the relevant signatures and be turned into an IdentityUpdate.

Enums§

SignatureRequestError