diff --git a/.gitmodules b/.gitmodules index d09ce724..c86d9d95 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "lib-app-bitcoin"] path = lib-app-bitcoin - url = git@github.com:LedgerHQ/lib-app-bitcoin.git + url = git@github.com:Fabcien/lib-app-bitcoin.git diff --git a/Makefile b/Makefile index 71deb0da..764f1933 100644 --- a/Makefile +++ b/Makefile @@ -22,12 +22,12 @@ # Application version APPVERSION_M = 2 APPVERSION_N = 4 -APPVERSION_P = 6 +APPVERSION_P = 7 APPDEVELOPPER="Ledger" APPCOPYRIGHT="(c) 2024 Ledger" -VARIANT_VALUES = bitcoin_testnet_legacy bitcoin_legacy bitcoin_cash bitcoin_gold litecoin dogecoin dash horizen komodo stratis peercoin pivx viacoin vertcoin digibyte bitcoin_private firo gamecredits zclassic nix lbry ravencoin hydra hydra_testnet xrhodium +VARIANT_VALUES = bitcoin_testnet_legacy bitcoin_legacy bitcoin_cash bitcoin_gold litecoin dogecoin dash horizen komodo stratis peercoin pivx viacoin vertcoin digibyte bitcoin_private firo gamecredits zclassic nix lbry ravencoin hydra hydra_testnet xrhodium ecash # Application source files # There is no additional sources for bitcoin @@ -426,6 +426,21 @@ COIN_FLAGS=FLAG_SEGWIT_CHANGE_SUPPORT APPNAME ="Hydra" APP_LOAD_PARAMS += --path "44'/609'" +else ifeq ($(COIN),ecash) +# eCash +# Fork from Bitcoin Cash +BIP44_COIN_TYPE=899 +BIP44_COIN_TYPE_2=0 +COIN_P2PKH_VERSION=0 +COIN_P2SH_VERSION=5 +COIN_FAMILY=1 +COIN_COINID=\"eCash\" +COIN_COINID_NAME="eCash" +COIN_COINID_SHORT=\"XEC\" +COIN_KIND=COIN_KIND_ECASH +COIN_FORKID=0 +APPNAME ="eCash" + else ifeq ($(filter clean,$(MAKECMDGOALS)),) $(error Unsupported COIN - use $(VARIANT_VALUES)) endif diff --git a/glyphs/ecash_64px.gif b/glyphs/ecash_64px.gif new file mode 100644 index 00000000..e3eda7df Binary files /dev/null and b/glyphs/ecash_64px.gif differ diff --git a/glyphs/nanos_badge_ecash.gif b/glyphs/nanos_badge_ecash.gif new file mode 100644 index 00000000..7c3692ab Binary files /dev/null and b/glyphs/nanos_badge_ecash.gif differ diff --git a/icons/ecash.png b/icons/ecash.png new file mode 100644 index 00000000..510c26dd Binary files /dev/null and b/icons/ecash.png differ diff --git a/icons/nanos_app_ecash.gif b/icons/nanos_app_ecash.gif new file mode 100644 index 00000000..f31de7ea Binary files /dev/null and b/icons/nanos_app_ecash.gif differ diff --git a/icons/nanox_app_ecash.gif b/icons/nanox_app_ecash.gif new file mode 100644 index 00000000..0a20590a Binary files /dev/null and b/icons/nanox_app_ecash.gif differ diff --git a/icons/stax_app_ecash.gif b/icons/stax_app_ecash.gif new file mode 100644 index 00000000..3ee37075 Binary files /dev/null and b/icons/stax_app_ecash.gif differ diff --git a/lib-app-bitcoin b/lib-app-bitcoin index 4d80fc4a..b4d7b31c 160000 --- a/lib-app-bitcoin +++ b/lib-app-bitcoin @@ -1 +1 @@ -Subproject commit 4d80fc4a252d6b26adee6ab505dd2ce3fec741ea +Subproject commit b4d7b31c9c4001825240d918ccc057a4c2c2d8db