Add support for EOS Classic (EOSC)

EIP-155 is now properly working with EOS-Classic!! Tested personally on the Ledger Nano S

homepage : https://eos-classic.io
block explorer : https://explorer.eos-classic.io
network statistics : https://stats.eos-classic.io
slip0044 index : 2018
chainId : 20

Proof of EIP-155 in genesis block:
https://github.com/eosclassic/eosclassic/blob/master/params/config.go#L63

cc: @eosclassic
This commit is contained in:
Michael Ira Krufky
2018-08-26 00:10:49 -04:00
committed by GitHub
parent a6fc547fc9
commit 0a5359afa5
10 changed files with 18 additions and 3 deletions

View File

@@ -110,9 +110,13 @@ else ifeq ($(CHAIN),atheios)
APP_LOAD_PARAMS += --path "44'/1620'"
DEFINES += CHAINID_UPCASE=\"ATHEIOS\" CHAINID_COINNAME=\"ATH\" CHAIN_KIND=CHAIN_KIND_ATHEIOS CHAIN_ID=1620
APPNAME = "Atheios"
else ifeq ($(CHAIN),eosclassic)
APP_LOAD_PARAMS += --path "44'/2018'"
DEFINES += CHAINID_UPCASE=\"EOSCLASSIC\" CHAINID_COINNAME=\"EOSC\" CHAIN_KIND=CHAIN_KIND_EOSCLASSIC CHAIN_ID=20
APPNAME = "EOSClassic"
else
ifeq ($(filter clean,$(MAKECMDGOALS)),)
$(error Unsupported CHAIN - use ethereum, ethereum_classic, expanse, poa, rsk, rsk_testnet, ubiq, wanchain, kusd, musicoin, callisto, ethersocial, ellaism, pirl, akroma, ether1, ethergem)
$(error Unsupported CHAIN - use ethereum, ethereum_classic, expanse, poa, rsk, rsk_testnet, ubiq, wanchain, kusd, musicoin, callisto, ethersocial, ellaism, pirl, akroma, ether1, ethergem, atheios, eosclassic)
endif
endif
@@ -204,4 +208,4 @@ include $(BOLOS_SDK)/Makefile.rules
dep/%.d: %.c Makefile.genericwallet
listvariants:
@echo VARIANTS CHAIN ethereum ethereum_classic expanse poa rsk rsk_testnet ubiq wanchain kusd #musicoin callisto ethersocial ellaism pirl akroma ether1 ethergem
@echo VARIANTS CHAIN ethereum ethereum_classic expanse poa rsk rsk_testnet ubiq wanchain kusd #musicoin callisto ethersocial ellaism pirl akroma ether1 ethergem atheios eosclassic