1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 15:28:10 +00:00
trezor-firmware/python/trezorlib
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
..
messages core: use channels to give feedback over debuglink 2019-08-09 16:53:12 +02:00
qt all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
tests core: unify NEM pager confirm with rest of codebase 2019-08-09 16:53:12 +02:00
transport all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
__init__.py python: update changelog, bump version 2019-07-31 18:00:52 +02:00
_ed25519.py MONOREPO MERGE python-trezor 2019-04-15 19:15:12 +02:00
binance.py #28 - binance implementation (#189) 2019-07-31 17:02:41 +02:00
btc.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
cardano.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
ckd_public.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
client.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
coins.json common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
coins.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
cosi.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
debuglink.py tests: take advantage of debuglink feedback 2019-08-09 16:53:12 +02:00
device.py python: add backup_type to reset device 2019-07-22 15:43:15 +02:00
eos.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
ethereum.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
exceptions.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
firmware.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
lisk.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
log.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
mapping.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
misc.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
monero.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
nem.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
protobuf.py protobuf: add enum value validation (#363) 2019-08-02 19:06:01 +02:00
ripple.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
stellar.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
tezos.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
tools.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
tx_api.py python: add or update licence headers 2019-05-29 18:48:15 +02:00
ui.py python: add or update licence headers 2019-05-29 18:48:15 +02:00