1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 20:19:23 +00:00

Add comments about build_coins.py (#121)

This commit is contained in:
Karel Bílek 2018-06-08 16:31:57 +02:00 committed by Pavol Rusnak
parent 6ac200abce
commit 55dc5c8f18

View File

@ -1,5 +1,14 @@
#!/usr/bin/env python3
# This script generates coins.json files from the definitions in defs/
#
# - `./build_coins.py` generates a big file with everything
# - `./build_coins.py XXX` generates a file with coins that are supported by XXX
# for example: `./build_coins.py webwallet` or `./build_coins.py trezor1`
# - `./build_coins.py XXX --defs` also adds protobuf definitions with TOIF icon
#
# generated file is coins.json in current directory, and coindefs.json if --def is enabled
import json
import glob
import re