Crate pallet_identity

source ·
Expand description

§Duniter Identity Pallet

Duniter features a built-in identity system that does not rely on external registrars, unlike the Parity Identity Pallet.

§Duniter Identity Structure

A Duniter identity comprises several key components:

§Name

Each identity is declared with a name emitted during the confirmation event. Duniter maintains a hashed list of identity names to ensure uniqueness.

§Owner Key

The owner key allows users to maintain a fixed identity while changing keys for security reasons, such as when a device with the keys might have been compromised. Changes are subject to frequency limits, and the old owner key can still revoke the identity for a given period.

§Status / Removable Date

The status is a temporary value that allows pruning of identities before they become full members:

  • Unconfirmed: Created by a member identity but not yet confirmed by the owner.
  • Unvalidated: Confirmed by the owner, including assignment of a name.
  • Member: Part of the main Web of Trust (WoT).
  • NotMember: Not part of the main WoT.
  • Revoked: Automatically or manually revoked.

An identity that is not yet validated (e.g., not a member of the WoT) can be removed when its removable date is reached. The removable date of a validated identity is set to block zero.

§Next Certification

The next certification specifies the block number from which the identity can issue its next certification, acting as a rate limit for certification issuance and identity creation.

§Revocation

Revoking an identity essentially means deleting it from the system.

Additional runtime-defined data may also be attached to identities, such the number of the first Universal Dividends (UD) it is eligible to.

Re-exports§

Modules§

  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.
  • types 🔒
    Various basic types for use in the identity pallet.

Structs§

Enums§

Constants§