diff --git a/src/apps/common/coininfo.py b/src/apps/common/coininfo.py index ad4d3a49f2..95266c6d91 100644 --- a/src/apps/common/coininfo.py +++ b/src/apps/common/coininfo.py @@ -101,32 +101,64 @@ COINS = [ 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, + coin_name='Bgold', + coin_shortcut='BTG', + address_type=38, + address_type_p2sh=23, + 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='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, 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, fork_id=None, force_bip143=False, 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', + 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=2, + slip44=20, segwit=True, fork_id=None, force_bip143=False, @@ -149,21 +181,133 @@ COINS = [ version_group_id=None, ), CoinInfo( - coin_name='Dash', - coin_shortcut='DASH', - address_type=76, + coin_name='Fujicoin', + coin_shortcut='FJC', + address_type=36, address_type_p2sh=16, - maxfee_kb=100000, - signed_message_header='DarkCoin Signed Message:\n', - xpub_magic=0x02fe52cc, + maxfee_kb=1000000, + signed_message_header='FujiCoin Signed Message:\n', + 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, cashaddr_prefix=None, - slip44=5, + slip44=510, segwit=False, fork_id=None, force_bip143=False, 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( coin_name='Zcash', coin_shortcut='ZEC', @@ -197,81 +341,33 @@ COINS = [ version_group_id=0x03c48270, ), CoinInfo( - coin_name='Bgold', - coin_shortcut='BTG', - address_type=38, - address_type_p2sh=23, - 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, + coin_name='Zcoin', + coin_shortcut='XZC', + address_type=82, + address_type_p2sh=7, maxfee_kb=1000000, - signed_message_header='FujiCoin Signed Message:\n', + signed_message_header='Zcoin Signed Message:\n', xpub_magic=0x0488b21e, - bech32_prefix='fc', + bech32_prefix=None, cashaddr_prefix=None, - slip44=75, - segwit=True, + slip44=136, + 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', + coin_name='Zcoin Testnet', + coin_shortcut='tXZC', + address_type=65, + address_type_p2sh=178, + maxfee_kb=1000000, + signed_message_header='Zcoin Signed Message:\n', + xpub_magic=0x043587cf, + bech32_prefix=None, cashaddr_prefix=None, - slip44=28, - segwit=True, + slip44=1, + segwit=False, fork_id=None, force_bip143=False, version_group_id=None, diff --git a/vendor/trezor-common b/vendor/trezor-common index f22dafa7eb..1e94dbce6a 160000 --- a/vendor/trezor-common +++ b/vendor/trezor-common @@ -1 +1 @@ -Subproject commit f22dafa7eb739c3702585d946c5ae28f813f492f +Subproject commit 1e94dbce6a4f09d9080ddfb2f2d6d1ff50809e70