diff --git a/defs/coins/bcash.json b/defs/bitcoin/bcash.json similarity index 100% rename from defs/coins/bcash.json rename to defs/bitcoin/bcash.json diff --git a/defs/coins/bcash.png b/defs/bitcoin/bcash.png similarity index 100% rename from defs/coins/bcash.png rename to defs/bitcoin/bcash.png diff --git a/defs/coins/bcash_testnet.json b/defs/bitcoin/bcash_testnet.json similarity index 100% rename from defs/coins/bcash_testnet.json rename to defs/bitcoin/bcash_testnet.json diff --git a/defs/coins/bcash_testnet.png b/defs/bitcoin/bcash_testnet.png similarity index 100% rename from defs/coins/bcash_testnet.png rename to defs/bitcoin/bcash_testnet.png diff --git a/defs/coins/bgold.json b/defs/bitcoin/bgold.json similarity index 100% rename from defs/coins/bgold.json rename to defs/bitcoin/bgold.json diff --git a/defs/coins/bgold.png b/defs/bitcoin/bgold.png similarity index 100% rename from defs/coins/bgold.png rename to defs/bitcoin/bgold.png diff --git a/defs/coins/bgold_testnet.json b/defs/bitcoin/bgold_testnet.json similarity index 100% rename from defs/coins/bgold_testnet.json rename to defs/bitcoin/bgold_testnet.json diff --git a/defs/coins/bgold_testnet.png b/defs/bitcoin/bgold_testnet.png similarity index 100% rename from defs/coins/bgold_testnet.png rename to defs/bitcoin/bgold_testnet.png diff --git a/defs/coins/bitcoin.json b/defs/bitcoin/bitcoin.json similarity index 100% rename from defs/coins/bitcoin.json rename to defs/bitcoin/bitcoin.json diff --git a/defs/coins/bitcoin.png b/defs/bitcoin/bitcoin.png similarity index 100% rename from defs/coins/bitcoin.png rename to defs/bitcoin/bitcoin.png diff --git a/defs/coins/bitcoin_testnet.json b/defs/bitcoin/bitcoin_testnet.json similarity index 100% rename from defs/coins/bitcoin_testnet.json rename to defs/bitcoin/bitcoin_testnet.json diff --git a/defs/coins/bitcoin_testnet.png b/defs/bitcoin/bitcoin_testnet.png similarity index 100% rename from defs/coins/bitcoin_testnet.png rename to defs/bitcoin/bitcoin_testnet.png diff --git a/defs/coins/bitcore.json b/defs/bitcoin/bitcore.json similarity index 100% rename from defs/coins/bitcore.json rename to defs/bitcoin/bitcore.json diff --git a/defs/coins/bitcore.png b/defs/bitcoin/bitcore.png similarity index 100% rename from defs/coins/bitcore.png rename to defs/bitcoin/bitcore.png diff --git a/defs/coins/bprivate.json b/defs/bitcoin/bprivate.json similarity index 100% rename from defs/coins/bprivate.json rename to defs/bitcoin/bprivate.json diff --git a/defs/coins/bprivate.png b/defs/bitcoin/bprivate.png similarity index 100% rename from defs/coins/bprivate.png rename to defs/bitcoin/bprivate.png diff --git a/defs/coins/crown.json b/defs/bitcoin/crown.json similarity index 100% rename from defs/coins/crown.json rename to defs/bitcoin/crown.json diff --git a/defs/coins/crown.png b/defs/bitcoin/crown.png similarity index 100% rename from defs/coins/crown.png rename to defs/bitcoin/crown.png diff --git a/defs/coins/dash.json b/defs/bitcoin/dash.json similarity index 100% rename from defs/coins/dash.json rename to defs/bitcoin/dash.json diff --git a/defs/coins/dash.png b/defs/bitcoin/dash.png similarity index 100% rename from defs/coins/dash.png rename to defs/bitcoin/dash.png diff --git a/defs/coins/dash_testnet.json b/defs/bitcoin/dash_testnet.json similarity index 100% rename from defs/coins/dash_testnet.json rename to defs/bitcoin/dash_testnet.json diff --git a/defs/coins/dash_testnet.png b/defs/bitcoin/dash_testnet.png similarity index 100% rename from defs/coins/dash_testnet.png rename to defs/bitcoin/dash_testnet.png diff --git a/defs/coins/decred.json b/defs/bitcoin/decred.json similarity index 100% rename from defs/coins/decred.json rename to defs/bitcoin/decred.json diff --git a/defs/coins/decred.png b/defs/bitcoin/decred.png similarity index 100% rename from defs/coins/decred.png rename to defs/bitcoin/decred.png diff --git a/defs/coins/decred_testnet.json b/defs/bitcoin/decred_testnet.json similarity index 100% rename from defs/coins/decred_testnet.json rename to defs/bitcoin/decred_testnet.json diff --git a/defs/coins/decred_testnet.png b/defs/bitcoin/decred_testnet.png similarity index 100% rename from defs/coins/decred_testnet.png rename to defs/bitcoin/decred_testnet.png diff --git a/defs/coins/denarius.json b/defs/bitcoin/denarius.json similarity index 100% rename from defs/coins/denarius.json rename to defs/bitcoin/denarius.json diff --git a/defs/coins/denarius.png b/defs/bitcoin/denarius.png similarity index 100% rename from defs/coins/denarius.png rename to defs/bitcoin/denarius.png diff --git a/defs/coins/digibyte.json b/defs/bitcoin/digibyte.json similarity index 100% rename from defs/coins/digibyte.json rename to defs/bitcoin/digibyte.json diff --git a/defs/coins/digibyte.png b/defs/bitcoin/digibyte.png similarity index 100% rename from defs/coins/digibyte.png rename to defs/bitcoin/digibyte.png diff --git a/defs/coins/dogecoin.json b/defs/bitcoin/dogecoin.json similarity index 100% rename from defs/coins/dogecoin.json rename to defs/bitcoin/dogecoin.json diff --git a/defs/coins/dogecoin.png b/defs/bitcoin/dogecoin.png similarity index 100% rename from defs/coins/dogecoin.png rename to defs/bitcoin/dogecoin.png diff --git a/defs/coins/feathercoin.json b/defs/bitcoin/feathercoin.json similarity index 100% rename from defs/coins/feathercoin.json rename to defs/bitcoin/feathercoin.json diff --git a/defs/coins/feathercoin.png b/defs/bitcoin/feathercoin.png similarity index 100% rename from defs/coins/feathercoin.png rename to defs/bitcoin/feathercoin.png diff --git a/defs/coins/flashcoin.json b/defs/bitcoin/flashcoin.json similarity index 100% rename from defs/coins/flashcoin.json rename to defs/bitcoin/flashcoin.json diff --git a/defs/coins/flashcoin.png b/defs/bitcoin/flashcoin.png similarity index 100% rename from defs/coins/flashcoin.png rename to defs/bitcoin/flashcoin.png diff --git a/defs/coins/fujicoin.json b/defs/bitcoin/fujicoin.json similarity index 100% rename from defs/coins/fujicoin.json rename to defs/bitcoin/fujicoin.json diff --git a/defs/coins/fujicoin.png b/defs/bitcoin/fujicoin.png similarity index 100% rename from defs/coins/fujicoin.png rename to defs/bitcoin/fujicoin.png diff --git a/defs/coins/groestlcoin.json b/defs/bitcoin/groestlcoin.json similarity index 100% rename from defs/coins/groestlcoin.json rename to defs/bitcoin/groestlcoin.json diff --git a/defs/coins/groestlcoin.png b/defs/bitcoin/groestlcoin.png similarity index 100% rename from defs/coins/groestlcoin.png rename to defs/bitcoin/groestlcoin.png diff --git a/defs/coins/groestlcoin_testnet.json b/defs/bitcoin/groestlcoin_testnet.json similarity index 100% rename from defs/coins/groestlcoin_testnet.json rename to defs/bitcoin/groestlcoin_testnet.json diff --git a/defs/coins/groestlcoin_testnet.png b/defs/bitcoin/groestlcoin_testnet.png similarity index 100% rename from defs/coins/groestlcoin_testnet.png rename to defs/bitcoin/groestlcoin_testnet.png diff --git a/defs/coins/koto.json b/defs/bitcoin/koto.json similarity index 100% rename from defs/coins/koto.json rename to defs/bitcoin/koto.json diff --git a/defs/coins/koto.png b/defs/bitcoin/koto.png similarity index 100% rename from defs/coins/koto.png rename to defs/bitcoin/koto.png diff --git a/defs/coins/litecoin.json b/defs/bitcoin/litecoin.json similarity index 100% rename from defs/coins/litecoin.json rename to defs/bitcoin/litecoin.json diff --git a/defs/coins/litecoin.png b/defs/bitcoin/litecoin.png similarity index 100% rename from defs/coins/litecoin.png rename to defs/bitcoin/litecoin.png diff --git a/defs/coins/litecoin_testnet.json b/defs/bitcoin/litecoin_testnet.json similarity index 100% rename from defs/coins/litecoin_testnet.json rename to defs/bitcoin/litecoin_testnet.json diff --git a/defs/coins/litecoin_testnet.png b/defs/bitcoin/litecoin_testnet.png similarity index 100% rename from defs/coins/litecoin_testnet.png rename to defs/bitcoin/litecoin_testnet.png diff --git a/defs/coins/monacoin.json b/defs/bitcoin/monacoin.json similarity index 100% rename from defs/coins/monacoin.json rename to defs/bitcoin/monacoin.json diff --git a/defs/coins/monacoin.png b/defs/bitcoin/monacoin.png similarity index 100% rename from defs/coins/monacoin.png rename to defs/bitcoin/monacoin.png diff --git a/defs/coins/monetaryunit.json b/defs/bitcoin/monetaryunit.json similarity index 100% rename from defs/coins/monetaryunit.json rename to defs/bitcoin/monetaryunit.json diff --git a/defs/coins/monetaryunit.png b/defs/bitcoin/monetaryunit.png similarity index 100% rename from defs/coins/monetaryunit.png rename to defs/bitcoin/monetaryunit.png diff --git a/defs/coins/myriad.json b/defs/bitcoin/myriad.json similarity index 100% rename from defs/coins/myriad.json rename to defs/bitcoin/myriad.json diff --git a/defs/coins/myriad.png b/defs/bitcoin/myriad.png similarity index 100% rename from defs/coins/myriad.png rename to defs/bitcoin/myriad.png diff --git a/defs/coins/namecoin.json b/defs/bitcoin/namecoin.json similarity index 100% rename from defs/coins/namecoin.json rename to defs/bitcoin/namecoin.json diff --git a/defs/coins/namecoin.png b/defs/bitcoin/namecoin.png similarity index 100% rename from defs/coins/namecoin.png rename to defs/bitcoin/namecoin.png diff --git a/defs/coins/pesetacoin.json b/defs/bitcoin/pesetacoin.json similarity index 100% rename from defs/coins/pesetacoin.json rename to defs/bitcoin/pesetacoin.json diff --git a/defs/coins/pesetacoin.png b/defs/bitcoin/pesetacoin.png similarity index 100% rename from defs/coins/pesetacoin.png rename to defs/bitcoin/pesetacoin.png diff --git a/defs/coins/smartcash.json b/defs/bitcoin/smartcash.json similarity index 100% rename from defs/coins/smartcash.json rename to defs/bitcoin/smartcash.json diff --git a/defs/coins/smartcash.png b/defs/bitcoin/smartcash.png similarity index 100% rename from defs/coins/smartcash.png rename to defs/bitcoin/smartcash.png diff --git a/defs/coins/smartcash_testnet.json b/defs/bitcoin/smartcash_testnet.json similarity index 100% rename from defs/coins/smartcash_testnet.json rename to defs/bitcoin/smartcash_testnet.json diff --git a/defs/coins/smartcash_testnet.png b/defs/bitcoin/smartcash_testnet.png similarity index 100% rename from defs/coins/smartcash_testnet.png rename to defs/bitcoin/smartcash_testnet.png diff --git a/defs/coins/terracoin.json b/defs/bitcoin/terracoin.json similarity index 100% rename from defs/coins/terracoin.json rename to defs/bitcoin/terracoin.json diff --git a/defs/coins/terracoin.png b/defs/bitcoin/terracoin.png similarity index 100% rename from defs/coins/terracoin.png rename to defs/bitcoin/terracoin.png diff --git a/defs/coins/vertcoin.json b/defs/bitcoin/vertcoin.json similarity index 100% rename from defs/coins/vertcoin.json rename to defs/bitcoin/vertcoin.json diff --git a/defs/coins/vertcoin.png b/defs/bitcoin/vertcoin.png similarity index 100% rename from defs/coins/vertcoin.png rename to defs/bitcoin/vertcoin.png diff --git a/defs/coins/viacoin.json b/defs/bitcoin/viacoin.json similarity index 100% rename from defs/coins/viacoin.json rename to defs/bitcoin/viacoin.json diff --git a/defs/coins/viacoin.png b/defs/bitcoin/viacoin.png similarity index 100% rename from defs/coins/viacoin.png rename to defs/bitcoin/viacoin.png diff --git a/defs/coins/zcash.json b/defs/bitcoin/zcash.json similarity index 100% rename from defs/coins/zcash.json rename to defs/bitcoin/zcash.json diff --git a/defs/coins/zcash.png b/defs/bitcoin/zcash.png similarity index 100% rename from defs/coins/zcash.png rename to defs/bitcoin/zcash.png diff --git a/defs/coins/zcash_testnet.json b/defs/bitcoin/zcash_testnet.json similarity index 100% rename from defs/coins/zcash_testnet.json rename to defs/bitcoin/zcash_testnet.json diff --git a/defs/coins/zcash_testnet.png b/defs/bitcoin/zcash_testnet.png similarity index 100% rename from defs/coins/zcash_testnet.png rename to defs/bitcoin/zcash_testnet.png diff --git a/defs/coins/zcoin.json b/defs/bitcoin/zcoin.json similarity index 100% rename from defs/coins/zcoin.json rename to defs/bitcoin/zcoin.json diff --git a/defs/coins/zcoin.png b/defs/bitcoin/zcoin.png similarity index 100% rename from defs/coins/zcoin.png rename to defs/bitcoin/zcoin.png diff --git a/defs/coins/zcoin_testnet.json b/defs/bitcoin/zcoin_testnet.json similarity index 100% rename from defs/coins/zcoin_testnet.json rename to defs/bitcoin/zcoin_testnet.json diff --git a/defs/coins/zcoin_testnet.png b/defs/bitcoin/zcoin_testnet.png similarity index 100% rename from defs/coins/zcoin_testnet.png rename to defs/bitcoin/zcoin_testnet.png diff --git a/defs/coins/zencash.json b/defs/bitcoin/zencash.json similarity index 100% rename from defs/coins/zencash.json rename to defs/bitcoin/zencash.json diff --git a/defs/coins/zencash.png b/defs/bitcoin/zencash.png similarity index 100% rename from defs/coins/zencash.png rename to defs/bitcoin/zencash.png diff --git a/defs/coins b/defs/coins new file mode 120000 index 0000000000..f3c1395632 --- /dev/null +++ b/defs/coins @@ -0,0 +1 @@ +bitcoin \ No newline at end of file diff --git a/defs/coins/tools/build_coins.py b/defs/coins/tools/build_coins.py deleted file mode 120000 index 78034573b4..0000000000 --- a/defs/coins/tools/build_coins.py +++ /dev/null @@ -1 +0,0 @@ -../../../tools/build_coins.py \ No newline at end of file diff --git a/defs/coins_details.override.json b/defs/coins_details.override.json index 39c581c81b..671be8bd87 100644 --- a/defs/coins_details.override.json +++ b/defs/coins_details.override.json @@ -5,62 +5,62 @@ "erc20:eth:GNT": { "coinmarketcap_alias": "golem-network-tokens" }, - "coin:BCH": { + "bitcoin:BCH": { "wallet": { "Electron Cash": "https://electroncash.org" } }, - "coin:BTC": { + "bitcoin:BTC": { "wallet": { "Electrum": "https://electrum.org" } }, - "coin:BTCP": { + "bitcoin:BTCP": { "wallet": { "BTCP Electrum": "https://github.com/BTCPrivate/electrum-btcp" } }, - "coin:BTG": { + "bitcoin:BTG": { "wallet": { "ElectrumG": "https://github.com/BTCGPU/electrum" } }, - "coin:DASH": { + "bitcoin:DASH": { "wallet": { "Dash Electrum": "https://electrum.dash.org" } }, - "coin:FJC": { + "bitcoin:FJC": { "wallet": { "Electrum-FJC": "http://www.fujicoin.org/downloads.php" } }, - "coin:GRS": { + "bitcoin:GRS": { "wallet": { "Electrum-GRS": "https://www.groestlcoin.org/groestlcoin-electrum-wallet/" } }, - "coin:LTC": { + "bitcoin:LTC": { "wallet": { "Electrum-LTC": "https://electrum-ltc.org" } }, - "coin:MONA": { + "bitcoin:MONA": { "wallet": { "Electrum-MONA": "https://electrum-mona.org" } }, - "coin:NMC": { + "bitcoin:NMC": { "wallet": { "Electrum-NMC": "https://github.com/namecoin/electrum-nmc" } }, - "coin:VIA": { + "bitcoin:VIA": { "wallet": { "Vialectrum": "https://vialectrum.org" } }, - "coin:XZC": { + "bitcoin:XZC": { "wallet": { "Electrum-XZC": "https://github.com/zcoinofficial/electrum-xzc", "Znode Tool": "https://github.com/yura-pakhuchiy/znode-tool" diff --git a/defs/support.json b/defs/support.json index 79e730bafc..8f3ac2b307 100644 --- a/defs/support.json +++ b/defs/support.json @@ -1,55 +1,55 @@ { "connect": { "supported": { - "coin:BCH": true, - "coin:BTC": true, - "coin:BTG": true, - "coin:DASH": true, - "coin:DOGE": true, - "coin:LTC": true, - "coin:TEST": true, - "coin:VTC": true, - "coin:ZEC": true + "bitcoin:BCH": true, + "bitcoin:BTC": true, + "bitcoin:BTG": true, + "bitcoin:DASH": true, + "bitcoin:DOGE": true, + "bitcoin:LTC": true, + "bitcoin:TEST": true, + "bitcoin:VTC": true, + "bitcoin:ZEC": true }, "unsupported": {} }, "trezor1": { "supported": { - "coin:BCH": "1.6.2", - "coin:BTC": "1.5.2", - "coin:BTCP": "1.6.2", - "coin:BTG": "1.6.2", - "coin:DASH": "1.5.2", - "coin:DCR": "1.6.2", - "coin:DGB": "1.6.0", - "coin:DNR": "soon", - "coin:DOGE": "1.5.2", - "coin:FJC": "1.6.1", - "coin:FLASH": "soon", - "coin:FTC": "soon", - "coin:GRS": "1.6.2", - "coin:KOTO": "soon", - "coin:LTC": "1.5.2", - "coin:MONA": "1.6.0", - "coin:MUE": "soon", - "coin:NMC": "1.5.2", - "coin:PTC": "soon", - "coin:SMART": "soon", - "coin:TAZ": "1.6.2", - "coin:TBCH": "1.6.2", - "coin:TBTG": "soon", - "coin:TDCR": "1.6.2", - "coin:TEST": "1.5.2", - "coin:TLTC": "1.6.2", - "coin:VIA": "1.6.2", - "coin:VTC": "1.6.1", - "coin:XMY": "soon", - "coin:XZC": "1.6.2", - "coin:ZEC": "1.6.2", - "coin:tDASH": "1.6.2", - "coin:tGRS": "1.6.2", - "coin:tSMART": "soon", - "coin:tXZC": "1.6.2", + "bitcoin:BCH": "1.6.2", + "bitcoin:BTC": "1.5.2", + "bitcoin:BTCP": "1.6.2", + "bitcoin:BTG": "1.6.2", + "bitcoin:DASH": "1.5.2", + "bitcoin:DCR": "1.6.2", + "bitcoin:DGB": "1.6.0", + "bitcoin:DNR": "soon", + "bitcoin:DOGE": "1.5.2", + "bitcoin:FJC": "1.6.1", + "bitcoin:FLASH": "soon", + "bitcoin:FTC": "soon", + "bitcoin:GRS": "1.6.2", + "bitcoin:KOTO": "soon", + "bitcoin:LTC": "1.5.2", + "bitcoin:MONA": "1.6.0", + "bitcoin:MUE": "soon", + "bitcoin:NMC": "1.5.2", + "bitcoin:PTC": "soon", + "bitcoin:SMART": "soon", + "bitcoin:TAZ": "1.6.2", + "bitcoin:TBCH": "1.6.2", + "bitcoin:TBTG": "soon", + "bitcoin:TDCR": "1.6.2", + "bitcoin:TEST": "1.5.2", + "bitcoin:TLTC": "1.6.2", + "bitcoin:VIA": "1.6.2", + "bitcoin:VTC": "1.6.1", + "bitcoin:XMY": "soon", + "bitcoin:XZC": "1.6.2", + "bitcoin:ZEC": "1.6.2", + "bitcoin:tDASH": "1.6.2", + "bitcoin:tGRS": "1.6.2", + "bitcoin:tSMART": "soon", + "bitcoin:tXZC": "1.6.2", "erc20:ella:MINING": "1.6.2", "erc20:etc:BEC": "1.6.2", "erc20:eth:$FFC": "1.6.2", @@ -707,10 +707,10 @@ "nem:XEM": "1.6.2" }, "unsupported": { - "coin:BTX": "address_type collides with Bitcoin", - "coin:CRW": "address_type collides with Bitcoin", - "coin:TRC": "address_type collides with Bitcoin", - "coin:ZEN": "not implemented on T1", + "bitcoin:BTX": "address_type collides with Bitcoin", + "bitcoin:CRW": "address_type collides with Bitcoin", + "bitcoin:TRC": "address_type collides with Bitcoin", + "bitcoin:ZEN": "not implemented on T1", "erc20:etc:PLAY": "(AUTO) duplicate key", "erc20:eth:ATH": "(AUTO) duplicate key", "erc20:eth:ATH (AIgatha Token)": "(AUTO) duplicate key", @@ -825,40 +825,40 @@ }, "trezor2": { "supported": { - "coin:BCH": "2.0.7", - "coin:BTC": "2.0.5", - "coin:BTCP": "2.0.7", - "coin:BTG": "2.0.7", - "coin:DASH": "2.0.5", - "coin:DGB": "2.0.5", - "coin:DNR": "soon", - "coin:DOGE": "2.0.5", - "coin:FJC": "2.0.5", - "coin:FLASH": "soon", - "coin:FTC": "soon", - "coin:GRS": "2.0.8", - "coin:KOTO": "soon", - "coin:LTC": "2.0.5", - "coin:MONA": "2.0.5", - "coin:MUE": "soon", - "coin:NMC": "2.0.5", - "coin:PTC": "soon", - "coin:SMART": "soon", - "coin:TAZ": "2.0.7", - "coin:TBCH": "2.0.7", - "coin:TBTG": "soon", - "coin:TEST": "2.0.5", - "coin:TLTC": "2.0.7", - "coin:VIA": "2.0.7", - "coin:VTC": "2.0.5", - "coin:XMY": "soon", - "coin:XZC": "2.0.7", - "coin:ZEC": "2.0.7", - "coin:ZEN": "2.0.8", - "coin:tDASH": "soon", - "coin:tGRS": "2.0.8", - "coin:tSMART": "soon", - "coin:tXZC": "2.0.7", + "bitcoin:BCH": "2.0.7", + "bitcoin:BTC": "2.0.5", + "bitcoin:BTCP": "2.0.7", + "bitcoin:BTG": "2.0.7", + "bitcoin:DASH": "2.0.5", + "bitcoin:DGB": "2.0.5", + "bitcoin:DNR": "soon", + "bitcoin:DOGE": "2.0.5", + "bitcoin:FJC": "2.0.5", + "bitcoin:FLASH": "soon", + "bitcoin:FTC": "soon", + "bitcoin:GRS": "2.0.8", + "bitcoin:KOTO": "soon", + "bitcoin:LTC": "2.0.5", + "bitcoin:MONA": "2.0.5", + "bitcoin:MUE": "soon", + "bitcoin:NMC": "2.0.5", + "bitcoin:PTC": "soon", + "bitcoin:SMART": "soon", + "bitcoin:TAZ": "2.0.7", + "bitcoin:TBCH": "2.0.7", + "bitcoin:TBTG": "soon", + "bitcoin:TEST": "2.0.5", + "bitcoin:TLTC": "2.0.7", + "bitcoin:VIA": "2.0.7", + "bitcoin:VTC": "2.0.5", + "bitcoin:XMY": "soon", + "bitcoin:XZC": "2.0.7", + "bitcoin:ZEC": "2.0.7", + "bitcoin:ZEN": "2.0.8", + "bitcoin:tDASH": "soon", + "bitcoin:tGRS": "2.0.8", + "bitcoin:tSMART": "soon", + "bitcoin:tXZC": "2.0.7", "erc20:ella:MINING": "2.0.7", "erc20:etc:BEC": "2.0.7", "erc20:eth:$FFC": "2.0.7", @@ -1521,11 +1521,11 @@ "nem:XEM": "2.0.7" }, "unsupported": { - "coin:BTX": "address_type collides with Bitcoin", - "coin:CRW": "address_type collides with Bitcoin", - "coin:DCR": "not implemented on Trezor T", - "coin:TDCR": "not implemented on Trezor T", - "coin:TRC": "address_type collides with Bitcoin", + "bitcoin:BTX": "address_type collides with Bitcoin", + "bitcoin:CRW": "address_type collides with Bitcoin", + "bitcoin:DCR": "not implemented on Trezor T", + "bitcoin:TDCR": "not implemented on Trezor T", + "bitcoin:TRC": "address_type collides with Bitcoin", "erc20:etc:PLAY": "(AUTO) duplicate key", "erc20:eth:ATH": "(AUTO) duplicate key", "erc20:eth:ATH (AIgatha Token)": "(AUTO) duplicate key", @@ -1635,27 +1635,27 @@ }, "webwallet": { "supported": { - "coin:BCH": true, - "coin:BTC": true, - "coin:BTCP": true, - "coin:BTG": true, - "coin:DASH": true, - "coin:DCR": true, - "coin:DGB": true, - "coin:DOGE": true, - "coin:FJC": true, - "coin:GRS": true, - "coin:LTC": true, - "coin:MONA": true, - "coin:TAZ": true, - "coin:TDCR": true, - "coin:TEST": true, - "coin:TLTC": true, - "coin:VIA": true, - "coin:VTC": true, - "coin:XZC": true, - "coin:ZEC": true, - "coin:tGRS": true + "bitcoin:BCH": true, + "bitcoin:BTC": true, + "bitcoin:BTCP": true, + "bitcoin:BTG": true, + "bitcoin:DASH": true, + "bitcoin:DCR": true, + "bitcoin:DGB": true, + "bitcoin:DOGE": true, + "bitcoin:FJC": true, + "bitcoin:GRS": true, + "bitcoin:LTC": true, + "bitcoin:MONA": true, + "bitcoin:TAZ": true, + "bitcoin:TDCR": true, + "bitcoin:TEST": true, + "bitcoin:TLTC": true, + "bitcoin:VIA": true, + "bitcoin:VTC": true, + "bitcoin:XZC": true, + "bitcoin:ZEC": true, + "bitcoin:tGRS": true }, "unsupported": {} } diff --git a/tools/coin_info.py b/tools/coin_info.py index db5713b21e..4c4617ba48 100755 --- a/tools/coin_info.py +++ b/tools/coin_info.py @@ -37,13 +37,13 @@ class CoinsInfo(dict): """Collection of information about all known kinds of coins. It contains the following lists: - `coins` for btc-like coins, + `bitcoin` for btc-like coins, `eth` for ethereum networks, `erc20` for ERC20 tokens, `nem` for NEM mosaics, `misc` for other networks. - Accessible as a dict or by attribute: `info["coins"] == info.coins` + Accessible as a dict or by attribute: `info["misc"] == info.misc` """ def as_list(self): @@ -196,7 +196,7 @@ def _load_btc_coins(): coin.update( name=coin["coin_name"], shortcut=coin["coin_shortcut"], - key="coin:{}".format(coin["coin_shortcut"]), + key="bitcoin:{}".format(coin["coin_shortcut"]), icon=filename.replace(".json", ".png"), ) coins.append(coin) @@ -450,7 +450,7 @@ def collect_coin_info(): Automatically removes duplicate symbols from the result. """ all_coins = CoinsInfo( - coins=_load_btc_coins(), + bitcoin=_load_btc_coins(), eth=_load_ethereum_networks(), erc20=_load_erc20_tokens(), nem=_load_nem_mosaics(), @@ -458,7 +458,7 @@ def collect_coin_info(): ) for k, coins in all_coins.items(): - if k == "coins": + if k == "bitcoin": coins.sort(key=_btc_sort_key) elif k == "nem": # do not sort nem diff --git a/tools/coins_details.py b/tools/coins_details.py index 711bbb2785..f28748a5e4 100755 --- a/tools/coins_details.py +++ b/tools/coins_details.py @@ -165,7 +165,7 @@ def update_simple(coins, support_info, type): return res -def update_coins(coins, support_info): +def update_bitcoin(coins, support_info): res = update_simple(coins, support_info, "coin") for coin in coins: key = coin["key"] @@ -298,7 +298,7 @@ if __name__ == "__main__": support_info = coin_info.support_info(defs) coins = {} - coins.update(update_coins(defs.coins, support_info)) + coins.update(update_bitcoin(defs.bitcoin, support_info)) coins.update(update_erc20(defs.erc20, support_info)) coins.update(update_ethereum_networks(defs.eth, support_info)) coins.update(update_simple(defs.nem, support_info, "mosaic")) diff --git a/tools/cointool.py b/tools/cointool.py index a3e4b4df16..09e86e0395 100755 --- a/tools/cointool.py +++ b/tools/cointool.py @@ -502,7 +502,7 @@ def check(backend, icons, show_duplicates): all_checks_passed = True print("Checking BTC-like coins...") - if not check_btc(defs.coins): + if not check_btc(defs.bitcoin): all_checks_passed = False if show_duplicates == "all": @@ -517,12 +517,12 @@ def check(backend, icons, show_duplicates): if icons: print("Checking icon files...") - if not check_icons(defs.coins): + if not check_icons(defs.bitcoin): all_checks_passed = False if backend: print("Checking backend responses...") - if not check_backends(defs.coins): + if not check_backends(defs.bitcoin): all_checks_passed = False print("Checking key uniformity...") @@ -543,7 +543,7 @@ def check(backend, icons, show_duplicates): @click.option("-o", "--outfile", type=click.File(mode="w"), default="./coins.json") def coins_json(outfile): """Generate coins.json for consumption in python-trezor and Connect/Wallet""" - coins = coin_info.coin_info().coins + coins = coin_info.coin_info().bitcoin support_info = coin_info.support_info(coins) by_name = {} for coin in coins: @@ -563,7 +563,7 @@ def coindefs(outfile): This is currently unused but should enable us to add new coins without having to update firmware. """ - coins = coin_info.coin_info().coins + coins = coin_info.coin_info().bitcoin coindefs = {} for coin in coins: key = coin["key"]