1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-23 16:08:17 +00:00
trezor-firmware/trezorlib/coins.py

32 lines
781 B
Python
Raw Normal View History

2018-03-07 15:41:16 +00:00
from .tx_api import TxApiBitcoin, TxApiTestnet, TxApiLitecoin, TxApiZcash, TxApiDash, TxApiBcash, TxApiDecredTestnet, TxApiDogecoin, TxApiMonacoin, TxApiBitcoinGold
coins_slip44 = {
'Bitcoin': 0,
'Testnet': 1,
2017-12-17 13:30:30 +00:00
'Decred Testnet': 1,
'Litecoin': 2,
'Dogecoin': 3,
'Dash': 5,
'Namecoin': 7,
2018-02-08 13:09:40 +00:00
'Monacoin': 22,
'Decred': 42,
'Ether': 60,
'EtherClassic': 61,
'Zcash': 133,
'Bcash': 145,
2018-03-07 15:41:16 +00:00
'Bitcoin Gold': 156,
}
coins_txapi = {
'Bitcoin': TxApiBitcoin,
'Testnet': TxApiTestnet,
'Litecoin': TxApiLitecoin,
'Dash': TxApiDash,
'Zcash': TxApiZcash,
'Bcash': TxApiBcash,
2017-12-17 13:30:30 +00:00
'Decred Testnet': TxApiDecredTestnet,
2017-12-25 23:15:15 +00:00
'Dogecoin': TxApiDogecoin,
2018-02-08 13:09:40 +00:00
'Monacoin': TxApiMonacoin,
2018-03-07 15:41:16 +00:00
'Bitcoin Gold': TxApiBitcoinGold,
}