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

It's impossible to connect wallet using wallet connect #134

Open
akhlopiachyi opened this issue Jan 25, 2024 · 0 comments
Open

It's impossible to connect wallet using wallet connect #134

akhlopiachyi opened this issue Jan 25, 2024 · 0 comments

Comments

@akhlopiachyi
Copy link

akhlopiachyi commented Jan 25, 2024

It's impossible to connect wallet using wallet connect if I use the dApp from mobile device. Only modal window with QR code is appeared, but I can't scan QR code with the same mobile device, so user is stuck.

Describe the solution you'd like

I propose you to add the mobileWallet and desktopWallet properties to web3Modal of WalletConnectStore:

interface WalletConnectStore {
    options: SignClientTypes.Options | null;
    web3Modal?: Pick<Web3ModalConfig, "mobileWallets", "desktopWallets", "themeVariables" | "themeMode" | "privacyPolicyUrl" | "termsOfServiceUrl"> | null;
}

Describe alternatives you've considered

Other way is to create walletList property of GrazProvider and map its value to put to WalletConnect, if it's enabled (projectId is defined)

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

No branches or pull requests

1 participant