Skip to content

Commit

Permalink
Enable coinbase wallet (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzxyz authored Feb 20, 2024
1 parent 603137f commit 99f867d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/conf/rainbowConf.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import React from 'react';
import { connectorsForWallets, darkTheme, RainbowKitProvider } from '@rainbow-me/rainbowkit';
import {
coinbaseWallet,
metaMaskWallet,
rainbowWallet,
safeWallet,
Expand All @@ -24,18 +25,15 @@ const supportedChains = process.env.REACT_APP_NETWORK === 'testnet' ? [polygon,
// @ts-ignore
const { chains, publicClient } = configureChains(supportedChains, [publicProvider()]);

const talismanWalletConnector = talismanWallet({
chains
});

const connectors = connectorsForWallets([
{
groupName: 'Recommended',
wallets: [
safeWallet({ chains }),
metaMaskWallet({ projectId: 'c7ea561f79adc119587d163a68860570', chains }),
coinbaseWallet({ appName: 'Subquery Network', chains }),
walletConnectWallet({ projectId: 'c7ea561f79adc119587d163a68860570', chains }),
talismanWalletConnector,
talismanWallet({ chains }),
rainbowWallet({ projectId: 'c7ea561f79adc119587d163a68860570', chains })
]
}
Expand Down

0 comments on commit 99f867d

Please sign in to comment.