referrerpolicy=no-referrer-when-downgrade

Module sp_runtime::testing::sr25519

Expand description

Simple sr25519 (Schnorr-Ristretto) API.

Note: CHAIN_CODE_LENGTH must be equal to crate::crypto::JUNCTION_ID_LEN for this to work.

Modules§

  • Schnorrkel VRF related types and operations.

Structs§

  • An Schnorrkel/Ristretto x25519 (“sr25519”) key pair.

Constants§

Type Aliases§

  • An Schnorrkel/Ristretto x25519 (“sr25519”) public key.
  • An Schnorrkel/Ristretto x25519 (“sr25519”) signature.