Hey guys,
I was able to setup WalletConnect on Moralis.Web3.authenticate()
But I wonder how I should be limiting the mobile options.
Right now there are 5 ‘pages’ of options, and I’d like to limit this down to only MetaMask, Trustwallet.
Hey guys,
I was able to setup WalletConnect on Moralis.Web3.authenticate()
But I wonder how I should be limiting the mobile options.
Right now there are 5 ‘pages’ of options, and I’d like to limit this down to only MetaMask, Trustwallet.
Hey @unkn0wndns
In the latest versions you need to use Moralis.authenticate()
.
Currently the Filter Mobile Linking Options
is not available. But I’ll now create a PR for adding this
I’ll let you know when it will be available
awesome thank you so much
Hey @unkn0wndns
I opened the PR https://github.com/MoralisWeb3/Moralis-JS-SDK/pull/22
You can track the status yourself, but I’ll let you know when it will be merged anyway.
nice one
I’ve seen it! Thanks for the headsup It’s also updated in precompiled version.
I quickly tried it a moment ago on the phone.
Cleared cache of my browser, purged at cloudflare and even with dev mode on.
However I still see al options.
I’ll try it later when I’m on my computer
Will let you know!
Hm, yes I’m testing it now after the merge and it doesn’t work for me correctly too
Edit: I’ve found the problem. It will be fixed soon
moralisSettings = { provider: 'walletconnect', signingMessage: "Platform X - Logon", chainId: 56, qrcodeModalOptions: {mobileLinks: ["metamask","trust"]} };
still shows all
You need to specify the options this way:
moralisSettings = {
provider: "walletconnect",
chainId: 56,
mobileLinks: ["metamask","trust"]
}
Yep you’re right…
I looked at the source and assumed it’d yet need qrcodeModalOptions
It’s solved and lot cleaner modal window
Tysm!
Happy to help you