python-trezor/trezorlib/coins.py

34 lines
874 B
Python
Raw Normal View History

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