Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Sign personal message on metamask #214

Open
cryptobys-rami opened this issue Nov 1, 2021 · 1 comment
Open

Sign personal message on metamask #214

cryptobys-rami opened this issue Nov 1, 2021 · 1 comment

Comments

@cryptobys-rami
Copy link

cryptobys-rami commented Nov 1, 2021

Implementing the example on: https://pub.dev/documentation/web3dart/latest/browser/browser-library.html

Image 01-11-2021 at 22 13

Is there a way to generate a metamask signature without it looking like a card blanche on Metamask?

@cryptobys-rami
Copy link
Author

FWIW - I am linking an issue in a separate library where the sign personal message works correctly, in case it helps with fixing it here:

y-pakorn/flutter_web3#17

I have a feeling it has to do with the way you are encoding the message. Metamask isn't recognising it as a personal message (with the appended text that prevents it from being used as a transaction).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant