Crypto signature
Wander Injected API signature() function
Alternatives
Argument
Type
Description
Example usage
// connect to the extension
await window.arweaveWallet.connect(["SIGNATURE"]);
// sign data
const signature = await window.arweaveWallet.signature(new TextEncoder().encode("Data to sign"), {
name: 'RSA-PSS',
saltLength: 0,
});
console.log("The signature is", signature);Last updated
Was this helpful?