mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
Add ETSC support (#106)
This commit is contained in:
parent
b91db285ba
commit
e78e33c8c6
@ -78,6 +78,19 @@
|
|||||||
"t2_enabled": "yes",
|
"t2_enabled": "yes",
|
||||||
"type": "coin"
|
"type": "coin"
|
||||||
},
|
},
|
||||||
|
"coin2:ETSC": {
|
||||||
|
"links": {
|
||||||
|
"Homepage": "https://ethereumsocial.kr",
|
||||||
|
"MyCrypto Wallet": "https://mycrypto.com",
|
||||||
|
"MyEtherWallet": "https://www.myetherwallet.com"
|
||||||
|
},
|
||||||
|
"marketcap_usd": 0,
|
||||||
|
"name": "EthereumSocial",
|
||||||
|
"shortcut": "ETSC",
|
||||||
|
"t1_enabled": "yes",
|
||||||
|
"t2_enabled": "yes",
|
||||||
|
"type": "coin"
|
||||||
|
},
|
||||||
"coin2:XLM": {
|
"coin2:XLM": {
|
||||||
"links": {
|
"links": {
|
||||||
"Homepage": "https://www.stellar.org"
|
"Homepage": "https://www.stellar.org"
|
||||||
|
@ -197,6 +197,14 @@ def update_ethereum(details):
|
|||||||
set_default(out, 't2_enabled', 'yes')
|
set_default(out, 't2_enabled', 'yes')
|
||||||
update_marketcap(out, 'egem')
|
update_marketcap(out, 'egem')
|
||||||
|
|
||||||
|
out = details['coins'].setdefault('coin2:ETSC', {})
|
||||||
|
out['type'] = 'coin'
|
||||||
|
set_default(out, 'shortcut', 'ETSC')
|
||||||
|
set_default(out, 'name', 'EthereumSocial')
|
||||||
|
set_default(out, 't1_enabled', 'yes')
|
||||||
|
set_default(out, 't2_enabled', 'yes')
|
||||||
|
update_marketcap(out, 'etsc')
|
||||||
|
|
||||||
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 = []
|
||||||
|
Loading…
Reference in New Issue
Block a user