Add real network names

This commit is contained in:
Ivan Yaremenchuk 2022-08-19 22:15:55 -05:00
parent aa99fbbe57
commit edd369e9fb
2 changed files with 19 additions and 19 deletions

View File

@ -5,6 +5,7 @@ public class NetworkModel
public string Name { get; set; }
public ulong ChainId { get; set; }
public string Currency { get; set; }
public string ImageName { get; set; }
public bool IsSupported { get; set; }
public bool IsTestnet { get; set; }
}

View File

@ -38,22 +38,16 @@ namespace NftFaucetRadzen.Pages
Name = "Ethereum Mainnet",
ChainId = 1,
Currency = "ETH",
ImageName = "ethereum.svg",
IsSupported = false,
IsTestnet = false,
},
new NetworkModel
{
Name = "Rinkeby",
ChainId = 4,
Currency = "ETH",
IsSupported = true,
IsTestnet = true,
},
new NetworkModel
{
Name = "Ropsten",
ChainId = 3,
Currency = "ETH",
ImageName = "ethereum.svg",
IsSupported = true,
IsTestnet = true,
},
@ -62,39 +56,44 @@ namespace NftFaucetRadzen.Pages
Name = "Rinkeby",
ChainId = 4,
Currency = "ETH",
ImageName = "ethereum.svg",
IsSupported = true,
IsTestnet = true,
},
new NetworkModel
{
Name = "Ropsten",
ChainId = 3,
Name = "Goerli",
ChainId = 5,
Currency = "ETH",
ImageName = "ethereum.svg",
IsSupported = true,
IsTestnet = true,
},
new NetworkModel
{
Name = "Rinkeby",
ChainId = 4,
Name = "Kovan",
ChainId = 42,
Currency = "ETH",
ImageName = "ethereum.svg",
IsSupported = true,
IsTestnet = true,
},
new NetworkModel
{
Name = "Ropsten",
ChainId = 3,
Name = "Kiln",
ChainId = 1337802,
Currency = "ETH",
IsSupported = true,
ImageName = "ethereum.svg",
IsSupported = false,
IsTestnet = true,
},
new NetworkModel
{
Name = "Rinkeby",
ChainId = 4,
Currency = "ETH",
IsSupported = true,
Name = "Sepolia",
ChainId = 11155111,
Currency = "SEP",
ImageName = "ethereum.svg",
IsSupported = false,
IsTestnet = true,
},
};