-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
Description
Currently, either string (r,s,v encoded) or interface { r: string, s: string, v: number } is used, including sign() in the keystore.
We need to sort this out.
primitives
interface EcdsaSignature {
r: string;
s: string;
v: number;
}
signEcdsa()
verifyEcdsa()
recoverEcdsa()
interface SchnorrSignature {
r: string;
s: string;
}
signSchnorr()
verifySchnorr()
recoverSchnorr()
keystore
sign(...): string
SDK
SDK.Rpc.account.sign(...): string
SignedParcel.convertRsvToSignatureString()