Add Bitcoin Private Support

This commit is contained in:
Chris Sulmone 2018-03-12 01:27:36 -05:00
parent ab5e4eee34
commit 524c308844
2 changed files with 4 additions and 1 deletions

View File

@ -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,
}

View File

@ -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)