1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00
trezor-firmware/common
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
..
defs common/defs: add 'confidential_assets' section to coin definitions (#399) 2019-08-12 12:52:20 +02:00
keys all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
protob core: use channels to give feedback over debuglink 2019-08-09 16:53:12 +02:00
tools common/tools: rework trezor url matching in coins_details.py 2019-07-26 13:21:28 +02:00
udev all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
.gitignore common/defs: fix invalid value in horizen.json 2019-05-14 17:08:14 +02:00
.gitmodules MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
.gitrepo git subrepo push common 2019-07-26 16:39:28 +02:00
COPYING MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
README.md all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00

trezor-common

Build Status Gitter

Common files shared among Trezor repositories.

This repo is meant to be included as submodule to others using:

git submodule add https://github.com/trezor/trezor-common.git trezor-common