import { WalletConnectConnector } from '@web3-react/walletconnect-connector' ; import { WalletLinkConnector } from '@web3-react/walletlink-connector' ; const POLLING_INTERVAL = 12000 ; const RPC_URLS = { 1 : 'https://mainnet.infura.io/v3/84842078b09946638c03157f83405213' , 4 : 'https://rinkeby.infura.io/v3/84842078b09946638c03157f83405213' , } ; export const walletconnect = new WalletConnectConnector ( { rpc : { 1 : RPC_URLS [ 1 ] , 4 : RPC_URLS [ 4 ] } , qrcode : true , pollingInterval : POLLING_INTERVAL , } ) ; export const walletlink = new WalletLinkConnector ( { url : RPC_URLS [ 1 ] , appName : 'Coinbase' , supportedChainIds : [ 1 , 3 , 4 , 5 , 42 , 10 , 137 , 69 , 420 , 80001 ] , } ) ;