diff options
author | iancoleman <1281387+iancoleman@users.noreply.github.com> | 2020-08-25 09:27:54 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-25 09:27:54 +1000 |
commit | 863eee8ed754e4aebd5059b712deb4fca8709c27 (patch) | |
tree | 2a430aaa691173b9c45f354b15d105db4e3ae98a /src | |
parent | f32b24e3807426d235fa5d808543001b9ee3ba39 (diff) | |
parent | 4729ecca04a9f9300d09a2c799870e2003222e84 (diff) | |
download | BIP39-863eee8ed754e4aebd5059b712deb4fca8709c27.tar.gz BIP39-863eee8ed754e4aebd5059b712deb4fca8709c27.tar.zst BIP39-863eee8ed754e4aebd5059b712deb4fca8709c27.zip |
Merge pull request #433 from scribenetwork/master
Add Scribe support
Diffstat (limited to 'src')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 11 | ||||
-rw-r--r-- | src/js/index.js | 7 |
2 files changed, 18 insertions, 0 deletions
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 = { | |||
139 | wif: 0xcc | 139 | wif: 0xcc |
140 | }; | 140 | }; |
141 | 141 | ||
142 | libs.bitcoin.networks.scribe = { | ||
143 | messagePrefix: 'unused', | ||
144 | bip32: { | ||
145 | public: 0x0488B21E, | ||
146 | private: 0x0488ADE4 | ||
147 | }, | ||
148 | pubKeyHash: 0x3c, | ||
149 | scriptHash: 0x7d, | ||
150 | wif: 0x6e | ||
151 | }; | ||
152 | |||
142 | libs.bitcoin.networks.slimcoin = { | 153 | libs.bitcoin.networks.slimcoin = { |
143 | messagePrefix: 'unused', | 154 | messagePrefix: 'unused', |
144 | bip32: { | 155 | bip32: { |
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 @@ | |||
3088 | setHdCoin(19165); | 3088 | setHdCoin(19165); |
3089 | }, | 3089 | }, |
3090 | }, | 3090 | }, |
3091 | { | ||
3092 | name: "SCRIBE - Scribe", | ||
3093 | onSelect: function() { | ||
3094 | network = libs.bitcoin.networks.scribe; | ||
3095 | setHdCoin(545); | ||
3096 | }, | ||
3097 | }, | ||
3091 | { | 3098 | { |
3092 | name: "SLS - Salus", | 3099 | name: "SLS - Salus", |
3093 | onSelect: function() { | 3100 | onSelect: function() { |