Type Alias Public

Source
pub type Public = CryptoBytes<sp_core::::sr25519::Public::{constant#0}, Sr25519PublicTag>;
Expand description

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

Aliased Type§

struct Public(pub [u8; 32], _);

Fields§

§0: [u8; 32]

Trait Implementations§

Source§

impl IdentifyAccount for Public

Source§

type AccountId = CryptoBytes<sp_core::::sr25519::Public::{constant#0}, Sr25519PublicTag>

The account ID that this can be transformed into.
Source§

fn into_account(self) -> Self

Transform into an account.
Source§

impl TryFrom<MultiSigner> for Public

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(m: MultiSigner) -> Result<Self, Self::Error>

Performs the conversion.