Module sp_runtime::key_types

source ·
Expand description

Re-export this since it’s part of the API of this crate. Known key types; this also functions as a global registry of key types for projects wishing to avoid collisions with each other.

It’s not universal in the sense that all key types need to be mentioned here, it’s just a handy place to put common key types.

Constants

  • Key type for controlling an account in a Substrate runtime, built-in. Identified as acco.
  • Key type for Aura module, built-in. Identified as aura.
  • Key type for AuthorityDiscovery module, built-in. Identified as audi.
  • Key type for Babe module, built-in. Identified as babe.
  • A key type ID useful for tests.
  • Key type for Grandpa module, built-in. Identified as gran.
  • Key type for ImOnline module, built-in. Identified as imon.
  • Key type for staking, built-in. Identified as stak.