Add AvalancheFuji network support

This commit is contained in:
Ivan Yaremenchuk 2022-04-17 16:23:57 +02:00
parent 71e591466a
commit 4990227768
5 changed files with 13 additions and 1 deletions

View File

@ -14,4 +14,6 @@ public enum EthereumNetwork : long
ArbitrumMainnetBeta = 42161, ArbitrumMainnetBeta = 42161,
ArbitrumRinkeby = 421611, ArbitrumRinkeby = 421611,
ArbitrumGoerli = 421612, ArbitrumGoerli = 421612,
AvalancheMainnet = 43114,
AvalancheFuji = 43113,
} }

View File

@ -75,6 +75,8 @@ public class Step4Component : BasicComponent
EthereumNetwork.ArbitrumMainnetBeta => "https://explorer.arbitrum.io/tx/", EthereumNetwork.ArbitrumMainnetBeta => "https://explorer.arbitrum.io/tx/",
EthereumNetwork.ArbitrumRinkeby => "https://testnet.arbiscan.io/tx/", EthereumNetwork.ArbitrumRinkeby => "https://testnet.arbiscan.io/tx/",
EthereumNetwork.ArbitrumGoerli => "https://nitro-devnet-explorer.arbitrum.io/tx/", EthereumNetwork.ArbitrumGoerli => "https://nitro-devnet-explorer.arbitrum.io/tx/",
EthereumNetwork.AvalancheMainnet => "https://snowtrace.io/tx/",
EthereumNetwork.AvalancheFuji => "https://testnet.snowtrace.io/tx/",
_ => null, _ => null,
}; };
if (baseUrl == null) if (baseUrl == null)

View File

@ -41,6 +41,8 @@ public class MainLayoutComponent : LayoutBasicComponent
EthereumNetwork.ArbitrumMainnetBeta => PresetColor.Cyan, EthereumNetwork.ArbitrumMainnetBeta => PresetColor.Cyan,
EthereumNetwork.ArbitrumRinkeby => PresetColor.Gold, EthereumNetwork.ArbitrumRinkeby => PresetColor.Gold,
EthereumNetwork.ArbitrumGoerli => PresetColor.GeekBlue, EthereumNetwork.ArbitrumGoerli => PresetColor.GeekBlue,
EthereumNetwork.AvalancheMainnet => PresetColor.Cyan,
EthereumNetwork.AvalancheFuji => PresetColor.Pink,
_ => PresetColor.Yellow, _ => PresetColor.Yellow,
}; };

View File

@ -39,6 +39,11 @@
"Id": "ArbitrumGoerli", "Id": "ArbitrumGoerli",
"Erc721ContractAddress": "0x9F64932Be34D5D897C4253D17707b50921f372B6", "Erc721ContractAddress": "0x9F64932Be34D5D897C4253D17707b50921f372B6",
"Erc1155ContractAddress": "0xf67C575502fc1cE399a3e1895dDf41847185D7bD" "Erc1155ContractAddress": "0xf67C575502fc1cE399a3e1895dDf41847185D7bD"
},
{
"Id": "AvalancheFuji",
"Erc721ContractAddress": "0x9F64932Be34D5D897C4253D17707b50921f372B6",
"Erc1155ContractAddress": "0xf67C575502fc1cE399a3e1895dDf41847185D7bD"
} }
], ],
"IpfsGateways": [ "IpfsGateways": [

View File

@ -25,7 +25,8 @@ Used [contracts](NftFaucet/Contracts) are based on [OpenZeppilin contracts](http
| OptimismKovan | [0xee52f32f4bbcedc2a1ed1c195936132937f2d371](https://kovan-optimistic.etherscan.io/token/0xee52f32f4bbcedc2a1ed1c195936132937f2d371) | [0xCc0040129f197F63D37ebd77E62a6F96dDcd4e0A](https://kovan-optimistic.etherscan.io/token/0xCc0040129f197F63D37ebd77E62a6F96dDcd4e0A) | | OptimismKovan | [0xee52f32f4bbcedc2a1ed1c195936132937f2d371](https://kovan-optimistic.etherscan.io/token/0xee52f32f4bbcedc2a1ed1c195936132937f2d371) | [0xCc0040129f197F63D37ebd77E62a6F96dDcd4e0A](https://kovan-optimistic.etherscan.io/token/0xCc0040129f197F63D37ebd77E62a6F96dDcd4e0A) |
| PolygonMumbai | [0xeE8272220A0988279627714144Ff6981E204fbE4](https://mumbai.polygonscan.com/token/0xeE8272220A0988279627714144Ff6981E204fbE4) | [0x23147CdbD963A3D0fec0F25E4604844f477F65d2](https://mumbai.polygonscan.com/token/0x23147CdbD963A3D0fec0F25E4604844f477F65d2) | | PolygonMumbai | [0xeE8272220A0988279627714144Ff6981E204fbE4](https://mumbai.polygonscan.com/token/0xeE8272220A0988279627714144Ff6981E204fbE4) | [0x23147CdbD963A3D0fec0F25E4604844f477F65d2](https://mumbai.polygonscan.com/token/0x23147CdbD963A3D0fec0F25E4604844f477F65d2) |
| ArbitrumRinkeby | [0x9F64932Be34D5D897C4253D17707b50921f372B6](https://testnet.arbiscan.io/token/0x9F64932Be34D5D897C4253D17707b50921f372B6) | [0xf67C575502fc1cE399a3e1895dDf41847185D7bD](https://testnet.arbiscan.io/token/0xf67C575502fc1cE399a3e1895dDf41847185D7bD) | | ArbitrumRinkeby | [0x9F64932Be34D5D897C4253D17707b50921f372B6](https://testnet.arbiscan.io/token/0x9F64932Be34D5D897C4253D17707b50921f372B6) | [0xf67C575502fc1cE399a3e1895dDf41847185D7bD](https://testnet.arbiscan.io/token/0xf67C575502fc1cE399a3e1895dDf41847185D7bD) |
| ArbitrumGoerli | [0x9F64932Be34D5D897C4253D17707b50921f372B6](https://nitro-devnet-explorer.arbitrum.io/token/0x9F64932Be34D5D897C4253D17707b50921f372B6) | [0xf67C575502fc1cE399a3e1895dDf41847185D7bD](https://nitro-devnet-explorer.arbitrum.io/token/0xf67C575502fc1cE399a3e1895dDf41847185D7bD) | | ArbitrumGoerli | [0x9F64932Be34D5D897C4253D17707b50921f372B6](https://nitro-devnet-explorer.arbitrum.io/address/0x9F64932Be34D5D897C4253D17707b50921f372B6) | [0xf67C575502fc1cE399a3e1895dDf41847185D7bD](https://nitro-devnet-explorer.arbitrum.io/address/0xf67C575502fc1cE399a3e1895dDf41847185D7bD) |
| AvalancheFuji | [0x9F64932Be34D5D897C4253D17707b50921f372B6](https://testnet.snowtrace.io/token/0x9F64932Be34D5D897C4253D17707b50921f372B6) | [0xf67C575502fc1cE399a3e1895dDf41847185D7bD](https://testnet.snowtrace.io/token/0xf67C575502fc1cE399a3e1895dDf41847185D7bD) |
## Technology stack ## Technology stack