Function sp_io::crypto::ed25519_generate
source · pub fn ed25519_generate(id: KeyTypeId, seed: Option<Vec<u8>>) -> PublicExpand description
Generate an ed22519 key for the given key type using an optional seed and
store it in the keystore.
The seed needs to be a valid utf8.
Returns the public key.