Skip to content

Commit 4261e37

Browse files
fix: remove WalletConnect integration from wagmiConfig using reown instead (#120)
1 parent 48b6d40 commit 4261e37

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/utils/wagmiConfig.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { WagmiAdapter } from '@reown/appkit-adapter-wagmi';
22
import { createAppKit } from '@reown/appkit/react';
33
import { http, CreateConnectorFn } from 'wagmi';
4-
import { injected, walletConnect } from 'wagmi/connectors';
4+
import { injected } from 'wagmi/connectors';
55
import { bellecour } from './bellecourChainConfig.ts';
66
import { InjectedWalletProvider } from './injected-wallet-provider/injected-wallet-provider.ts';
77
import { EIP6963ProviderDetail } from './injected-wallet-provider/types.ts';
@@ -13,19 +13,8 @@ if (!import.meta.env.VITE_REOWN_PROJECT_ID) {
1313

1414
export const projectId = import.meta.env.VITE_REOWN_PROJECT_ID!;
1515

16-
// WalletConnect metadata
17-
const metadata = {
18-
name: 'Web3 Messaging Usecase Demo',
19-
description: 'Web3 Messaging Usecase Demo',
20-
url: '',
21-
icons: [
22-
'https://cdn.prod.website-files.com/6646148828eddb19c172bf2a/665db3ba85a625628c353a64_Logo-RLC-Yellow.png',
23-
],
24-
};
25-
2616
// Connectors initialization
2717
const connectors: CreateConnectorFn[] = [];
28-
connectors.push(walletConnect({ projectId, metadata, showQrModal: false }));
2918

3019
// Injected wallet provider management
3120
const injectedWalletProvider = new InjectedWalletProvider();

0 commit comments

Comments
 (0)