diff --git a/coins_details.json b/coins_details.json index f707395317..29bb6f8f9c 100644 --- a/coins_details.json +++ b/coins_details.json @@ -78,6 +78,19 @@ "t2_enabled": "yes", "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": { "links": { "Homepage": "https://www.stellar.org" diff --git a/coins_details.py b/coins_details.py index de2f1614fc..b7c184f7e2 100755 --- a/coins_details.py +++ b/coins_details.py @@ -43,7 +43,7 @@ def update_info(details): details['info']['updated_at_readable'] = time.asctime() details['info']['t1_coins'] = len([True for _, c in details['coins'].items() if c['t1_enabled'] == 'yes']) details['info']['t2_coins'] = len([True for _, c in details['coins'].items() if c['t2_enabled'] == 'yes']) - + try: details['info']['total_marketcap_usd'] = int(coinmarketcap_global()['total_market_cap_usd']) except: @@ -188,7 +188,7 @@ 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') @@ -197,6 +197,14 @@ def update_ethereum(details): set_default(out, 't2_enabled', 'yes') 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): r = requests.get('https://raw.githubusercontent.com/trezor/trezor-mcu/master/firmware/nem_mosaics.json') supported = []