Skip to content

Commit

Permalink
Merge pull request #634 from LedgerHQ/cev/B2CA-1777_networks
Browse files Browse the repository at this point in the history
B2CA-1777: Remove duplicates between network.c and chain makefile configs
  • Loading branch information
cedelavergne-ledger authored Sep 4, 2024
2 parents 21d6e31 + c08d53c commit 3b6642a
Show file tree
Hide file tree
Showing 73 changed files with 13 additions and 61 deletions.
Binary file removed icons/flex_app_chain_1030.gif
Binary file not shown.
Binary file removed icons/flex_app_chain_137.gif
Binary file not shown.
Binary file removed icons/flex_app_chain_1818.gif
Binary file not shown.
Binary file removed icons/flex_app_chain_199.gif
Binary file not shown.
Binary file removed icons/flex_app_chain_24.gif
Binary file not shown.
Binary file removed icons/flex_app_chain_51.gif
Binary file not shown.
Binary file removed icons/flex_app_chain_56.gif
Binary file not shown.
Binary file removed icons/flex_app_chain_62621.gif
Binary file not shown.
Binary file removed icons/flex_app_chain_66.gif
Binary file not shown.
Binary file removed icons/flex_app_chain_7341.gif
Binary file not shown.
Binary file removed icons/flex_app_chain_82.gif
Binary file not shown.
Binary file removed icons/flex_app_chain_99.gif
Binary file not shown.
Binary file removed icons/nanos_app_chain_1030.gif
Binary file not shown.
Binary file removed icons/nanos_app_chain_137.gif
Binary file not shown.
Binary file removed icons/nanos_app_chain_1818.gif
Binary file not shown.
Binary file removed icons/nanos_app_chain_199.gif
Binary file not shown.
Binary file removed icons/nanos_app_chain_24.gif
Binary file not shown.
Binary file removed icons/nanos_app_chain_51.gif
Binary file not shown.
Binary file removed icons/nanos_app_chain_56.gif
Binary file not shown.
Binary file removed icons/nanos_app_chain_62621.gif
Binary file not shown.
Binary file removed icons/nanos_app_chain_66.gif
Binary file not shown.
Binary file removed icons/nanos_app_chain_7341.gif
Binary file not shown.
Binary file removed icons/nanos_app_chain_82.gif
Binary file not shown.
Binary file removed icons/nanos_app_chain_99.gif
Binary file not shown.
Binary file removed icons/nanox_app_chain_1030.gif
Binary file not shown.
Binary file removed icons/nanox_app_chain_137.gif
Diff not rendered.
Binary file removed icons/nanox_app_chain_1818.gif
Diff not rendered.
Binary file removed icons/nanox_app_chain_199.gif
Diff not rendered.
Binary file removed icons/nanox_app_chain_24.gif
Diff not rendered.
Binary file removed icons/nanox_app_chain_51.gif
Diff not rendered.
Binary file removed icons/nanox_app_chain_56.gif
Diff not rendered.
Binary file removed icons/nanox_app_chain_62621.gif
Diff not rendered.
Binary file removed icons/nanox_app_chain_66.gif
Diff not rendered.
Binary file removed icons/nanox_app_chain_7341.gif
Diff not rendered.
Binary file removed icons/nanox_app_chain_82.gif
Diff not rendered.
Binary file removed icons/nanox_app_chain_99.gif
Diff not rendered.
Binary file removed icons/stax_app_chain_1030.gif
Diff not rendered.
Binary file removed icons/stax_app_chain_137.gif
Diff not rendered.
Binary file removed icons/stax_app_chain_1818.gif
Diff not rendered.
Binary file removed icons/stax_app_chain_199.gif
Diff not rendered.
Binary file removed icons/stax_app_chain_24.gif
Diff not rendered.
Binary file removed icons/stax_app_chain_51.gif
Diff not rendered.
Binary file removed icons/stax_app_chain_56.gif
Diff not rendered.
Binary file removed icons/stax_app_chain_62621.gif
Diff not rendered.
Binary file removed icons/stax_app_chain_66.gif
Diff not rendered.
Binary file removed icons/stax_app_chain_7341.gif
Diff not rendered.
Binary file removed icons/stax_app_chain_82.gif
Diff not rendered.
Binary file removed icons/stax_app_chain_99.gif
Diff not rendered.
4 changes: 0 additions & 4 deletions makefile_conf/chain/apothemnetwork.mk

This file was deleted.

2 changes: 1 addition & 1 deletion makefile_conf/chain/astar.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATH_APP_LOAD_PARAMS += "44'/810'" "44'/60'"
PATH_APP_LOAD_PARAMS += "44'/810'"
TICKER = "ASTR"
CHAIN_ID = 592
APPNAME = "Astar Polkadot EVM"
4 changes: 0 additions & 4 deletions makefile_conf/chain/bsc.mk

This file was deleted.

4 changes: 0 additions & 4 deletions makefile_conf/chain/bttc.mk

This file was deleted.

4 changes: 0 additions & 4 deletions makefile_conf/chain/conflux_espace.mk

This file was deleted.

4 changes: 0 additions & 4 deletions makefile_conf/chain/cube.mk

This file was deleted.

2 changes: 1 addition & 1 deletion makefile_conf/chain/energywebchain.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATH_APP_LOAD_PARAMS += "44'/246'" "44'/60'"
PATH_APP_LOAD_PARAMS += "44'/246'"
TICKER = "EWT"
CHAIN_ID = 246
APPNAME = "EnergyWebChain"
2 changes: 1 addition & 1 deletion makefile_conf/chain/ethereum_classic.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Also allows ETC to access the ETH derivation path to recover forked assets
PATH_APP_LOAD_PARAMS += "44'/61'" "44'/60'"
PATH_APP_LOAD_PARAMS += "44'/61'"
TICKER = "ETC"
CHAIN_ID = 61
APPNAME = "Ethereum Classic"
4 changes: 0 additions & 4 deletions makefile_conf/chain/kardiachain.mk

This file was deleted.

4 changes: 0 additions & 4 deletions makefile_conf/chain/meter.mk

This file was deleted.

2 changes: 1 addition & 1 deletion makefile_conf/chain/moonbeam.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATH_APP_LOAD_PARAMS += "44'/60'" "44'/1284'"
PATH_APP_LOAD_PARAMS += "44'/1284'"
TICKER = "GLMR"
CHAIN_ID = 1284
APPNAME = "Moonbeam"
2 changes: 1 addition & 1 deletion makefile_conf/chain/moonriver.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATH_APP_LOAD_PARAMS += "44'/60'" "44'/1285'"
PATH_APP_LOAD_PARAMS += "44'/1285'"
TICKER = "MOVR"
CHAIN_ID = 1285
APPNAME = "Moonriver"
4 changes: 0 additions & 4 deletions makefile_conf/chain/multivac.mk

This file was deleted.

2 changes: 1 addition & 1 deletion makefile_conf/chain/oasys.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATH_APP_LOAD_PARAMS += "44'/685'" "44'/60'"
PATH_APP_LOAD_PARAMS += "44'/685'"
TICKER = "OAS"
CHAIN_ID = 248
APPNAME = "Oasys"
4 changes: 0 additions & 4 deletions makefile_conf/chain/okc.mk

This file was deleted.

4 changes: 0 additions & 4 deletions makefile_conf/chain/poa.mk

This file was deleted.

4 changes: 0 additions & 4 deletions makefile_conf/chain/polygon.mk

This file was deleted.

2 changes: 1 addition & 1 deletion makefile_conf/chain/shiden.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATH_APP_LOAD_PARAMS += "44'/809'" "44'/60'"
PATH_APP_LOAD_PARAMS += "44'/809'"
TICKER = "SDN"
CHAIN_ID = 336
APPNAME = "Shiden EVM"
4 changes: 0 additions & 4 deletions makefile_conf/chain/shyft.mk

This file was deleted.

2 changes: 1 addition & 1 deletion makefile_conf/chain/songbird.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATH_APP_LOAD_PARAMS += "44'/554'" "44'/60'"
PATH_APP_LOAD_PARAMS += "44'/554'"
TICKER = "SGB"
CHAIN_ID = 19
APPNAME = "Songbird"
2 changes: 1 addition & 1 deletion makefile_conf/chain/tecracoin.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATH_APP_LOAD_PARAMS += "44'/554'" "44'/60'"
PATH_APP_LOAD_PARAMS += "44'/554'"
TICKER = "TCR"
CHAIN_ID = 20531812
APPNAME = "TecraCoin"
2 changes: 1 addition & 1 deletion makefile_conf/chain/tecratestnet.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATH_APP_LOAD_PARAMS += "44'/554'" "44'/60'"
PATH_APP_LOAD_PARAMS += "44'/554'"
TICKER = "TCR"
CHAIN_ID = 20531811
APPNAME = "TecraTestnet"
2 changes: 1 addition & 1 deletion makefile_conf/chain/volta.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATH_APP_LOAD_PARAMS += "44'/73799'" "44'/60'"
PATH_APP_LOAD_PARAMS += "44'/73799'"
TICKER = "VOLTA"
CHAIN_ID = 73799
APPNAME = "Volta"
2 changes: 1 addition & 1 deletion makefile_conf/chain/xdcnetwork.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATH_APP_LOAD_PARAMS += "44'/60'" "44'/550'"
PATH_APP_LOAD_PARAMS += "44'/550'"
TICKER = "XDC"
CHAIN_ID = 50
APPNAME = "XDC Network"
2 changes: 1 addition & 1 deletion src/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static const network_info_t NETWORK_MAPPING[] = {
{.chain_id = 40, .name = "Telos EVM Mainnet", .ticker = "TLOS"},
{.chain_id = 42, .name = "LUKSO", .ticker = "LYX"},
{.chain_id = 50, .name = "XDC", .ticker = "XDC"},
{.chain_id = 51, .name = "Apothemnetwork", .ticker = "XDC"},
{.chain_id = 51, .name = "Apothemnetwork", .ticker = "TXDC"},
{.chain_id = 56, .name = "BSC", .ticker = "BNB"},
{.chain_id = 57, .name = "Syscoin", .ticker = "SYS"},
{.chain_id = 61, .name = "Ethereum Classic", .ticker = "ETC"},
Expand Down

0 comments on commit 3b6642a

Please sign in to comment.