1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00

Add EOS Classic network support (#119)

As per https://github.com/satoshilabs/slips/pull/279
This commit is contained in:
EOS Classic 2018-06-06 17:16:51 +09:00 committed by Pavol Rusnak
parent 6d87bdcd57
commit 239ee399c0
3 changed files with 28 additions and 0 deletions

View File

@ -65,6 +65,19 @@
"t2_enabled": "yes",
"type": "coin"
},
"coin2:EOSC": {
"links": {
"Homepage": "https://eos-classic.io",
"MyCrypto Wallet": "https://mycrypto.com",
"MyEtherWallet": "https://www.myetherwallet.com"
},
"marketcap_usd": 0,
"name": "EOS Classic",
"shortcut": "EOSC",
"t1_enabled": "yes",
"t2_enabled": "yes",
"type": "coin"
},
"coin2:LSK": {
"links": {
"Homepage": "https://lisk.io/"

View File

@ -235,6 +235,14 @@ def update_ethereum(details):
set_default(out, 't2_enabled', 'yes')
update_marketcap(out, 'etsc')
ut = details['coins'].setdefault('coin2:EOSC', {})
out['type'] = 'coin'
set_default(out, 'shortcut', 'EOSC')
set_default(out, 'name', 'EOS Classic')
set_default(out, 't1_enabled', 'yes')
set_default(out, 't2_enabled', 'yes')
update_marketcap(out, 'eosc')
def update_mosaics(details):
d = json.load(open('defs/nem/nem_mosaics.json'))
supported = []

View File

@ -96,5 +96,12 @@
"shortcut": "EGEM",
"name": "EtherGem",
"url": "https://egem.io"
},
{
"chain_id": 2018,
"slip44": 2018,
"shortcut": "EOSC",
"name": "EOS Classic",
"url": "https://eos-classic.io"
}
]