1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 05:48:23 +00:00
trezor-firmware/trezorlib/coins.py

30 lines
700 B
Python
Raw Normal View History

2018-02-08 13:09:40 +00:00
from .tx_api import TxApiBitcoin, TxApiTestnet, TxApiLitecoin, TxApiZcash, TxApiDash, TxApiBcash, TxApiDecredTestnet, TxApiDogecoin, TxApiMonacoin
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,
}
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,
}