aboutsummaryrefslogtreecommitdiff
path: root/src/js/segwit-parameters.js
diff options
context:
space:
mode:
authoriancoleman <1281387+iancoleman@users.noreply.github.com>2019-02-26 10:17:37 +1100
committerGitHub <noreply@github.com>2019-02-26 10:17:37 +1100
commit9f83f0fcd7463307535828e81fa716352c74473a (patch)
tree210de68d6578bd38a5f9ee20c48c4bbb7fd74d7c /src/js/segwit-parameters.js
parentda6b42b2f01e190b8725d6b4596b7a1b118bdd3c (diff)
parent10980ed68cfcf683e64aef4d7c463c6b2b729185 (diff)
downloadBIP39-9f83f0fcd7463307535828e81fa716352c74473a.tar.gz
BIP39-9f83f0fcd7463307535828e81fa716352c74473a.tar.zst
BIP39-9f83f0fcd7463307535828e81fa716352c74473a.zip
Merge pull request #302 from robiiinos/master
Added NIX - NIX Platform
Diffstat (limited to 'src/js/segwit-parameters.js')
-rw-r--r--src/js/segwit-parameters.js26
1 files changed, 26 insertions, 0 deletions
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})();