Skip to content

WalletConnectV2Connector fails to communicate with iframe #1122

Description

@kubasulek2

Describe the bug
After switching to WalletConnectV2Connector I'am receiving cors errors in communication between application and WalletConnect Iframe:

index.es.js:1 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://verify.walletconnect.com') does not match the recipient window's origin ('http://localhost:3000')

After scanning QR code with wallet app on mobile nothing happens. My suspicion is that the reason behind it is lack of communication between application and iframe.

To Reproduce
Config:

Screenshot 2023-07-05 at 10 28 00

Rpc urls:

Software versions

  • useDapp version: @usedapp/core@1.2.1
  • Package manager: yarn
  • Node version: v16.14.2
  • Next.js version: next@12.2.5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions