Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Unable to display a custom wallet that supports both mobile and web targets #38

Open
AlexandrosGounis opened this issue Oct 24, 2024 · 0 comments

Comments

@AlexandrosGounis
Copy link

Summary

With @walletconnect/modal it is possible to define mobileWallets and desktopWallets. We are trying to achieve the following, where there's a button for Mobile and Web:
mobile-wallets-desktop

However, our config only shows a "Web" button:

new WalletConnectModal({
    // ...
    explorerExcludedWalletIds: 'ALL',
    mobileWallets: [{
        name: "Foo Wallet",
        id: "foo",
        links: {
            universal: "https://link.foo.com",
            native: "foo://"
        }
    }],
    desktopWallets: [{
        name: "Foo Wallet",
        id: "foo",
        links: {
            universal: "https://foo.com",
            native: "foo://",
        }
    }],
    chains: ["baz"],
});

It is not clear how platform separation works, is that possible with custom wallets?

Link to the related docs page

https://docs.reown.com/advanced/walletconnectmodal/options#mobilewallets-optional

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant