Closed ArDapps closed 1 year ago
try this
connector.createSession(
onDisplayUri: (uri) {
final trustWalletUri = Uri.https('link.trustwallet.com', 'wc', {'uri': uri});
}
);
Take a look here: walletconnect_qr_modal
try this
connector.createSession( onDisplayUri: (uri) { final trustWalletUri = Uri.https('link.trustwallet.com', 'wc', {'uri': uri}); } );
@WingCH I just want connect with metamask, how should I do? I don't want to show the select of all the wallet app. just connect default with metamask
@ShallowGreen
You can use the Metamask universal link metamask.app.link
, which works in the same way as Trust Wallet.
walletUri = Uri.https('metamask.app.link', 'wc', {'uri': uri});
CryptoWallet(universalLink: 'https://link.trustwallet.com/', deeplink: 'trust://');
@ShallowGreen You can use the Metamask universal link
metamask.app.link
, which works in the same way as Trust Wallet.walletUri = Uri.https('metamask.app.link', 'wc', {'uri': uri});
universalLink: 'https://link.trustwallet.com/', deeplink: 'trust://');
every time open metamask, what is the parmas need to change to use trust wallet ?