3

I want to sign an arbitrary data (eg. a string message) with Backpack and receive the signature as a result. How can I do it with backpack?

1 Answer 1

3

Hey looking at the code it should be signMessage(tx: Buffer, address: string): Promise<string>;

so const signature = await window.xnft.solana.signMessage(tx);

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.