Skip to content

Commit

Permalink
Merge pull request #53 from AmbireTech/develop
Browse files Browse the repository at this point in the history
Release v1.8.2
  • Loading branch information
superKalo authored Jul 1, 2022
2 parents 8d9452c + 090e21f commit 34b1f9c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 21 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.8.1",
"version": "0.8.2",
"name": "ambire-common",
"description": "Common ground for the Ambire apps",
"private": true,
Expand All @@ -8,8 +8,8 @@
"@walletconnect/client": "^1.7.1",
"react": "^17.0.0",
"ethers": "^5.5.2",
"ethereumjs-util": "^7.1.3",
"adex-protocol-eth": "git+https://[email protected]/AmbireTech/adex-protocol-eth.git#e507e75ac4ddbec2aa4a444c675b38ee9d26190c",
"ethereumjs-util": "^6.1.0",
"adex-protocol-eth": "git+https://[email protected]/AmbireTech/adex-protocol-eth.git",
"validator": "^13.7.0"
},
"devDependencies": {
Expand Down
52 changes: 34 additions & 18 deletions src/constants/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,22 @@ export type NetworkType = {
explorerUrl: string
unstoppableDomainsChain: string
hide?: boolean
isGasTankAvailable: boolean
}

const networks: NetworkType[] = [
{
id: NETWORKS.ethereum,
chainId: 1,
//rpc: 'https://mainnet.infura.io/v3/3d22938fd7dd41b7af4197752f83e8a1',
//rpc: 'https://morning-wild-water.quiknode.pro/66011d2c6bdebc583cade5365086c8304c13366c/',
//rpc: 'https://mainnet.infura.io/v3/d4319c39c4df452286d8bf6d10de28ae',
// rpc: 'https://mainnet.infura.io/v3/3d22938fd7dd41b7af4197752f83e8a1',
// rpc: 'https://morning-wild-water.quiknode.pro/66011d2c6bdebc583cade5365086c8304c13366c/',
// rpc: 'https://mainnet.infura.io/v3/d4319c39c4df452286d8bf6d10de28ae',
rpc: 'https://eth-mainnet.alchemyapi.io/v2/e5Gr8LP_EH0SBPZiNCcC08OuEDrvgoYK',
nativeAssetSymbol: 'ETH',
name: 'Ethereum',
explorerUrl: 'https://etherscan.io',
unstoppableDomainsChain: 'ERC20'
unstoppableDomainsChain: 'ERC20',
isGasTankAvailable: true
},
{
id: NETWORKS.polygon,
Expand All @@ -50,7 +52,8 @@ const networks: NetworkType[] = [
nativeAssetSymbol: 'MATIC',
name: 'Polygon',
explorerUrl: 'https://polygonscan.com',
unstoppableDomainsChain: 'MATIC'
unstoppableDomainsChain: 'MATIC',
isGasTankAvailable: true
},
{
id: NETWORKS.avalanche,
Expand All @@ -59,7 +62,8 @@ const networks: NetworkType[] = [
nativeAssetSymbol: 'AVAX',
name: 'Avalanche',
explorerUrl: 'https://snowtrace.io',
unstoppableDomainsChain: 'ERC20'
unstoppableDomainsChain: 'ERC20',
isGasTankAvailable: true
},
{
// to match the zapper ID
Expand All @@ -69,7 +73,8 @@ const networks: NetworkType[] = [
nativeAssetSymbol: 'BNB',
name: 'Binance Smart Chain',
explorerUrl: 'https://bscscan.com',
unstoppableDomainsChain: 'BEP20'
unstoppableDomainsChain: 'BEP20',
isGasTankAvailable: true
},
{
id: NETWORKS.fantom,
Expand All @@ -78,7 +83,8 @@ const networks: NetworkType[] = [
nativeAssetSymbol: 'FTM',
name: 'Fantom Opera',
explorerUrl: 'https://ftmscan.com',
unstoppableDomainsChain: 'ERC20'
unstoppableDomainsChain: 'ERC20',
isGasTankAvailable: true
},
{
id: NETWORKS.moonbeam,
Expand All @@ -87,7 +93,8 @@ const networks: NetworkType[] = [
nativeAssetSymbol: 'GLMR',
name: 'Moonbeam',
explorerUrl: 'https://moonscan.io/',
unstoppableDomainsChain: 'ERC20'
unstoppableDomainsChain: 'ERC20',
isGasTankAvailable: true
},
{
id: NETWORKS.moonriver,
Expand All @@ -96,7 +103,8 @@ const networks: NetworkType[] = [
nativeAssetSymbol: 'MOVR',
name: 'Moonriver',
explorerUrl: 'https://moonriver.moonscan.io/',
unstoppableDomainsChain: 'ERC20'
unstoppableDomainsChain: 'ERC20',
isGasTankAvailable: true
},
{
id: NETWORKS.arbitrum,
Expand All @@ -105,7 +113,8 @@ const networks: NetworkType[] = [
nativeAssetSymbol: 'AETH',
name: 'Arbitrum',
explorerUrl: 'https://arbiscan.io',
unstoppableDomainsChain: 'ERC20'
unstoppableDomainsChain: 'ERC20',
isGasTankAvailable: true
},
{
id: NETWORKS.gnosis,
Expand All @@ -114,7 +123,8 @@ const networks: NetworkType[] = [
nativeAssetSymbol: 'XDAI',
name: 'Gnosis Chain',
explorerUrl: 'https://blockscout.com',
unstoppableDomainsChain: 'ERC20'
unstoppableDomainsChain: 'ERC20',
isGasTankAvailable: true
},
{
id: NETWORKS.kucoin,
Expand All @@ -124,7 +134,8 @@ const networks: NetworkType[] = [
name: 'KCC KuCoin',
explorerUrl: 'https://explorer.kcc.io',
unstoppableDomainsChain: 'ERC20',
hide: true
hide: true,
isGasTankAvailable: false
},
{
id: NETWORKS.optimism,
Expand All @@ -133,7 +144,8 @@ const networks: NetworkType[] = [
nativeAssetSymbol: 'ETH',
name: 'Optimism',
explorerUrl: 'https://optimistic.etherscan.io',
unstoppableDomainsChain: 'ERC20'
unstoppableDomainsChain: 'ERC20',
isGasTankAvailable: true
},
{
id: NETWORKS.andromeda,
Expand All @@ -142,7 +154,8 @@ const networks: NetworkType[] = [
nativeAssetSymbol: 'METIS',
name: 'Andromeda',
explorerUrl: 'https://andromeda-explorer.metis.io',
unstoppableDomainsChain: 'ERC20sp'
unstoppableDomainsChain: 'ERC20sp',
isGasTankAvailable: true
},
{
id: 'rinkeby',
Expand All @@ -152,7 +165,8 @@ const networks: NetworkType[] = [
name: 'Rinkeby',
explorerUrl: 'https://rinkeby.etherscan.io',
unstoppableDomainsChain: 'ERC20',
hide: true
hide: true,
isGasTankAvailable: false
}
// {
// id: NETWORKS.cronos,
Expand All @@ -161,7 +175,8 @@ const networks: NetworkType[] = [
// nativeAssetSymbol: 'CRO',
// name: 'Cronos',
// explorerUrl: 'https://cronoscan.com',
// unstoppableDomainsChain: 'ERC20'
// unstoppableDomainsChain: 'ERC20',
// isGasTankAvailable: false
// },
// {
// id: NETWORKS.aurora,
Expand All @@ -170,7 +185,8 @@ const networks: NetworkType[] = [
// nativeAssetSymbol: 'ETH',
// name: 'NEAR Aurora',
// explorerUrl: 'https://aurorascan.dev',
// unstoppableDomainsChain: 'ERC20'
// unstoppableDomainsChain: 'ERC20',
// isGasTankAvailable: false
// }
]

Expand Down

0 comments on commit 34b1f9c

Please sign in to comment.