diff --git a/trezorlib/coins.py b/trezorlib/coins.py index 4298e0c..21ea232 100644 --- a/trezorlib/coins.py +++ b/trezorlib/coins.py @@ -1,4 +1,4 @@ -from .tx_api import TxApiBitcoin, TxApiTestnet, TxApiLitecoin, TxApiZcash, TxApiDash, TxApiBcash, TxApiDecredTestnet, TxApiDogecoin, TxApiMonacoin, TxApiBitcoinGold +from .tx_api import TxApiBitcoin, TxApiTestnet, TxApiLitecoin, TxApiZcash, TxApiDash, TxApiBcash, TxApiDecredTestnet, TxApiDogecoin, TxApiMonacoin, TxApiBitcoinGold, TxApiBitcoinPrivate coins_slip44 = { 'Bitcoin': 0, @@ -15,6 +15,7 @@ coins_slip44 = { 'Zcash': 133, 'Bcash': 145, 'Bitcoin Gold': 156, + 'Bitcoin Private': 183, } coins_txapi = { @@ -28,4 +29,5 @@ coins_txapi = { 'Dogecoin': TxApiDogecoin, 'Monacoin': TxApiMonacoin, 'Bitcoin Gold': TxApiBitcoinGold, + 'Bitcoin Private': TxApiBitcoinPrivate, } diff --git a/trezorlib/tx_api.py b/trezorlib/tx_api.py index b06e9e7..8784e1c 100644 --- a/trezorlib/tx_api.py +++ b/trezorlib/tx_api.py @@ -195,3 +195,4 @@ TxApiDecredTestnet = TxApiInsight(network='insight_decred_testnet', url='https:/ TxApiDogecoin = TxApiBlockCypher(network='blockcypher_dogecoin', url='https://api.blockcypher.com/v1/doge/main/') TxApiSegnet = TxApiSmartbit(network='smartbit_segnet', url='https://segnet-api.smartbit.com.au/v1/blockchain/') TxApiMonacoin = TxApiInsight(network='insight_monacoin', url='https://mona.insight.monaco-ex.org/insight-api-monacoin/') +TxApiBitcoinPrivate = TxApiInsight(network='insight_bitcoin_private', url='https://explorer.btcprivate.org/api/', zcash=True)