EGEM trezor support (#104)

pull/41/head
Derek May 6 years ago committed by Pavol Rusnak
parent 039263589f
commit 093696d00f

@ -65,6 +65,19 @@
"t2_enabled": "yes",
"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": {
"links": {
"Homepage": "https://www.stellar.org"
@ -8144,4 +8157,4 @@
"updated_at": 1523468285,
"updated_at_readable": "Wed Apr 11 19:38:05 2018"
}
}
}

@ -188,6 +188,14 @@ def update_ethereum(details):
set_default(out, 't1_enabled', 'yes')
set_default(out, 't2_enabled', 'yes')
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):
r = requests.get('https://raw.githubusercontent.com/trezor/trezor-mcu/master/firmware/nem_mosaics.json')

Loading…
Cancel
Save