Merge pull request #210 from potatohodler/patch/vertcoin

Improve Vertcoin support
This commit is contained in:
iancoleman
2018-04-20 09:45:39 +10:00
committed by GitHub
3 changed files with 27 additions and 2 deletions

View File

@@ -1142,7 +1142,7 @@ bitcoinjs.bitcoin.networks.vertcoin = {
},
pubKeyHash: 0x47,
scriptHash: 0x05,
wif: 0xc7,
wif: 0x80,
};
bitcoinjs.bitcoin.networks.vivo = {

View File

@@ -2358,7 +2358,7 @@
},
{
name: "VTC - Vertcoin",
segwitAvailable: false,
segwitAvailable: true,
onSelect: function() {
network = bitcoinjs.bitcoin.networks.vertcoin;
setHdCoin(28);

View File

@@ -94,4 +94,29 @@ bitcoinjs.bitcoin.networks.fujicoin.p2wpkhInP2sh = {
wif: 0xa4
};
bitcoinjs.bitcoin.networks.vertcoin.p2wpkh = {
baseNetwork: "vertcoin",
messagePrefix: '\x18Vertcoin Signed Message:\n',
bech32: 'vtc',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4
},
pubKeyHash: 71,
scriptHash: 5,
wif: 0x80
};
bitcoinjs.bitcoin.networks.vertcoin.p2wpkhInP2sh = {
baseNetwork: "vertcoin",
messagePrefix: '\x18Vertcoin Signed Message:\n',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4
},
pubKeyHash: 71,
scriptHash: 5,
wif: 0x80
};
})();