aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/js/bitcoinjs-extensions.js11
-rw-r--r--src/js/index.js8
2 files changed, 19 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 58a8d77..661e089 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -239,3 +239,14 @@ bitcoinjs.bitcoin.networks.fujicoin = {
239 scriptHash: 0x10, 239 scriptHash: 0x10,
240 wif: 0xa4 240 wif: 0xa4
241}; 241};
242
243bitcoinjs.bitcoin.networks.nubits = {
244 messagePrefix: '\x18Nu Signed Message:\n',
245 bip32: {
246 public: 0x0488b21e,
247 private: 0x0488ade4
248 },
249 pubKeyHash: 0x19,
250 scriptHash: 0x1a,
251 wif: 0x96,
252};
diff --git a/src/js/index.js b/src/js/index.js
index f7a1be2..d61c314 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1387,6 +1387,14 @@
1387 }, 1387 },
1388 }, 1388 },
1389 { 1389 {
1390 name: "USNBT - NuBits",
1391 p2wpkhNestedInP2shAvailable: false,
1392 onSelect: function() {
1393 network = bitcoinjs.bitcoin.networks.nubits;
1394 setHdCoin(12);
1395 },
1396 },
1397 {
1390 name: "VIA - Viacoin", 1398 name: "VIA - Viacoin",
1391 p2wpkhNestedInP2shAvailable: false, 1399 p2wpkhNestedInP2shAvailable: false,
1392 onSelect: function() { 1400 onSelect: function() {