1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-11 07:50:57 +00:00

tools: move coins-gen tool to /tools

This commit is contained in:
Pavol Rusnak 2016-10-20 17:07:56 +02:00
parent 1420ad591b
commit e62e8dbe6f
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
# the following list is generated using tools/coins-gen.py
_coins = [
{'coin_name': 'Bitcoin', 'coin_shortcut': 'BTC', 'maxfee_kb': 100000, 'address_type': 0, 'address_type_p2sh': 5, 'address_type_p2wpkh': 6, 'address_type_p2wsh': 10, 'signed_message_header': 'Bitcoin Signed Message:\n', 'bip44': 0, 'xpub_magic': 76067358, 'xprv_magic': 76066276, },
{'coin_name': 'Testnet', 'coin_shortcut': 'TEST', 'maxfee_kb': 10000000, 'address_type': 111, 'address_type_p2sh': 196, 'address_type_p2wpkh': 3, 'address_type_p2wsh': 40, 'signed_message_header': 'Bitcoin Signed Message:\n', 'bip44': 1, 'xpub_magic': 70617039, 'xprv_magic': 70615956, },

View File

@ -2,7 +2,7 @@
import json
from collections import OrderedDict
coins = json.load(open('../../../../trezor-common/coins.json', 'r'))
coins = json.load(open('../../trezor-common/coins.json', 'r'))
print('_coins = [')
for c in coins: