@twine-protocol/twine-core v0.1.0 • Docs
twine-js / @twine-protocol/twine-core / Signer
Any class implementing this interface can be used as a signer for Twine
getPublicJWK(): Promise<JWK>
Promise
JWK
Get the public key in JWK format
Returns
Promise<JWK>
Defined in
packages/twine-core/src/types.ts:127arrow-up-right
sign(bytes): Promise<string>
bytes
string
Sign the given bytes
Parameters
Uint8Array
Bytes to sign
Promise<string>
packages/twine-core/src/types.ts:132arrow-up-right
Last updated 1 year ago