Module dock_runtime::did::offchain

source ·

Structs

  • Stores details of an off-chain DID. Off-chain DID has no need of nonce as the signature is made on the whole transaction by the caller account and Substrate takes care of replay protection. Thus it stores the data about off-chain DID Doc (hash, URI or any other reference) and the account that owns it.

Enums

  • To describe the off chain DID Doc’s reference. This is just to inform the client, this module does not check if the bytes are indeed valid as per the enum variant.