WalletConnect / Web3ModalFlutter

The Web3Modal for WalletConnect built using Flutter.
https://pub.dev/packages/web3modal_flutter
Apache License 2.0
44 stars 44 forks source link

W3MConnectWalletButton connect #158

Closed 15112415279 closed 3 months ago

15112415279 commented 4 months ago

When clicking MetaMask or OKX Wallet, after the redirection, it remains stuck on "connecting".

quetool commented 4 months ago

Hello! Could you share steps to reproduce? implementation code or anything that would help me reproduce the issue?

15112415279 commented 4 months ago

Of cause. After the init method, I use openModal to bring up the bottom WalletConnect modal. After clicking to jump to the corresponding wallet, those wallets remain in the connecting state. The detailed connection parameters are wc:@2?relay-protocol=irn&symKey=&methods=[wc_sessionPropose,wc_sessionRequest],[wc_authRequest]. I believe the method parameter should only be methods=wc_sessionAuthenticate, but passing it as methods=[[wc_sessionAuthenticate]] still doesn't work.

15112415279 commented 4 months ago

w3mService.web3App?.onSessionConnect.subscribe((args) { connectAddress(); }); w3mService.init(); w3mService.openModal(context);

quetool commented 3 months ago

Hello @15112415279! Sorry for the late response, Is this still an issue?

15112415279 commented 3 months ago

No .Thanks Bro