ethereum-attestation-service / eas-sdk

Ethereum Attestation Service - TypeScript/JavaScript SDK
MIT License
95 stars 47 forks source link

Something error occurs when signing data with the mobile Metamask wallet #74

Closed crazyyuan closed 10 months ago

crazyyuan commented 10 months ago

Our application integrates with the eas-sdk and works on PC browsers. But when signing data off-chain with the mobile Metamask wallet, the error occurs. After some debugs, I couldn't locate the problem. version: 1.1.0-beta.3 snapshot:

image
slavik0329 commented 10 months ago

@crazyyuan are you using rainbowkit/connectkit? If so this could be related to a wagmi bug which causes this error when you only enable a single chain. Try enabling multiple chains in the config.

crazyyuan commented 10 months ago

@crazyyuan are you using rainbowkit/connectkit? If so this could be related to a wagmi bug which causes this error when you only enable a single chain. Try enabling multiple chains in the config.

Pretty thanks, it works when multiple chains are enabled.