Skip to content

Commit 53f7b62

Browse files
authored
disbale wallet connect (#114)
* disbale wallet connect * clean up
1 parent a15c005 commit 53f7b62

File tree

94 files changed

+23
-963
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+23
-963
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

liquidity/lib/useBlockchain/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"@snx-v3/icons": "workspace:*",
99
"@web3-onboard/core": "^2.21.2",
1010
"@web3-onboard/injected-wallets": "^2.10.9",
11-
"@web3-onboard/walletconnect": "^2.5.0",
1211
"ethers": "^5.7.2",
1312
"react": "^18.2.0"
1413
}

liquidity/lib/useBlockchain/useBlockchain.tsx

+11-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { BaseIcon, EthereumIcon, FailedIcon, LogoIcon, OptimismIcon } from '@snx
44
import { INFURA_KEY, ONBOARD_KEY } from '@snx-v3/constants';
55
import onboardInit, { AppState, WalletState } from '@web3-onboard/core';
66
import injectedModule from '@web3-onboard/injected-wallets';
7-
import walletConnectModule from '@web3-onboard/walletconnect';
7+
// import walletConnectModule from '@web3-onboard/walletconnect';
88
import SynthetixIcon from './SynthetixIcon.svg';
99
import SynthetixLogo from './SynthetixLogo.svg';
1010

@@ -167,13 +167,16 @@ export const DEFAULT_NETWORK =
167167
) ?? NETWORK_OPTIMISM;
168168

169169
const injected = injectedModule();
170-
const walletConnect = walletConnectModule({
171-
version: 2,
172-
projectId: `${process.env.NEXT_PUBLIC_WC_PROJECT_ID}`,
173-
requiredChains: [1, 10],
174-
});
175-
176-
const wallets = [injected, walletConnect];
170+
// const walletConnect = walletConnectModule({
171+
// version: 2,
172+
// projectId: `${process.env.NEXT_PUBLIC_WC_PROJECT_ID}`,
173+
// requiredChains: [1, 10],
174+
// });
175+
176+
const wallets = [
177+
injected,
178+
// walletConnect
179+
];
177180

178181
const uniqueChains: Network[] = Object.values(
179182
NETWORKS.reduce((result, network) => {

0 commit comments

Comments
 (0)