I’m building a DApp and was typically using Chrome and MetaMask. I’m looking to migrate my website to make it compatible with Brave and am having trouble authenticating.
For my MVP what I would do is ask a user to sign a piece of data using MetaMask. The piece of data was a random number.
When I use Brave, I get the window to sign the data then in my console there is this error:
inpage.js:1 MetaMask - RPC Error: MetaMask Message Signature: TypeError: Cannot read property ‘EIP712Domain’ of undefined Object
You can look try the website here: https://www.empireai.io
If you could share any insights or documentation to get me on the right track it would be greatly appreciated!