Skip to content

Commit

Permalink
use wallet connect v2
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Jun 29, 2023
1 parent cf19fb3 commit bb868d7
Showing 1 changed file with 4 additions and 7 deletions.
@@ -1,24 +1,21 @@
import {
connectorsForWallets,
RainbowKitProvider,
WalletList,
Wallet,
WalletList,
} from '@rainbow-me/rainbowkit';

// Import known recommended wallets
import { Valora } from '@celo/rainbowkit-celo/wallets';
import {
injectedWallet,
metaMaskWallet,
walletConnectWallet,
} from '@rainbow-me/rainbowkit/wallets';

import { Chain, configureChains, createClient, WagmiConfig } from 'wagmi';
import type { Chain } from 'wagmi';
import { configureChains, createClient, WagmiConfig } from 'wagmi';
import { publicProvider } from 'wagmi/providers/public';
import { jsonRpcProvider } from 'wagmi/providers/jsonRpc';
// import { WalletConnectConnector } from 'wagmi/connectors/walletConnect';
// import { WalletConnectLegacyConnector } from 'wagmi/connectors/walletConnectLegacy';

import type { ReactNode } from 'react';
import React, { createContext, useContext, useMemo } from 'react';

Expand Down Expand Up @@ -61,8 +58,8 @@ const walletConnectorsList: Record<
walletConnectWallet({
projectId: PROJECT_ID,
chains,
version: '2',
options: {
qrcode: true,
projectId: PROJECT_ID,
},
}),
Expand Down

0 comments on commit bb868d7

Please sign in to comment.