1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-26 16:18:22 +00:00

coins: add cointype.segwit

This commit is contained in:
Pavol Rusnak 2017-04-26 15:46:08 +02:00
parent 6da2019817
commit 92b2deb932
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 9 additions and 0 deletions

View File

@ -15,6 +15,7 @@ COINS = [
xpub_magic=0x0488b21e,
xprv_magic=0x0488ade4,
bip44=0,
segwit=False,
),
CoinType(
coin_name='Testnet',
@ -28,6 +29,7 @@ COINS = [
xpub_magic=0x043587cf,
xprv_magic=0x04358394,
bip44=1,
segwit=True,
),
CoinType(
coin_name='Namecoin',
@ -41,6 +43,7 @@ COINS = [
xpub_magic=0x019da462,
xprv_magic=0x019d9cfe,
bip44=7,
segwit=False,
),
CoinType(
coin_name='Litecoin',
@ -54,6 +57,7 @@ COINS = [
xpub_magic=0x019da462,
xprv_magic=0x019d9cfe,
bip44=2,
segwit=True,
),
CoinType(
coin_name='Dogecoin',
@ -67,6 +71,7 @@ COINS = [
xpub_magic=0x02facafd,
xprv_magic=0x02fac398,
bip44=3,
segwit=False,
),
CoinType(
coin_name='Dash',
@ -80,6 +85,7 @@ COINS = [
xpub_magic=0x02fe52cc,
xprv_magic=0x02fe52f8,
bip44=5,
segwit=False,
),
CoinType(
coin_name='Zcash',
@ -93,6 +99,7 @@ COINS = [
xpub_magic=0x0488b21e,
xprv_magic=0x0488ade4,
bip44=133,
segwit=False,
),
CoinType(
coin_name='Zcash Testnet',
@ -106,6 +113,7 @@ COINS = [
xpub_magic=0x043587cf,
xprv_magic=0x04358394,
bip44=1,
segwit=False,
),
]

View File

@ -13,6 +13,7 @@ fields = [
'xpub_magic',
'xprv_magic',
'bip44',
'segwit',
]
coins = json.load(open('../../trezor-common/coins.json', 'r'))