-
Notifications
You must be signed in to change notification settings - Fork 366
WalletConnectV2Connector fails to communicate with iframe #1122
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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:
Rpc urls:
- Mainnet: https://bsc-dataseed2.binance.org/
- BSC: https://fragrant-falling-feather.bsc.quiknode.pro/722dbb4bcf7924f7921729a8f4116274f070d1cc/
- BSCTestnet: https://data-seed-prebsc-1-s1.binance.org:8545/
Software versions
useDappversion: @usedapp/core@1.2.1- Package manager: yarn
- Node version: v16.14.2
- Next.js version: next@12.2.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
