1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

vendor: update trezor-common, add new coins

This commit is contained in:
Pavol Rusnak 2018-06-21 18:05:36 +02:00
parent f550229899
commit b4b9c4a930
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 187 additions and 91 deletions

View File

@ -101,32 +101,64 @@ COINS = [
version_group_id=None, version_group_id=None,
), ),
CoinInfo( CoinInfo(
coin_name='Namecoin', coin_name='Bgold',
coin_shortcut='NMC', coin_shortcut='BTG',
address_type=52, address_type=38,
address_type_p2sh=5, address_type_p2sh=23,
maxfee_kb=10000000, maxfee_kb=500000,
signed_message_header='Namecoin Signed Message:\n', signed_message_header='Bitcoin Gold Signed Message:\n',
xpub_magic=0x019da462, xpub_magic=0x0488b21e,
bech32_prefix='btg',
cashaddr_prefix=None,
slip44=156,
segwit=True,
fork_id=79,
force_bip143=True,
version_group_id=None,
),
CoinInfo(
coin_name='Bprivate',
coin_shortcut='BTCP',
address_type=4901,
address_type_p2sh=5039,
maxfee_kb=1000000,
signed_message_header='BitcoinPrivate Signed Message:\n',
xpub_magic=0x0488b21e,
bech32_prefix=None, bech32_prefix=None,
cashaddr_prefix=None, cashaddr_prefix=None,
slip44=7, slip44=183,
segwit=False,
fork_id=42,
force_bip143=False,
version_group_id=None,
),
CoinInfo(
coin_name='Dash',
coin_shortcut='DASH',
address_type=76,
address_type_p2sh=16,
maxfee_kb=100000,
signed_message_header='DarkCoin Signed Message:\n',
xpub_magic=0x02fe52cc,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=5,
segwit=False, segwit=False,
fork_id=None, fork_id=None,
force_bip143=False, force_bip143=False,
version_group_id=None, version_group_id=None,
), ),
CoinInfo( CoinInfo(
coin_name='Litecoin', coin_name='DigiByte',
coin_shortcut='LTC', coin_shortcut='DGB',
address_type=48, address_type=30,
address_type_p2sh=50, address_type_p2sh=63,
maxfee_kb=40000000, maxfee_kb=500000,
signed_message_header='Litecoin Signed Message:\n', signed_message_header='DigiByte Signed Message:\n',
xpub_magic=0x019da462, xpub_magic=0x0488b21e,
bech32_prefix='ltc', bech32_prefix='dgb',
cashaddr_prefix=None, cashaddr_prefix=None,
slip44=2, slip44=20,
segwit=True, segwit=True,
fork_id=None, fork_id=None,
force_bip143=False, force_bip143=False,
@ -149,21 +181,133 @@ COINS = [
version_group_id=None, version_group_id=None,
), ),
CoinInfo( CoinInfo(
coin_name='Dash', coin_name='Fujicoin',
coin_shortcut='DASH', coin_shortcut='FJC',
address_type=76, address_type=36,
address_type_p2sh=16, address_type_p2sh=16,
maxfee_kb=100000, maxfee_kb=1000000,
signed_message_header='DarkCoin Signed Message:\n', signed_message_header='FujiCoin Signed Message:\n',
xpub_magic=0x02fe52cc, xpub_magic=0x0488b21e,
bech32_prefix='fc',
cashaddr_prefix=None,
slip44=75,
segwit=True,
fork_id=None,
force_bip143=False,
version_group_id=None,
),
CoinInfo(
coin_name='Koto',
coin_shortcut='KOTO',
address_type=6198,
address_type_p2sh=6203,
maxfee_kb=1000000,
signed_message_header='Koto Signed Message:\n',
xpub_magic=0x0488b21e,
bech32_prefix=None, bech32_prefix=None,
cashaddr_prefix=None, cashaddr_prefix=None,
slip44=5, slip44=510,
segwit=False, segwit=False,
fork_id=None, fork_id=None,
force_bip143=False, force_bip143=False,
version_group_id=None, version_group_id=None,
), ),
CoinInfo(
coin_name='Litecoin',
coin_shortcut='LTC',
address_type=48,
address_type_p2sh=50,
maxfee_kb=40000000,
signed_message_header='Litecoin Signed Message:\n',
xpub_magic=0x019da462,
bech32_prefix='ltc',
cashaddr_prefix=None,
slip44=2,
segwit=True,
fork_id=None,
force_bip143=False,
version_group_id=None,
),
CoinInfo(
coin_name='Litecoin Testnet',
coin_shortcut='TLTC',
address_type=111,
address_type_p2sh=58,
maxfee_kb=40000000,
signed_message_header='Litecoin Signed Message:\n',
xpub_magic=0x043587cf,
bech32_prefix='tltc',
cashaddr_prefix=None,
slip44=1,
segwit=True,
fork_id=None,
force_bip143=False,
version_group_id=None,
),
CoinInfo(
coin_name='Monacoin',
coin_shortcut='MONA',
address_type=50,
address_type_p2sh=55,
maxfee_kb=5000000,
signed_message_header='Monacoin Signed Message:\n',
xpub_magic=0x0488b21e,
bech32_prefix='mona',
cashaddr_prefix=None,
slip44=22,
segwit=True,
fork_id=None,
force_bip143=False,
version_group_id=None,
),
CoinInfo(
coin_name='Namecoin',
coin_shortcut='NMC',
address_type=52,
address_type_p2sh=5,
maxfee_kb=10000000,
signed_message_header='Namecoin Signed Message:\n',
xpub_magic=0x019da462,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=7,
segwit=False,
fork_id=None,
force_bip143=False,
version_group_id=None,
),
CoinInfo(
coin_name='Vertcoin',
coin_shortcut='VTC',
address_type=71,
address_type_p2sh=5,
maxfee_kb=40000000,
signed_message_header='Vertcoin Signed Message:\n',
xpub_magic=0x0488b21e,
bech32_prefix='vtc',
cashaddr_prefix=None,
slip44=28,
segwit=True,
fork_id=None,
force_bip143=False,
version_group_id=None,
),
CoinInfo(
coin_name='Viacoin',
coin_shortcut='VIA',
address_type=71,
address_type_p2sh=33,
maxfee_kb=40000000,
signed_message_header='Viacoin Signed Message:\n',
xpub_magic=0x0488b21e,
bech32_prefix='via',
cashaddr_prefix=None,
slip44=14,
segwit=True,
fork_id=None,
force_bip143=False,
version_group_id=None,
),
CoinInfo( CoinInfo(
coin_name='Zcash', coin_name='Zcash',
coin_shortcut='ZEC', coin_shortcut='ZEC',
@ -197,81 +341,33 @@ COINS = [
version_group_id=0x03c48270, version_group_id=0x03c48270,
), ),
CoinInfo( CoinInfo(
coin_name='Bgold', coin_name='Zcoin',
coin_shortcut='BTG', coin_shortcut='XZC',
address_type=38, address_type=82,
address_type_p2sh=23, address_type_p2sh=7,
maxfee_kb=500000,
signed_message_header='Bitcoin Gold Signed Message:\n',
xpub_magic=0x0488b21e,
bech32_prefix='btg',
cashaddr_prefix=None,
slip44=156,
segwit=True,
fork_id=79,
force_bip143=True,
version_group_id=None,
),
CoinInfo(
coin_name='DigiByte',
coin_shortcut='DGB',
address_type=30,
address_type_p2sh=63,
maxfee_kb=500000,
signed_message_header='DigiByte Signed Message:\n',
xpub_magic=0x0488b21e,
bech32_prefix='dgb',
cashaddr_prefix=None,
slip44=20,
segwit=True,
fork_id=None,
force_bip143=False,
version_group_id=None,
),
CoinInfo(
coin_name='Monacoin',
coin_shortcut='MONA',
address_type=50,
address_type_p2sh=55,
maxfee_kb=5000000,
signed_message_header='Monacoin Signed Message:\n',
xpub_magic=0x0488b21e,
bech32_prefix='mona',
cashaddr_prefix=None,
slip44=22,
segwit=True,
fork_id=None,
force_bip143=False,
version_group_id=None,
),
CoinInfo(
coin_name='Fujicoin',
coin_shortcut='FJC',
address_type=36,
address_type_p2sh=16,
maxfee_kb=1000000, maxfee_kb=1000000,
signed_message_header='FujiCoin Signed Message:\n', signed_message_header='Zcoin Signed Message:\n',
xpub_magic=0x0488b21e, xpub_magic=0x0488b21e,
bech32_prefix='fc', bech32_prefix=None,
cashaddr_prefix=None, cashaddr_prefix=None,
slip44=75, slip44=136,
segwit=True, segwit=False,
fork_id=None, fork_id=None,
force_bip143=False, force_bip143=False,
version_group_id=None, version_group_id=None,
), ),
CoinInfo( CoinInfo(
coin_name='Vertcoin', coin_name='Zcoin Testnet',
coin_shortcut='VTC', coin_shortcut='tXZC',
address_type=71, address_type=65,
address_type_p2sh=5, address_type_p2sh=178,
maxfee_kb=40000000, maxfee_kb=1000000,
signed_message_header='Vertcoin Signed Message:\n', signed_message_header='Zcoin Signed Message:\n',
xpub_magic=0x0488b21e, xpub_magic=0x043587cf,
bech32_prefix='vtc', bech32_prefix=None,
cashaddr_prefix=None, cashaddr_prefix=None,
slip44=28, slip44=1,
segwit=True, segwit=False,
fork_id=None, fork_id=None,
force_bip143=False, force_bip143=False,
version_group_id=None, version_group_id=None,

@ -1 +1 @@
Subproject commit f22dafa7eb739c3702585d946c5ae28f813f492f Subproject commit 1e94dbce6a4f09d9080ddfb2f2d6d1ff50809e70