Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const injected = new InjectedConnector({ supportedChainIds: [1, 3, 4, 5, 42] })
export const network = new NetworkConnector({
urls: { 1: RPC_URLS[1], 4: RPC_URLS[4] },
defaultChainId: 1,
pollingInterval: POLLING_INTERVAL
})
export const walletconnect = new WalletConnectConnector({
rpc: { 1: RPC_URLS[1] },
bridge: 'https://bridge.walletconnect.org',
qrcode: true,
pollingInterval: POLLING_INTERVAL
})
export const walletlink = new WalletLinkConnector({
url: RPC_URLS[1],
appName: 'web3-react example'
})
export const ledger = new LedgerConnector({ chainId: 1, url: RPC_URLS[1], pollingInterval: POLLING_INTERVAL })
export const trezor = new TrezorConnector({
chainId: 1,
url: RPC_URLS[1],
pollingInterval: POLLING_INTERVAL,
manifestEmail: 'dummy@abc.xyz',
manifestAppUrl: 'http://localhost:1234'
})
export const frame = new FrameConnector({ supportedChainIds: [1] })
bridge: 'https://bridge.walletconnect.org',
qrcode: false,
pollingInterval: POLLING_INTERVAL
})
export const fortmatic = new FortmaticConnector({
apiKey: process.env.REACT_APP_FORTMATIC_KEY,
chainId: 1
})
export const portis = new PortisConnector({
dAppId: process.env.REACT_APP_PORTIS_ID,
networks: [1]
})
export const walletlink = new WalletLinkConnector({
url: process.env.REACT_APP_NETWORK_URL,
appName: 'Uniswap',
appLogoUrl:
'https://mpng.pngfly.com/20181202/bex/kisspng-emoji-domain-unicorn-pin-badges-sticker-unicorn-tumblr-emoji-unicorn-iphoneemoji-5c046729264a77.5671679315437924251569.jpg'
})