Concordium / concordium-dapp-libraries

A coherent set of building blocks for making it as easy as possible for developers to build web-based dApps.
Apache License 2.0
7 stars 5 forks source link

Add support for binary message signing through WalletConnect #68

Closed Radiokot closed 5 months ago

Radiokot commented 5 months ago

Description

Instead of throwing an error, send a sign_message request with the message field containing the structure equal to the one sent to the browser wallet:

{
    /** as base64 */
    schema: string;
    /** as hex */
    data: string;
}

Expected response is the same as for text message signature.