Skip to content

How i can show Only QR code modal for users? #3119

Answered by Hastes
Hastes asked this question in Q&A
Discussion options

You must be logged in to vote

I found the solution, if interested

import { walletConnect } from 'wagmi/connectors';

export const config = createConfig({
  chains,
  metadata,
  connectors: [
    walletConnect({
      ...WC_PARAMS,
    }),
  ],
  client({ chain }) {
    return createClient({ chain, transport: http() });
  },
});

and then just use useConnectors() hook

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@arein
Comment options

@rtomas
Comment options

rtomas Nov 29, 2024
Collaborator

Answer selected by Hastes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants