Merge pull request #442 from vforgeoux-ledger/develop

Update networks
This commit is contained in:
apaillier-ledger
2023-07-18 17:47:38 +02:00
committed by GitHub

View File

@@ -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"},
@@ -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++) {