New legacy app that retains support for the internal Starkware plugin that has been dropped from the main app in the newer versions

This commit is contained in:
Alexandre Paillier
2024-02-27 14:17:55 +01:00
parent 5de8726e56
commit 01328a794b
5 changed files with 18 additions and 2 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ APP_LOAD_FLAGS= --appFlags 0xa40 --dep Ethereum:$(APPVERSION)
###########################
ifeq ($(CHAIN),)
CHAIN=ethereum
CHAIN=eth_starkex
endif
SUPPORTED_CHAINS=$(shell find makefile_conf/chain/ -type f -name '*.mk'| sed 's/.*\/\(.*\).mk/\1/g' | sort)
@@ -286,4 +286,4 @@ include $(BOLOS_SDK)/Makefile.rules
dep/%.d: %.c Makefile
listvariants:
@echo VARIANTS CHAIN $(SUPPORTED_CHAINS)
@echo VARIANTS CHAIN $(CHAIN)
+1
View File
@@ -0,0 +1 @@
nanos_app_ethereum.gif
+1
View File
@@ -0,0 +1 @@
nanox_app_ethereum.gif
+1
View File
@@ -0,0 +1 @@
stax_app_ethereum.gif
+13
View File
@@ -0,0 +1,13 @@
# Lock the application on its standard path for 1.5. Please complain if non compliant
APP_LOAD_PARAMS += --path "44'/60'"
DEFINES += CHAINID_UPCASE=\"ETHEREUM\" CHAINID_COINNAME=\"ETH\" CHAIN_KIND=CHAIN_KIND_ETHEREUM CHAIN_ID=1
# Starkware integration
APP_LOAD_PARAMS += --path "2645'/579218131'"
DEFINES += HAVE_STARKWARE
DEFINES += STARK_BIP32_PATH_0=0x80000A55 STARK_BIP32_PATH_1=0xA2862AD3
# Allow to derive ETH 2 public keys
APP_LOAD_PARAMS += --path "12381/3600" --curve bls12381g1
DEFINES += HAVE_ETH2
APPNAME = "Ethereum StarkEx"
DEFINES_LIB=
APP_LOAD_FLAGS=--appFlags 0xa40