Skip to content

Commit

Permalink
Add Electroneum Mainnet/Testnet to supported networks
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepatta committed Mar 14, 2024
1 parent b6e45bf commit 7e16c29
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 0 deletions.
Binary file added glyphs/stax_chain_5201420_64px.gif
Loading
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/nanos_app_chain_52014.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/nanos_app_chain_5201420.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/nanox_app_chain_52014.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/nanox_app_chain_5201420.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/stax_app_chain_52014.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/stax_app_chain_5201420.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions makefile_conf/chain/electroneum.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
APP_LOAD_PARAMS += --path "44'/60'"
TICKER = "ETN"
CHAIN_ID = 52014
APPNAME = "Electroneum"
4 changes: 4 additions & 0 deletions makefile_conf/chain/electroneum_testnet.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
APP_LOAD_PARAMS += --path "44'/60'"
TICKER = "ETN"
CHAIN_ID = 5201420
APPNAME = "Electroneum Test"
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

0 comments on commit 7e16c29

Please sign in to comment.