recipes
recipes copied to clipboard
Recipe for Application Crypto
When would I ant to add a key type? One example is adding or removing grandpa. When would a pallet that doesn't cross the wasm boundary do it? Would it?
I came across this great overview of the three levels to account crypto:
-
Pair(for creating transactions) -
Public(always derivable fromPairthrough the associated typeVerify::Signer, and in the case of SECP256k1/ECDSA, also from a validSignaturewith the ECDSA Recover opreation) -
AccountId(always derivable fromPublicusingIdentifyAccount::AccountId)