Add Celo mainnet and long-running testnets

This commit is contained in:
kobigurk-clabs
2021-08-28 21:49:32 +03:00
committed by GitHub
parent 832c7de51e
commit 913346b9a8

View File

@@ -19,7 +19,10 @@ const network_info_t NETWORK_MAPPING[] = {
{.chain_id = 100, .name = "xDai", .ticker = "xDAI "},
{.chain_id = 137, .name = "Polygon", .ticker = "MATIC "},
{.chain_id = 250, .name = "Fantom", .ticker = "FTM "},
{.chain_id = 43114, .name = "Avalanche", .ticker = "AVAX "}};
{.chain_id = 42220, .name = "Celo", .ticker = "CELO "},
{.chain_id = 43114, .name = "Avalanche", .ticker = "AVAX "}},
{.chain_id = 44787, .name = "Celo Alfajores", .ticker = "aCELO "},
{.chain_id = 62320, .name = "Celo Baklava", .ticker = "bCELO "};
uint32_t get_chain_id(void) {
uint32_t chain_id = 0;