Crate pallet_handles

source ·
Expand description

§Handles Pallet

The Handles pallet provides functionality for claiming and retiring user handles. Each MSA can have one user handle associated with it. The handle consists of a canonical base, a “.” delimiter and a unique numeric suffix. It also has a display name. e.g. user.734 with a display of “User”

§Overview

§Features

  • Handle creation and retirement
  • Shuffled sequence generation for handle suffixes
  • Homoglyph detection

§Terminology

Handle on frequency is composed of a base_handle, its canonical version as, canonical_base and a unique numeric suffix.

  • Base Handle: A base handle is a user’s chosen handle name. It is not guaranteed to be unique.
  • Display Handle: A handle is a unique identifier for a user. Display handle is base_handle.suffix.
  • Canonical Base: A canonical base is a base handle that has been converted to a canonical form. Canonicals are unique representations of a base handle.
  • Delimiter: Period character (“.”) is reserved on Frequency to form display handle as base_handle.suffix.
  • Suffix: A suffix is a unique numeric value appended to a handle’s canonical base to make it unique.

Re-exports§

Modules§

  • Substrate Signed Extension for validating requests to the handles pallet
  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.
  • Autogenerated weights for pallet_handles