You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Right now we use Ed25519 for everything signing. Instead, for transaction signing, we should use the Schnorr-signature-on-Ristretto scheme. It's implemented in schnorrkel and the sign/verify interface together with key and signature sizes remain essentially unchanged from Ed25519. (It's good because it supports soft HD key derivation and multisig.)
Best way to approach this would be to create a new module in core/primitives/src exactly analagous to ed25519.rs called sr25519.rs ("schnorr-ristretto-25519") with the same types and functions that do the same thing, then simply rename any instances of "ed25519" to "sr25519" that are involved in transactions/extrinsics.
keyring crate will need updating, as will a number of tests.