Macro sp_application_crypto::app_crypto [−][src]
Declares Public, Pair, Signature types which are functionally equivalent to $pair
, but are new
Application-specific types whose identifier is $key_type
.
// Declare a new set of crypto types using Ed25519 logic that identifies as `KeyTypeId` // of value `b"fuba"`. app_crypto!(ed25519, KeyTypeId(*b"_uba"));