diff options
author | Pavlos Tzegiannakis <pavlostze@gmail.com> | 2019-09-13 16:10:08 +0300 |
---|---|---|
committer | Pavlos Tzegiannakis <pavlostze@gmail.com> | 2019-09-13 16:10:08 +0300 |
commit | 385ee32fd4c6cca4e1eb32a921613a6dbae7381a (patch) | |
tree | 516e5b305618218a2dd40813ce4ca696e951bc64 | |
parent | 5b689bd6e77f047eff37e43f0ffa487cb59edc45 (diff) | |
download | BIP39-385ee32fd4c6cca4e1eb32a921613a6dbae7381a.tar.gz BIP39-385ee32fd4c6cca4e1eb32a921613a6dbae7381a.tar.zst BIP39-385ee32fd4c6cca4e1eb32a921613a6dbae7381a.zip |
Enable segwit for MONKEY, BCA, BTX, MONA, SYS, VIA, DOGEt, LTCt
-rw-r--r-- | src/js/segwit-parameters.js | 234 |
1 files changed, 234 insertions, 0 deletions
diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js index 2f729f8..30e5aad 100644 --- a/src/js/segwit-parameters.js +++ b/src/js/segwit-parameters.js | |||
@@ -262,4 +262,238 @@ bitcoinjs.bitcoin.networks.cpuchain.p2wpkhInP2sh = { | |||
262 | scriptHash: 0x1e, | 262 | scriptHash: 0x1e, |
263 | wif: 0x80, | 263 | wif: 0x80, |
264 | }; | 264 | }; |
265 | |||
266 | bitcoinjs.bitcoin.networks.monkeyproject.p2wpkh = { | ||
267 | baseNetwork: "monkeyproject", | ||
268 | messagePrefix: 'Monkey Signed Message:\n', | ||
269 | bech32: 'monkey', | ||
270 | bip32: { | ||
271 | public: 0x0488b21e, | ||
272 | private: 0x0488dde4 | ||
273 | }, | ||
274 | pubKeyHash: 0x33, | ||
275 | scriptHash: 0x1c, | ||
276 | wif: 0x37 | ||
277 | }; | ||
278 | |||
279 | bitcoinjs.bitcoin.networks.monkeyproject.p2wpkhInP2sh = { | ||
280 | baseNetwork: "monkeyproject", | ||
281 | messagePrefix: 'Monkey Signed Message:\n', | ||
282 | bech32: 'monkey', | ||
283 | bip32: { | ||
284 | public: 0x0488b21e, | ||
285 | private: 0x0488dde4 | ||
286 | }, | ||
287 | pubKeyHash: 0x33, | ||
288 | scriptHash: 0x1c, | ||
289 | wif: 0x37 | ||
290 | }; | ||
291 | |||
292 | bitcoinjs.bitcoin.networks.atom.p2wpkh = { | ||
293 | baseNetwork: "atom", | ||
294 | messagePrefix: '\x18Bitcoin Atom Signed Message:\n', | ||
295 | bech32: 'atom', | ||
296 | bip32: { | ||
297 | public: 0x0488B21E, | ||
298 | private: 0x0488ADE4 | ||
299 | }, | ||
300 | pubKeyHash: 0x17, | ||
301 | scriptHash: 0x0a, | ||
302 | wif: 0x80 | ||
303 | }; | ||
304 | |||
305 | bitcoinjs.bitcoin.networks.atom.p2wpkhInP2sh = { | ||
306 | baseNetwork: "atom", | ||
307 | messagePrefix: '\x18Bitcoin Atom Signed Message:\n', | ||
308 | bech32: 'atom', | ||
309 | bip32: { | ||
310 | public: 0x0488B21E, | ||
311 | private: 0x0488ADE4 | ||
312 | }, | ||
313 | pubKeyHash: 0x17, | ||
314 | scriptHash: 0x0a, | ||
315 | wif: 0x80 | ||
316 | }; | ||
317 | |||
318 | bitcoinjs.bitcoin.networks.bitcore.p2wpkh = { | ||
319 | baseNetwork: "bitcore", | ||
320 | messagePrefix: '\x18BitCore Signed Message:\n', | ||
321 | bech32: 'bitcore', | ||
322 | bip32: { | ||
323 | public: 0x0488B21E, | ||
324 | private: 0x0488ADE4 | ||
325 | }, | ||
326 | pubKeyHash: 0x03, | ||
327 | scriptHash: 0x7D, | ||
328 | wif: 0x80 | ||
329 | }; | ||
330 | |||
331 | bitcoinjs.bitcoin.networks.bitcore.p2wpkhInP2sh = { | ||
332 | baseNetwork: "bitcore", | ||
333 | messagePrefix: '\x18BitCore Signed Message:\n', | ||
334 | bech32: 'bitcore', | ||
335 | bip32: { | ||
336 | public: 0x0488B21E, | ||
337 | private: 0x0488ADE4 | ||
338 | }, | ||
339 | pubKeyHash: 0x03, | ||
340 | scriptHash: 0x7D, | ||
341 | wif: 0x80 | ||
342 | }; | ||
343 | |||
344 | bitcoinjs.bitcoin.networks.monacoin.p2wpkh = { | ||
345 | baseNetwork: "monacoin", | ||
346 | messagePrefix: '\x18Monacoin Signed Message:\n', | ||
347 | bech32: 'monacoin', | ||
348 | bip32: { | ||
349 | public: 0x0488b21e, | ||
350 | private: 0x0488ade4 | ||
351 | }, | ||
352 | pubKeyHash: 0x32, | ||
353 | scriptHash: 0x37, | ||
354 | wif: 0xb0 | ||
355 | }; | ||
356 | |||
357 | bitcoinjs.bitcoin.networks.monacoin.p2wpkhInP2sh = { | ||
358 | baseNetwork: "monacoin", | ||
359 | messagePrefix: '\x18Monacoin Signed Message:\n', | ||
360 | bech32: 'monacoin', | ||
361 | bip32: { | ||
362 | public: 0x0488b21e, | ||
363 | private: 0x0488ade4 | ||
364 | }, | ||
365 | pubKeyHash: 0x32, | ||
366 | scriptHash: 0x37, | ||
367 | wif: 0xb0 | ||
368 | }; | ||
369 | |||
370 | bitcoinjs.bitcoin.networks.syscoin.p2wpkh = { | ||
371 | baseNetwork: "syscoin", | ||
372 | messagePrefix: '\x18Syscoin Signed Message:\n', | ||
373 | bech32: 'syscoin', | ||
374 | bip32: { | ||
375 | public: 0x0488B21E, | ||
376 | private: 0x0488ADE4 | ||
377 | }, | ||
378 | pubKeyHash: 0x3f, | ||
379 | scriptHash: 0x05, | ||
380 | wif: 0x80 | ||
381 | }; | ||
382 | |||
383 | bitcoinjs.bitcoin.networks.syscoin.p2wpkhInP2sh = { | ||
384 | baseNetwork: "syscoin", | ||
385 | messagePrefix: '\x18Syscoin Signed Message:\n', | ||
386 | bech32: 'syscoin', | ||
387 | bip32: { | ||
388 | public: 0x0488B21E, | ||
389 | private: 0x0488ADE4 | ||
390 | }, | ||
391 | pubKeyHash: 0x3f, | ||
392 | scriptHash: 0x05, | ||
393 | wif: 0x80 | ||
394 | }; | ||
395 | |||
396 | bitcoinjs.bitcoin.networks.viacoin.p2wpkh = { | ||
397 | baseNetwork: "viacoin", | ||
398 | messagePrefix: '\x18Viacoin Signed Message:\n', | ||
399 | bech32: 'viacoin', | ||
400 | bip32: { | ||
401 | public: 0x0488b21e, | ||
402 | private: 0x0488ade4 | ||
403 | }, | ||
404 | pubKeyHash: 0x47, | ||
405 | scriptHash: 0x21, | ||
406 | wif: 0xc7 | ||
407 | }; | ||
408 | |||
409 | bitcoinjs.bitcoin.networks.viacoin.p2wpkhInP2sh = { | ||
410 | baseNetwork: "viacoin", | ||
411 | messagePrefix: '\x18Viacoin Signed Message:\n', | ||
412 | bech32: 'viacoin', | ||
413 | bip32: { | ||
414 | public: 0x0488b21e, | ||
415 | private: 0x0488ade4 | ||
416 | }, | ||
417 | pubKeyHash: 0x47, | ||
418 | scriptHash: 0x21, | ||
419 | wif: 0xc7 | ||
420 | }; | ||
421 | |||
422 | bitcoinjs.bitcoin.networks.dogecointestnet.p2wpkh = { | ||
423 | baseNetwork: "dogecointestnet", | ||
424 | messagePrefix: '\x19Dogecoin Signed Message:\n', | ||
425 | bech32: 'dogecointestnet', | ||
426 | bip32: { | ||
427 | public: 0x043587cf, | ||
428 | private: 0x04358394 | ||
429 | }, | ||
430 | pubKeyHash: 0x71, | ||
431 | scriptHash: 0xc4, | ||
432 | wif: 0xf1 | ||
433 | }; | ||
434 | |||
435 | bitcoinjs.bitcoin.networks.dogecointestnet.p2wpkhInP2sh = { | ||
436 | baseNetwork: "dogecointestnet", | ||
437 | messagePrefix: '\x19Dogecoin Signed Message:\n', | ||
438 | bech32: 'dogecointestnet', | ||
439 | bip32: { | ||
440 | public: 0x043587cf, | ||
441 | private: 0x04358394 | ||
442 | }, | ||
443 | pubKeyHash: 0x71, | ||
444 | scriptHash: 0xc4, | ||
445 | wif: 0xf1 | ||
446 | }; | ||
447 | |||
448 | bitcoinjs.bitcoin.networks.dogecointestnet.p2wpkh = { | ||
449 | baseNetwork: "dogecointestnet", | ||
450 | messagePrefix: '\x19Dogecoin Signed Message:\n', | ||
451 | bech32: 'dogecointestnet', | ||
452 | bip32: { | ||
453 | public: 0x043587cf, | ||
454 | private: 0x04358394 | ||
455 | }, | ||
456 | pubKeyHash: 0x71, | ||
457 | scriptHash: 0xc4, | ||
458 | wif: 0xf1 | ||
459 | }; | ||
460 | |||
461 | bitcoinjs.bitcoin.networks.dogecointestnet.p2wpkhInP2sh = { | ||
462 | baseNetwork: "dogecointestnet", | ||
463 | messagePrefix: '\x19Dogecoin Signed Message:\n', | ||
464 | bech32: 'dogecointestnet', | ||
465 | bip32: { | ||
466 | public: 0x043587cf, | ||
467 | private: 0x04358394 | ||
468 | }, | ||
469 | pubKeyHash: 0x71, | ||
470 | scriptHash: 0xc4, | ||
471 | wif: 0xf1 | ||
472 | }; | ||
473 | |||
474 | bitcoinjs.bitcoin.networks.litecointestnet.p2wpkh = { | ||
475 | baseNetwork: "litecointestnet", | ||
476 | messagePrefix: '\x18Litecoin Signed Message:\n', | ||
477 | bech32: 'litecointestnet', | ||
478 | bip32: { | ||
479 | public: 0x043587cf, | ||
480 | private: 0x04358394 | ||
481 | }, | ||
482 | pubKeyHash: 0x6f, | ||
483 | scriptHash: 0xc4, | ||
484 | wif: 0xef | ||
485 | }; | ||
486 | |||
487 | bitcoinjs.bitcoin.networks.litecointestnet.p2wpkhInP2sh = { | ||
488 | baseNetwork: "litecointestnet", | ||
489 | messagePrefix: '\x18Litecoin Signed Message:\n', | ||
490 | bech32: 'litecointestnet', | ||
491 | bip32: { | ||
492 | public: 0x043587cf, | ||
493 | private: 0x04358394 | ||
494 | }, | ||
495 | pubKeyHash: 0x6f, | ||
496 | scriptHash: 0xc4, | ||
497 | wif: 0xef | ||
498 | }; | ||
265 | })(); | 499 | })(); |