Add support for REOSC Ecosystem
homepage : https://www.reosc.io block explorer : https://explorer.reosc.io network statistics : https://stats.reosc.io slip0044 index : 2894 chain ID : 2894
This commit is contained in:
committed by
GitHub
parent
3fc6df5c07
commit
16dec940c9
8
Makefile
8
Makefile
@@ -117,9 +117,13 @@ else ifeq ($(CHAIN),mix)
|
||||
APP_LOAD_PARAMS += --path "44'/76'"
|
||||
DEFINES += CHAINID_UPCASE=\"MIX\" CHAINID_COINNAME=\"MIX\" CHAIN_KIND=CHAIN_KIND_MIX CHAIN_ID=76
|
||||
APPNAME = "Mix"
|
||||
else ifeq ($(CHAIN),reosc)
|
||||
APP_LOAD_PARAMS += --path "44'/2894'"
|
||||
DEFINES += CHAINID_UPCASE=\"REOSC\" CHAINID_COINNAME=\"REOSC\" CHAIN_KIND=CHAIN_KIND_REOSC CHAIN_ID=2894
|
||||
APPNAME = "REOSC"
|
||||
else
|
||||
ifeq ($(filter clean,$(MAKECMDGOALS)),)
|
||||
$(error Unsupported CHAIN - use ethereum, ethereum_classic, expanse, poa, rsk, rsk_testnet, ubiq, wanchain, kusd, musicoin, pirl, akroma, atheios, callisto, ethersocial, ellaism, ether1, ethergem, gochain, mix)
|
||||
$(error Unsupported CHAIN - use ethereum, ethereum_classic, expanse, poa, rsk, rsk_testnet, ubiq, wanchain, kusd, musicoin, pirl, akroma, atheios, callisto, ethersocial, ellaism, ether1, ethergem, gochain, mix, reosc)
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -211,4 +215,4 @@ include $(BOLOS_SDK)/Makefile.rules
|
||||
dep/%.d: %.c Makefile
|
||||
|
||||
listvariants:
|
||||
@echo VARIANTS CHAIN ethereum ethereum_classic expanse poa rsk rsk_testnet ubiq wanchain kusd pirl akroma atheios callisto ethersocial ether1 gochain musicoin ethergem mix ellaism
|
||||
@echo VARIANTS CHAIN ethereum ethereum_classic expanse poa rsk rsk_testnet ubiq wanchain kusd pirl akroma atheios callisto ethersocial ether1 gochain musicoin ethergem mix ellaism reosc
|
||||
|
||||
BIN
blue_app_reosc.gif
Normal file
BIN
blue_app_reosc.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 405 B |
BIN
glyphs/blue_badge_reosc.gif
Normal file
BIN
glyphs/blue_badge_reosc.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 347 B |
BIN
glyphs/nanos_badge_reosc.gif
Normal file
BIN
glyphs/nanos_badge_reosc.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
nanos_app_reosc.gif
Normal file
BIN
nanos_app_reosc.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@@ -23,7 +23,8 @@ typedef enum chain_kind_e {
|
||||
CHAIN_KIND_ETHERGEM,
|
||||
CHAIN_KIND_ATHEIOS,
|
||||
CHAIN_KIND_GOCHAIN,
|
||||
CHAIN_KIND_MIX
|
||||
CHAIN_KIND_MIX,
|
||||
CHAIN_KIND_REOSC
|
||||
} chain_kind_t;
|
||||
|
||||
typedef struct chain_config_s {
|
||||
|
||||
@@ -1517,6 +1517,9 @@ tokenDefinition_t* getKnownToken() {
|
||||
case CHAIN_KIND_MIX:
|
||||
numTokens = NUM_TOKENS_MIX;
|
||||
break;
|
||||
case CHAIN_KIND_REOSC:
|
||||
numTokens = NUM_TOKENS_REOSC;
|
||||
break;
|
||||
}
|
||||
for (i=0; i<numTokens; i++) {
|
||||
switch(chainConfig->kind) {
|
||||
@@ -1577,6 +1580,9 @@ tokenDefinition_t* getKnownToken() {
|
||||
case CHAIN_KIND_MIX:
|
||||
currentToken = PIC(&TOKENS_MIX[i]);
|
||||
break;
|
||||
case CHAIN_KIND_REOSC:
|
||||
currentToken = PIC(&TOKENS_REOSC[i]);
|
||||
break;
|
||||
}
|
||||
if (os_memcmp(currentToken->address, tmpContent.txContent.destination, 20) == 0) {
|
||||
return currentToken;
|
||||
|
||||
@@ -1171,3 +1171,5 @@ const tokenDefinition_t const TOKENS_ATHEIOS[NUM_TOKENS_ATHEIOS] = {};
|
||||
const tokenDefinition_t const TOKENS_GOCHAIN[NUM_TOKENS_GOCHAIN] = {};
|
||||
|
||||
const tokenDefinition_t const TOKENS_MIX[NUM_TOKENS_MIX] = {};
|
||||
|
||||
const tokenDefinition_t const TOKENS_REOSC[NUM_TOKENS_REOSC] = {};
|
||||
|
||||
@@ -42,6 +42,7 @@ typedef struct tokenDefinition_t {
|
||||
#define NUM_TOKENS_ATHEIOS 0
|
||||
#define NUM_TOKENS_GOCHAIN 0
|
||||
#define NUM_TOKENS_MIX 0
|
||||
#define NUM_TOKENS_REOSC 0
|
||||
|
||||
extern tokenDefinition_t const TOKENS_AKROMA[NUM_TOKENS_AKROMA];
|
||||
extern tokenDefinition_t const TOKENS_ELLAISM[NUM_TOKENS_ELLAISM];
|
||||
@@ -62,3 +63,4 @@ extern tokenDefinition_t const TOKENS_ETHERGEM[NUM_TOKENS_ETHERGEM];
|
||||
extern tokenDefinition_t const TOKENS_ATHEIOS[NUM_TOKENS_ATHEIOS];
|
||||
extern tokenDefinition_t const TOKENS_GOCHAIN[NUM_TOKENS_GOCHAIN];
|
||||
extern tokenDefinition_t const TOKENS_MIX[NUM_TOKENS_MIX];
|
||||
extern tokenDefinition_t const TOKENS_REOSC[NUM_TOKENS_REOSC];
|
||||
|
||||
Reference in New Issue
Block a user