hypr-login/signer/api/sign:sys-v0.wit
2025-03-20 01:11:49 +07:00

24 lines
403 B
Plaintext

interface sign{
use standard.{address};
// takes blob for message to sign or verify
variant request{
sign,
verify(verify-request)
}
// takes blob
record verify-request{
node: string,
signature: list<u8>
}
// takes blob
record sign-response{
signature: list<u8>
}
}
world sign-sys-v0 {
import sign;
include process-v1;
}