1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 14:58:09 +00:00
trezor-firmware/trezorlib/coins.py

28 lines
634 B
Python
Raw Normal View History

2017-12-25 23:15:15 +00:00
from .tx_api import TxApiBitcoin, TxApiTestnet, TxApiLitecoin, TxApiZcash, TxApiDash, TxApiBcash, TxApiDecredTestnet, TxApiDogecoin
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,
'Decred': 42,
'Ether': 60,
'EtherClassic': 61,
'Zcash': 133,
'Bcash': 145,
}
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,
}