A message signed in a Concordium wallet is prepended with the account address and 8 zero bytes. A verify_concordium_wallet_message_signature/verify_account_message_signature function should be available in the SDK that adds these prepends and verifies all signatures in the signature map (aka 2-level multi-sig accounts).
Task description
A message signed in a Concordium wallet is prepended with the
account
address and 8 zero bytes. Averify_concordium_wallet_message_signature
/verify_account_message_signature
function should be available in the SDK that adds these prepends and verifies all signatures in the signature map (aka 2-level multi-sig accounts).https://github.com/Concordium/concordium-dapp-examples/pull/92#discussion_r1711476448
https://github.com/Concordium/concordium-dapp-examples/blob/b9b1573a5db978e3e469c39a4fe6b9721a0dc58a/compliant-reward-distribution/indexer-and-server/src/bin/server.rs#L594