walletconnect-dart-sdk icon indicating copy to clipboard operation
walletconnect-dart-sdk copied to clipboard

how to connect with metamask default

Open ShallowGreen opened this issue 2 years ago • 3 comments

var session = await connector.createSession(onDisplayUri: (uri) async { _uri = uri; await launchUrlString(uri, mode: LaunchMode.externalApplication); });

this will wake up all wallet app which can connect, but I just want connect with metamask default, how should I do?

ShallowGreen avatar Jan 06 '23 11:01 ShallowGreen

If you're using Android, this is controlled by OS. Android should give you a dialog and ask you to select an wallet app. And you can set the app as default in that dialog.

HaoCherHong avatar Jan 11 '23 00:01 HaoCherHong

You can use: metamask://wc?uri=${uri} as a parameter in launchUrlString.

dawidope avatar Feb 24 '23 10:02 dawidope

I used metamask://wc?uri=${uri} but the connect button doesnt gets shown @dawidope what should i do? also metamask is not working with eth sign saying:- JSON-RPC error -32000: eth_sign requires 32 byte message hash

Rohitbagul003 avatar May 22 '23 10:05 Rohitbagul003