1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 08:38:07 +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, xpub_magic=0x0488b21e,
xprv_magic=0x0488ade4, xprv_magic=0x0488ade4,
bip44=0, bip44=0,
segwit=False,
), ),
CoinType( CoinType(
coin_name='Testnet', coin_name='Testnet',
@ -28,6 +29,7 @@ COINS = [
xpub_magic=0x043587cf, xpub_magic=0x043587cf,
xprv_magic=0x04358394, xprv_magic=0x04358394,
bip44=1, bip44=1,
segwit=True,
), ),
CoinType( CoinType(
coin_name='Namecoin', coin_name='Namecoin',
@ -41,6 +43,7 @@ COINS = [
xpub_magic=0x019da462, xpub_magic=0x019da462,
xprv_magic=0x019d9cfe, xprv_magic=0x019d9cfe,
bip44=7, bip44=7,
segwit=False,
), ),
CoinType( CoinType(
coin_name='Litecoin', coin_name='Litecoin',
@ -54,6 +57,7 @@ COINS = [
xpub_magic=0x019da462, xpub_magic=0x019da462,
xprv_magic=0x019d9cfe, xprv_magic=0x019d9cfe,
bip44=2, bip44=2,
segwit=True,
), ),
CoinType( CoinType(
coin_name='Dogecoin', coin_name='Dogecoin',
@ -67,6 +71,7 @@ COINS = [
xpub_magic=0x02facafd, xpub_magic=0x02facafd,
xprv_magic=0x02fac398, xprv_magic=0x02fac398,
bip44=3, bip44=3,
segwit=False,
), ),
CoinType( CoinType(
coin_name='Dash', coin_name='Dash',
@ -80,6 +85,7 @@ COINS = [
xpub_magic=0x02fe52cc, xpub_magic=0x02fe52cc,
xprv_magic=0x02fe52f8, xprv_magic=0x02fe52f8,
bip44=5, bip44=5,
segwit=False,
), ),
CoinType( CoinType(
coin_name='Zcash', coin_name='Zcash',
@ -93,6 +99,7 @@ COINS = [
xpub_magic=0x0488b21e, xpub_magic=0x0488b21e,
xprv_magic=0x0488ade4, xprv_magic=0x0488ade4,
bip44=133, bip44=133,
segwit=False,
), ),
CoinType( CoinType(
coin_name='Zcash Testnet', coin_name='Zcash Testnet',
@ -106,6 +113,7 @@ COINS = [
xpub_magic=0x043587cf, xpub_magic=0x043587cf,
xprv_magic=0x04358394, xprv_magic=0x04358394,
bip44=1, bip44=1,
segwit=False,
), ),
] ]

View File

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