1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00
trezor-firmware/common/defs/bitcoin
Roman Zeyde 7210a2f56d common/defs: add 'confidential_assets' section to coin definitions (#399)
Enable 'confidential_assets' for Elements (following #66 and #317) to allow
deriving confidential addresses and signing confidential transactions.

The following Python helper script was used to update the JSON files:
```
import json
import sys

for f in sys.argv[1:]:
    d = json.load(open(f))
    d["confidential_assets"] = None
    with open(f, "w") as o:
        json.dump(d, o, indent=2)
        o.write("\n")
```

Set it to `{'address_prefix': 4, 'blech32_prefix': 'el'}` for Elements.

`coins.json` and `coininfo.py` were re-generated using:
```
$ pipenv run make gen gen_check
```
2019-08-12 12:52:20 +02:00
..
actinium.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
actinium.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
axe.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
axe.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
bcash_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bcash_testnet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
bcash.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bcash.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
bellcoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bellcoin.png common/defs: Add Bellcoin (#124) 2019-05-01 11:33:19 +02:00
bgold_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bgold_testnet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
bgold.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bgold.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
bitcash.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bitcash.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
bitcloud.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bitcloud.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
bitcoin_regtest.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bitcoin_regtest.png common/defs: add bitcoin_regtest icon 2019-04-17 16:45:04 +02:00
bitcoin_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bitcoin_testnet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
bitcoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bitcoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
bitcore.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bitcore.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
bitgreen.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bitgreen.png common/defs: add BITG (#329) 2019-07-12 19:14:26 +02:00
bitsend.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bitsend.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
bitzeny.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bitzeny.png common/defs: add BitZeny (#155) 2019-05-19 15:33:50 +02:00
blockstamp.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
blockstamp.png common/defs: add BST (#110) 2019-04-26 15:40:52 +02:00
bprivate.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
bprivate.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
brhodium.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
brhodium.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
capricoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
capricoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
cpuchain.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
cpuchain.png common/defs: add CPUchain (#311) 2019-07-08 19:13:03 +02:00
crown.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
crown.png common/defs: add Bitcore backends to CRW (#234) 2019-06-08 23:01:39 +02:00
dash_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
dash_testnet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
dash.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
dash.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
decred_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
decred_testnet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
decred.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
decred.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
denarius.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
denarius.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
digibyte.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
digibyte.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
dogecoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
dogecoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
elements.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
elements.png common/defs: add Elements regtest support (#213) 2019-06-02 19:39:20 +02:00
faircoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
faircoin.png add FairCoin 2019-04-23 17:00:26 +02:00
feathercoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
feathercoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
florincoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
florincoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
fujicoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
fujicoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
gamecredits.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
gamecredits.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
gincoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
gincoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
groestlcoin_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
groestlcoin_testnet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
groestlcoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
groestlcoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
horizen.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
horizen.png common/defs: update zencash.json (#147) 2019-05-14 17:05:09 +02:00
komodo.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
komodo.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
koto.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
koto.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
litecoin_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
litecoin_testnet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
litecoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
litecoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
megacoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
megacoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
monacoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
monacoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
monetaryunit.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
monetaryunit.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
myriad.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
myriad.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
namecoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
namecoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
nix.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
nix.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
particl_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
particl_testnet.png common/defs: add Particl (#316) 2019-07-11 14:24:39 +02:00
particl.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
particl.png common/defs: add Particl (#316) 2019-07-11 14:24:39 +02:00
pesetacoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
pesetacoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
pivx_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
pivx_testnet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
pivx.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
pivx.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
polis.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
polis.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
primecoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
primecoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
qtum_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
qtum_testnet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
qtum.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
qtum.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
ravencoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
ravencoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
ritocoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
ritocoin.png common/defs: add Ritocoin (#169) 2019-05-23 20:03:21 +02:00
smartcash_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
smartcash_testnet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
smartcash.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
smartcash.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
stakenet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
stakenet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
terracoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
terracoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
vertcoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
vertcoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
viacoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
viacoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
vipstarcoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
vipstarcoin.png common/defs: add vipstarcoin (#157) 2019-05-19 11:19:27 +02:00
zcash_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
zcash_testnet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
zcash.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
zcash.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
zclassic.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
zclassic.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
zcoin_testnet.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
zcoin_testnet.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
zcoin.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
zcoin.png MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
zelcash.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
zelcash.png common/defs: add ZelCash (#251) 2019-06-18 12:01:49 +02:00