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

wallet-connectors: WalletConnect: Implement binary message signing #43

Closed bisgardo closed 2 months ago

bisgardo commented 12 months ago

Purpose

Support signing binary messages with schema over WalletConnect.

Changes

If the message is "binary" it's encoded into hex and the schema provided in an additional field (encoded as base64). If the wallet doesn't read the schema, it's going to present it non-decoded. And of course sign the hex encoding of the bytes rather than the bytes themselves.

Resolves CBW-1211.