Skip to content

Commit

Permalink
Merge pull request #106 from turbo-eth/feat/add-gnosis-avalanche-inte…
Browse files Browse the repository at this point in the history
…grations

[integrations] Feat: add gnosis avalanche chains
  • Loading branch information
marthendalnunes authored Jul 4, 2023
2 parents c4ce6eb + d6c82c2 commit 5e2c57d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
24 changes: 22 additions & 2 deletions config/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ import { Chain, configureChains } from 'wagmi'
import {
arbitrum,
arbitrumGoerli as arbitrumGoerliNoIcon,
avalancheFuji as avalancheFujiNoIcon,
avalanche as avalancheNoIcon,
baseGoerli as baseGoerliNoIcon,
celoAlfajores as celoAlfajoresNoIcon,
celo as celoNoIcon,
gnosisChiado as gnosisChiadoNoIcon,
gnosis as gnosisNoIcon,
goerli as goerliNoIcon,
hardhat,
mainnet,
Expand Down Expand Up @@ -47,10 +51,26 @@ const celoAlfajores = {
...celoAlfajoresNoIcon,
iconUrl: '/icons/NetworkCeloTest.svg',
}
const avalanche = {
...avalancheNoIcon,
iconUrl: '/icons/NetworkAvalanche.svg',
}
const avalancheFuji = {
...avalancheFujiNoIcon,
iconUrl: '/icons/NetworkAvalanche.svg',
}
const gnosis = {
...gnosisNoIcon,
iconUrl: '/icons/NetworkGnosis.svg',
}
const gnosisChiado = {
...gnosisChiadoNoIcon,
iconUrl: '/icons/NetworkGnosis.svg',
}

export const ETH_CHAINS_TEST = [mainnet, goerli, sepolia, polygonMumbai, celoAlfajores, hardhat]
export const ETH_CHAINS_TEST = [mainnet, goerli, sepolia, polygonMumbai, celoAlfajores, gnosisChiado, avalancheFuji, hardhat]
export const ETH_CHAINS_L2_TEST = [baseGoerli, optimismGoerli, arbitrumGoerli]
export const ETH_CHAINS_PROD = [mainnet, optimism, arbitrum, polygon, celo, goerli, baseGoerli]
export const ETH_CHAINS_PROD = [mainnet, optimism, arbitrum, polygon, celo, gnosis, avalanche, goerli, baseGoerli]
export const ETH_CHAINS_DEV =
env.NEXT_PUBLIC_PROD_NETWORKS_DEV === 'true'
? [...ETH_CHAINS_PROD, ...ETH_CHAINS_TEST, ...ETH_CHAINS_L2_TEST]
Expand Down
4 changes: 4 additions & 0 deletions public/icons/NetworkAvalanche.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions public/icons/NetworkGnosis.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 5e2c57d

@vercel
Copy link

@vercel vercel bot commented on 5e2c57d Jul 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.