From 95b306106ffd54bdb5b19d1b21617b677cb22262 Mon Sep 17 00:00:00 2001 From: scribenetwork <38965380+scribenetwork@users.noreply.github.com> Date: Wed, 12 Aug 2020 02:52:46 +0200 Subject: Update bitcoinjs-extensions.js --- src/js/bitcoinjs-extensions.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index 7cd480c..8f50f11 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js @@ -139,6 +139,17 @@ libs.bitcoin.networks.axe = { wif: 0xcc }; +libs.bitcoin.networks.scribe = { + messagePrefix: 'unused', + bip32: { + public: 0x0488B21E, + private: 0x0488ADE4 + }, + pubKeyHash: 0x3c, + scriptHash: 0x7d, + wif: 0x6e +}; + libs.bitcoin.networks.slimcoin = { messagePrefix: 'unused', bip32: { -- cgit v1.2.3 From fba7e98aeaf3c756ea4e4741026581c69f491093 Mon Sep 17 00:00:00 2001 From: scribenetwork <38965380+scribenetwork@users.noreply.github.com> Date: Wed, 12 Aug 2020 02:58:56 +0200 Subject: Update index.js --- src/js/index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/js/index.js b/src/js/index.js index 3dde602..2c2e99a 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -3088,6 +3088,13 @@ setHdCoin(19165); }, }, + { + name: "SCRIBE - Scribe", + onSelect: function() { + network = libs.bitcoin.networks.scribe; + setHdCoin(545); + }, + }, { name: "SLS - Salus", onSelect: function() { -- cgit v1.2.3 From 4729ecca04a9f9300d09a2c799870e2003222e84 Mon Sep 17 00:00:00 2001 From: scribenetwork <38965380+scribenetwork@users.noreply.github.com> Date: Wed, 19 Aug 2020 06:22:14 +0200 Subject: Update tests.js --- tests/spec/tests.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/spec/tests.js b/tests/spec/tests.js index 0e7edb9..14cdb8e 100644 --- a/tests/spec/tests.js +++ b/tests/spec/tests.js @@ -2265,6 +2265,16 @@ it('Allows selection of CranePay', function(done) { }; testNetwork(done, params); }); +it('Allows selection of Scribe', function(done) { + var params = { + selectText: "SCRIBE - Scribe", + phrase: "abandon abandon ability", + firstAddress: "RYAnPeBLD8veZ9Tw8xugeTC2f9PeZonLHM", + firstPubKey: "02c912bc4759c8a209475502fb5352ff5be8a8f13eb72f1732ee25125cd53edc1e", + firstPrivKey: "HLZWvNCEUv4ghygjH9A2EYCa9HNRcxe5CS42kzUTmoxJYp3z96QE", + }; + testNetwork(done, params); +}); // BIP39 seed is set from phrase it('Sets the bip39 seed from the prhase', function(done) { -- cgit v1.2.3