aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/bitcoinjs-extensions.js11
-rw-r--r--src/js/index.js7
-rw-r--r--src/js/segwit-parameters.js26
3 files changed, 44 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index c2f2782..d711fac 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -914,6 +914,17 @@ bitcoinjs.bitcoin.networks.neoscoin = {
914 wif: 0xb1, 914 wif: 0xb1,
915}; 915};
916 916
917bitcoinjs.bitcoin.networks.nix = {
918 messagePrefix: '\x18Nix Signed Message:\n',
919 bip32: {
920 public: 0x0488b21e,
921 private: 0x0488ade4,
922 },
923 pubKeyHash: 0x26,
924 scriptHash: 0x35,
925 wif: 0x80,
926};
927
917bitcoinjs.bitcoin.networks.neurocoin = { 928bitcoinjs.bitcoin.networks.neurocoin = {
918 messagePrefix: '\x18PPCoin Signed Message:\n', 929 messagePrefix: '\x18PPCoin Signed Message:\n',
919 bip32: { 930 bip32: {
diff --git a/src/js/index.js b/src/js/index.js
index affcc61..9e955ae 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -2230,6 +2230,13 @@
2230 }, 2230 },
2231 }, 2231 },
2232 { 2232 {
2233 name: "NIX - NIX Platform",
2234 onSelect: function() {
2235 network = bitcoinjs.bitcoin.networks.nix;
2236 setHdCoin(400);
2237 },
2238 },
2239 {
2233 name: "NLG - Gulden", 2240 name: "NLG - Gulden",
2234 onSelect: function() { 2241 onSelect: function() {
2235 network = bitcoinjs.bitcoin.networks.gulden; 2242 network = bitcoinjs.bitcoin.networks.gulden;
diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js
index e52869e..a9bdcbc 100644
--- a/src/js/segwit-parameters.js
+++ b/src/js/segwit-parameters.js
@@ -210,4 +210,30 @@ bitcoinjs.bitcoin.networks.blockstamp.p2wpkhInP2sh = {
210 scriptHash: 0x05, 210 scriptHash: 0x05,
211 wif: 0x80, 211 wif: 0x80,
212}; 212};
213
214bitcoinjs.bitcoin.networks.nix.p2wpkh = {
215 baseNetwork: "nix",
216 messagePrefix: '\x18Nix Signed Message:\n',
217 bech32: 'nix',
218 bip32: {
219 public: 0x0488b21e,
220 private: 0x0488ade4,
221 },
222 pubKeyHash: 0x26,
223 scriptHash: 0x35,
224 wif: 0x80,
225};
226
227bitcoinjs.bitcoin.networks.nix.p2wpkhInP2sh = {
228 baseNetwork: "nix",
229 messagePrefix: '\x18Nix Signed Message:\n',
230 bech32: 'nix',
231 bip32: {
232 public: 0x0488b21e,
233 private: 0x0488ade4,
234 },
235 pubKeyHash: 0x26,
236 scriptHash: 0x35,
237 wif: 0x80,
238};
213})(); 239})();