Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Electroneum Mainnet/Testnet to supported networks #550

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file added glyphs/stax_chain_5201420_64px.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added glyphs/stax_chain_52014_64px.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ static const network_info_t NETWORK_MAPPING[] = {
{.chain_id = 59144, .name = "Linea", .ticker = "ETH"},
{.chain_id = 11155111, .name = "Sepolia", .ticker = "ETH"},
{.chain_id = 17000, .name = "Holesky", .ticker = "ETH"},
{.chain_id = 52014, .name = "Electroneum", .ticker = "ETN"},
{.chain_id = 5201420, .name = "Electroneum Testnet", .ticker = "ETN"},
};

static const network_info_t *get_network_from_chain_id(const uint64_t *chain_id) {
Expand Down