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:
parent
1420ad591b
commit
e62e8dbe6f
@ -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, },
|
||||
|
@ -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:
|
Loading…
Reference in New Issue
Block a user