aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/js/bitcoinjs-extensions.js2
-rw-r--r--src/js/index.js2
-rw-r--r--src/js/segwit-parameters.js25
3 files changed, 27 insertions, 2 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 80dcc89..b556f42 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -1142,7 +1142,7 @@ bitcoinjs.bitcoin.networks.vertcoin = {
1142 }, 1142 },
1143 pubKeyHash: 0x47, 1143 pubKeyHash: 0x47,
1144 scriptHash: 0x05, 1144 scriptHash: 0x05,
1145 wif: 0xc7, 1145 wif: 0x80,
1146}; 1146};
1147 1147
1148bitcoinjs.bitcoin.networks.vivo = { 1148bitcoinjs.bitcoin.networks.vivo = {
diff --git a/src/js/index.js b/src/js/index.js
index 5433bc3..758b840 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -2358,7 +2358,7 @@
2358 }, 2358 },
2359 { 2359 {
2360 name: "VTC - Vertcoin", 2360 name: "VTC - Vertcoin",
2361 segwitAvailable: false, 2361 segwitAvailable: true,
2362 onSelect: function() { 2362 onSelect: function() {
2363 network = bitcoinjs.bitcoin.networks.vertcoin; 2363 network = bitcoinjs.bitcoin.networks.vertcoin;
2364 setHdCoin(28); 2364 setHdCoin(28);
diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js
index 3cb7a8e..f8b0347 100644
--- a/src/js/segwit-parameters.js
+++ b/src/js/segwit-parameters.js
@@ -94,4 +94,29 @@ bitcoinjs.bitcoin.networks.fujicoin.p2wpkhInP2sh = {
94 wif: 0xa4 94 wif: 0xa4
95}; 95};
96 96
97bitcoinjs.bitcoin.networks.vertcoin.p2wpkh = {
98 baseNetwork: "vertcoin",
99 messagePrefix: '\x18Vertcoin Signed Message:\n',
100 bech32: 'vtc',
101 bip32: {
102 public: 0x0488b21e,
103 private: 0x0488ade4
104 },
105 pubKeyHash: 71,
106 scriptHash: 5,
107 wif: 0x80
108};
109
110bitcoinjs.bitcoin.networks.vertcoin.p2wpkhInP2sh = {
111 baseNetwork: "vertcoin",
112 messagePrefix: '\x18Vertcoin Signed Message:\n',
113 bip32: {
114 public: 0x0488b21e,
115 private: 0x0488ade4
116 },
117 pubKeyHash: 71,
118 scriptHash: 5,
119 wif: 0x80
120};
121
97})(); 122})();