Sign Typed Data API not working #735
Unanswered
michaelzrrr-2
asked this question in
Developer Support
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to get a lazy-mint call to work for Rarible, which requires me to sign a typed data structure. Here is the data I am tried to sign first, ``` const msgParams = JSON.stringify({
domain: {
chainId: 4,
name: 'Mint721',
verifyingContract: '0xB0EA149212Eb707a1E5FC1D2d3fD318a8d94cf05',
version: '1',
},
I am able to sign this using MetaMask, but the signature is invalid for minting (which makes sense since the message is bogus). However, when I change the message to this
now, after I click sign on my wallet, the signTypedData() call will never complete. Any ideas why this might be the case, or is there a different way I should be getting a valid signature for minting?
Beta Was this translation helpful? Give feedback.
All reactions