1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

EGEM trezor support (#104)

This commit is contained in:
Derek May 2018-05-09 04:53:55 -07:00 committed by Pavol Rusnak
parent 039263589f
commit 093696d00f
2 changed files with 22 additions and 1 deletions

View File

@ -65,6 +65,19 @@
"t2_enabled": "yes", "t2_enabled": "yes",
"type": "coin" "type": "coin"
}, },
"coin2:EGEM": {
"links": {
"Homepage": "https://egem.io",
"MyCrypto Wallet": "https://mycrypto.com",
"MyEtherWallet": "https://www.myetherwallet.com"
},
"marketcap_usd": 0,
"name": "EtherGem",
"shortcut": "EGEM",
"t1_enabled": "yes",
"t2_enabled": "yes",
"type": "coin"
},
"coin2:XLM": { "coin2:XLM": {
"links": { "links": {
"Homepage": "https://www.stellar.org" "Homepage": "https://www.stellar.org"

View File

@ -189,6 +189,14 @@ def update_ethereum(details):
set_default(out, 't2_enabled', 'yes') set_default(out, 't2_enabled', 'yes')
update_marketcap(out, 'ubiq') update_marketcap(out, 'ubiq')
out = details['coins'].setdefault('coin2:EGEM', {})
out['type'] = 'coin'
set_default(out, 'shortcut', 'EGEM')
set_default(out, 'name', 'EtherGem')
set_default(out, 't1_enabled', 'yes')
set_default(out, 't2_enabled', 'yes')
update_marketcap(out, 'egem')
def update_mosaics(details): def update_mosaics(details):
r = requests.get('https://raw.githubusercontent.com/trezor/trezor-mcu/master/firmware/nem_mosaics.json') r = requests.get('https://raw.githubusercontent.com/trezor/trezor-mcu/master/firmware/nem_mosaics.json')
supported = [] supported = []