Skip to content

Commit

Permalink
Merge pull request #442 from vforgeoux-ledger/develop
Browse files Browse the repository at this point in the history
Update networks
  • Loading branch information
apaillier-ledger authored Jul 18, 2023
2 parents 3a1604d + 6491054 commit f53bab2
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src_common/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ static const network_info_t NETWORK_MAPPING[] = {
{.chain_id = 4, .name = "Rinkeby", .ticker = "ETH"},
{.chain_id = 5, .name = "Goerli", .ticker = "ETH"},
{.chain_id = 10, .name = "Optimism", .ticker = "ETH"},
{.chain_id = 42, .name = "Kovan", .ticker = "ETH"},
{.chain_id = 42, .name = "LUKSO", .ticker = "LYX"},
{.chain_id = 4201, .name = "LUKSO Testnet", .ticker = "LYXt"},
{.chain_id = 56, .name = "BSC", .ticker = "BNB"},
{.chain_id = 100, .name = "xDai", .ticker = "xDAI"},
{.chain_id = 100, .name = "Gnosis", .ticker = "xDAI"},
{.chain_id = 10200, .name = "Chiado", .ticker = "xDAI"},
{.chain_id = 137, .name = "Polygon", .ticker = "MATIC"},
{.chain_id = 250, .name = "Fantom", .ticker = "FTM"},
{.chain_id = 42161, .name = "Arbitrum", .ticker = "ETH"},
Expand Down Expand Up @@ -64,7 +66,14 @@ static const network_info_t NETWORK_MAPPING[] = {
{.chain_id = 106, .name = "Velas EVM", .ticker = "VLX"},
{.chain_id = 288, .name = "Boba Network", .ticker = "ETH"},
{.chain_id = 39797, .name = "Energi", .ticker = "NRG"},
{.chain_id = 248, .name = "Oasys", .ticker = "OAS"}};
{.chain_id = 369, .name = "PulseChain", .ticker = "PLS"},
{.chain_id = 245022926, .name = "Neon EVM Devnet", .ticker = "NEON"},
{.chain_id = 245022934, .name = "Neon EVM Mainnet", .ticker = "NEON"},
{.chain_id = 4919, .name = "Venidium", .ticker = "XVM"},
{.chain_id = 40, .name = "Telos EVM Mainnet", .ticker = "TLOS"},
{.chain_id = 196, .name = "OKBChain Mainnet", .ticker = "OKB"},
{.chain_id = 248, .name = "Oasys", .ticker = "OAS"},
};

static const network_info_t *get_network_from_chain_id(const uint64_t *chain_id) {
for (size_t i = 0; i < ARRAYLEN(NETWORK_MAPPING); i++) {
Expand Down

0 comments on commit f53bab2

Please sign in to comment.