]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blame_incremental - src/js/segwit-parameters.js
Remove trailing spaces
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / src / js / segwit-parameters.js
... / ...
CommitLineData
1(function() {
2
3// p2wpkh
4
5libs.bitcoin.networks.bitcoin.p2wpkh = {
6 baseNetwork: "bitcoin",
7 messagePrefix: '\x18Bitcoin Signed Message:\n',
8 bech32: 'bc',
9 bip32: {
10 public: 0x04b24746,
11 private: 0x04b2430c
12 },
13 pubKeyHash: 0x00,
14 scriptHash: 0x05,
15 wif: 0x80
16};
17
18libs.bitcoin.networks.testnet.p2wpkh = {
19 baseNetwork: "testnet",
20 messagePrefix: '\x18Bitcoin Signed Message:\n',
21 bech32: 'tb',
22 bip32: {
23 public: 0x045f1cf6,
24 private: 0x045f18bc
25 },
26 pubKeyHash: 0x6f,
27 scriptHash: 0xc4,
28 wif: 0xef
29};
30
31libs.bitcoin.networks.regtest.p2wpkh = {
32 baseNetwork: "regtest",
33 messagePrefix: '\x18Bitcoin Signed Message:\n',
34 bech32: 'bcrt',
35 bip32: {
36 public: 0x045f1cf6,
37 private: 0x045f18bc
38 },
39 pubKeyHash: 0x6f,
40 scriptHash: 0xc4,
41 wif: 0xef
42};
43
44// p2wpkh in p2sh
45
46libs.bitcoin.networks.bitcoin.p2wpkhInP2sh = {
47 baseNetwork: "bitcoin",
48 messagePrefix: '\x18Bitcoin Signed Message:\n',
49 bech32: 'bc',
50 bip32: {
51 public: 0x049d7cb2,
52 private: 0x049d7878
53 },
54 pubKeyHash: 0x00,
55 scriptHash: 0x05,
56 wif: 0x80
57};
58
59libs.bitcoin.networks.testnet.p2wpkhInP2sh = {
60 baseNetwork: "testnet",
61 messagePrefix: '\x18Bitcoin Signed Message:\n',
62 bech32: 'tb',
63 bip32: {
64 public: 0x044a5262,
65 private: 0x044a4e28
66 },
67 pubKeyHash: 0x6f,
68 scriptHash: 0xc4,
69 wif: 0xef
70};
71
72libs.bitcoin.networks.regtest.p2wpkhInP2sh = {
73 baseNetwork: "regtest",
74 messagePrefix: '\x18Bitcoin Signed Message:\n',
75 bech32: 'bcrt',
76 bip32: {
77 public: 0x044a5262,
78 private: 0x044a4e28
79 },
80 pubKeyHash: 0x6f,
81 scriptHash: 0xc4,
82 wif: 0xef
83};
84
85// p2wsh
86
87libs.bitcoin.networks.bitcoin.p2wsh = {
88 baseNetwork: "bitcoin",
89 messagePrefix: '\x18Bitcoin Signed Message:\n',
90 bech32: 'bc',
91 bip32: {
92 public: 0x02aa7ed3,
93 private: 0x02aa7a99
94 },
95 pubKeyHash: 0x00,
96 scriptHash: 0x05,
97 wif: 0x80
98};
99
100libs.bitcoin.networks.testnet.p2wsh = {
101 baseNetwork: "testnet",
102 messagePrefix: '\x18Bitcoin Signed Message:\n',
103 bech32: 'tb',
104 bip32: {
105 public: 0x02575483,
106 private: 0x02575048
107 },
108 pubKeyHash: 0x6f,
109 scriptHash: 0xc4,
110 wif: 0xef
111};
112
113libs.bitcoin.networks.regtest.p2wsh = {
114 baseNetwork: "regtest",
115 messagePrefix: '\x18Bitcoin Signed Message:\n',
116 bech32: 'bcrt',
117 bip32: {
118 public: 0x02575483,
119 private: 0x02575048
120 },
121 pubKeyHash: 0x6f,
122 scriptHash: 0xc4,
123 wif: 0xef
124};
125
126// p2wsh in p2sh
127
128libs.bitcoin.networks.bitcoin.p2wshInP2sh = {
129 baseNetwork: "bitcoin",
130 messagePrefix: '\x18Bitcoin Signed Message:\n',
131 bech32: 'bc',
132 bip32: {
133 public: 0x0295b43f,
134 private: 0x0295b005
135 },
136 pubKeyHash: 0x00,
137 scriptHash: 0x05,
138 wif: 0x80
139};
140
141libs.bitcoin.networks.testnet.p2wshInP2sh = {
142 baseNetwork: "testnet",
143 messagePrefix: '\x18Bitcoin Signed Message:\n',
144 bech32: 'tb',
145 bip32: {
146 public: 0x024289ef,
147 private: 0x024285b5
148 },
149 pubKeyHash: 0x6f,
150 scriptHash: 0xc4,
151 wif: 0xef
152};
153
154libs.bitcoin.networks.regtest.p2wshInP2sh = {
155 baseNetwork: "regtest",
156 messagePrefix: '\x18Bitcoin Signed Message:\n',
157 bech32: 'bcrt',
158 bip32: {
159 public: 0x024289ef,
160 private: 0x024285b5
161 },
162 pubKeyHash: 0x6f,
163 scriptHash: 0xc4,
164 wif: 0xef
165};
166
167libs.bitcoin.networks.cranepay.p2wpkhInP2sh = {
168 baseNetwork: "cranepay",
169 messagePrefix: '\x18Bitcoin Signed Message:\n',
170 bech32: 'cp',
171 bip32: {
172 public: 0x049d7cb2,
173 private: 0x049d7878
174 },
175 pubKeyHash: 28,
176 scriptHash: 10,
177 wif: 123
178};
179
180// bech32
181libs.bitcoin.networks.cranepay.p2wpkh = {
182 baseNetwork: "cranepay",
183 messagePrefix: '\x18Bitcoin Signed Message:\n',
184 bech32: 'cp',
185 bip32: {
186 public: 0x04b24746,
187 private: 0x04b2430c
188 },
189 pubKeyHash: 28,
190 scriptHash: 10,
191 wif: 123
192};
193
194
195
196
197libs.bitcoin.networks.litecoin.p2wpkh = {
198 baseNetwork: "litecoin",
199 messagePrefix: '\x19Litecoin Signed Message:\n',
200 bech32: 'ltc',
201 bip32: {
202 public: 0x04b24746,
203 private: 0x04b2430c
204 },
205 pubKeyHash: 0x30,
206 scriptHash: 0x32,
207 wif: 0xb0
208};
209
210libs.bitcoin.networks.litecoin.p2wpkhInP2sh = {
211 baseNetwork: "litecoin",
212 messagePrefix: '\x19Litecoin Signed Message:\n',
213 bech32: 'ltc',
214 bip32: {
215 public: 0x01b26ef6,
216 private: 0x01b26792
217 },
218 pubKeyHash: 0x30,
219 scriptHash: 0x32,
220 wif: 0xb0
221};
222
223libs.bitcoin.networks.fujicoin.p2wpkh = {
224 baseNetwork: "fujicoin",
225 messagePrefix: '\x19FujiCoin Signed Message:\n',
226 bech32: 'fc',
227 bip32: {
228 public: 0x04b24746,
229 private: 0x04b2430c
230 },
231 pubKeyHash: 0x24,
232 scriptHash: 0x10,
233 wif: 0xa4
234};
235
236libs.bitcoin.networks.fujicoin.p2wpkhInP2sh = {
237 baseNetwork: "fujicoin",
238 messagePrefix: '\x19FujiCoin Signed Message:\n',
239 bech32: 'fc',
240 bip32: {
241 public: 0x049d7cb2,
242 private: 0x049d7878
243 },
244 pubKeyHash: 0x24,
245 scriptHash: 0x10,
246 wif: 0xa4
247};
248
249libs.bitcoin.networks.vertcoin.p2wpkh = {
250 baseNetwork: "vertcoin",
251 messagePrefix: '\x18Vertcoin Signed Message:\n',
252 bech32: 'vtc',
253 bip32: {
254 public: 0x0488b21e,
255 private: 0x0488ade4
256 },
257 pubKeyHash: 71,
258 scriptHash: 5,
259 wif: 0x80
260};
261
262libs.bitcoin.networks.vertcoin.p2wpkhInP2sh = {
263 baseNetwork: "vertcoin",
264 messagePrefix: '\x18Vertcoin Signed Message:\n',
265 bip32: {
266 public: 0x0488b21e,
267 private: 0x0488ade4
268 },
269 pubKeyHash: 71,
270 scriptHash: 5,
271 wif: 0x80
272};
273
274libs.bitcoin.networks.bgold.p2wpkh = {
275 baseNetwork: "bgold",
276 messagePrefix: '\x1DBitcoin Gold Signed Message:\n',
277 bech32: 'btg',
278 bip32: {
279 public: 0x04b24746,
280 private: 0x04b2430c
281 },
282 pubKeyHash: 0x26,
283 scriptHash: 0x17,
284 wif: 0x80,
285};
286
287libs.bitcoin.networks.bgold.p2wpkhInP2sh = {
288 baseNetwork: "bgold",
289 messagePrefix: '\x1DBitcoin Gold Signed Message:\n',
290 bech32: 'btg',
291 bip32: {
292 public: 0x049d7cb2,
293 private: 0x049d7878
294 },
295 pubKeyHash: 0x26,
296 scriptHash: 0x17,
297 wif: 0x80,
298};
299
300libs.bitcoin.networks.digibyte.p2wpkh = {
301 baseNetwork: "digibyte",
302 messagePrefix: 'x19DigiByte Signed Message:\n',
303 bech32: 'dgb',
304 bip32: {
305 public: 0x04b24746,
306 private: 0x04b2430c
307 },
308 pubKeyHash: 0x1e,
309 scriptHash: 0x3f,
310 wif: 0x80
311};
312
313libs.bitcoin.networks.digibyte.p2wpkhInP2sh = {
314 baseNetwork: "digibyte",
315 messagePrefix: '\x19DigiByte Signed Message:\n',
316 bech32: 'dgb',
317 bip32: {
318 public: 0x049d7cb2,
319 private: 0x049d7878
320 },
321 pubKeyHash: 0x1e,
322 scriptHash: 0x3f,
323 wif: 0x80
324};
325
326libs.bitcoin.networks.blockstamp.p2wpkh = {
327 baseNetwork: "blockstamp",
328 messagePrefix: '\x18BlockStamp Signed Message:\n',
329 bech32: 'bc',
330 bip32: {
331 public: 0x0488B21E,
332 private: 0x0488ADE4,
333 },
334 pubKeyHash: 0x00,
335 scriptHash: 0x05,
336 wif: 0x80,
337};
338
339libs.bitcoin.networks.blockstamp.p2wpkhInP2sh = {
340 baseNetwork: "blockstamp",
341 messagePrefix: '\x18BlockStamp Signed Message:\n',
342 bech32: 'bc',
343 bip32: {
344 public: 0x0488B21E,
345 private: 0x0488ADE4,
346 },
347 pubKeyHash: 0x00,
348 scriptHash: 0x05,
349 wif: 0x80,
350};
351
352libs.bitcoin.networks.nix.p2wpkh = {
353 baseNetwork: "nix",
354 messagePrefix: '\x18Nix Signed Message:\n',
355 bech32: 'nix',
356 bip32: {
357 public: 0x0488b21e,
358 private: 0x0488ade4,
359 },
360 pubKeyHash: 0x26,
361 scriptHash: 0x35,
362 wif: 0x80,
363};
364
365libs.bitcoin.networks.nix.p2wpkhInP2sh = {
366 baseNetwork: "nix",
367 messagePrefix: '\x18Nix Signed Message:\n',
368 bech32: 'nix',
369 bip32: {
370 public: 0x0488b21e,
371 private: 0x0488ade4,
372 },
373 pubKeyHash: 0x26,
374 scriptHash: 0x35,
375 wif: 0x80,
376};
377
378libs.bitcoin.networks.cpuchain.p2wpkh = {
379 baseNetwork: "cpuchain",
380 messagePrefix: '\x1DCPUchain Signed Message:\n',
381 bech32: 'cpu',
382 bip32: {
383 public: 0x04b24746,
384 private: 0x04b2430c
385 },
386 pubKeyHash: 0x1c,
387 scriptHash: 0x1e,
388 wif: 0x80,
389};
390
391libs.bitcoin.networks.cpuchain.p2wpkhInP2sh = {
392 baseNetwork: "cpuchain",
393 messagePrefix: '\x1DCPUchain Signed Message:\n',
394 bech32: 'cpu',
395 bip32: {
396 public: 0x049d7cb2,
397 private: 0x049d7878
398 },
399 pubKeyHash: 0x1c,
400 scriptHash: 0x1e,
401 wif: 0x80,
402};
403
404libs.bitcoin.networks.monkeyproject.p2wpkh = {
405 baseNetwork: "monkeyproject",
406 messagePrefix: 'Monkey Signed Message:\n',
407 bech32: 'monkey',
408 bip32: {
409 public: 0x0488b21e,
410 private: 0x0488dde4
411 },
412 pubKeyHash: 0x33,
413 scriptHash: 0x1c,
414 wif: 0x37
415};
416
417libs.bitcoin.networks.monkeyproject.p2wpkhInP2sh = {
418 baseNetwork: "monkeyproject",
419 messagePrefix: 'Monkey Signed Message:\n',
420 bech32: 'monkey',
421 bip32: {
422 public: 0x0488b21e,
423 private: 0x0488dde4
424 },
425 pubKeyHash: 0x33,
426 scriptHash: 0x1c,
427 wif: 0x37
428};
429
430libs.bitcoin.networks.atom.p2wpkh = {
431 baseNetwork: "atom",
432 messagePrefix: '\x18Bitcoin Atom Signed Message:\n',
433 bech32: 'atom',
434 bip32: {
435 public: 0x0488B21E,
436 private: 0x0488ADE4
437 },
438 pubKeyHash: 0x17,
439 scriptHash: 0x0a,
440 wif: 0x80
441};
442
443libs.bitcoin.networks.atom.p2wpkhInP2sh = {
444 baseNetwork: "atom",
445 messagePrefix: '\x18Bitcoin Atom Signed Message:\n',
446 bech32: 'atom',
447 bip32: {
448 public: 0x0488B21E,
449 private: 0x0488ADE4
450 },
451 pubKeyHash: 0x17,
452 scriptHash: 0x0a,
453 wif: 0x80
454};
455
456libs.bitcoin.networks.bitcore.p2wpkh = {
457 baseNetwork: "bitcore",
458 messagePrefix: '\x18BitCore Signed Message:\n',
459 bech32: 'bitcore',
460 bip32: {
461 public: 0x0488B21E,
462 private: 0x0488ADE4
463 },
464 pubKeyHash: 0x03,
465 scriptHash: 0x7D,
466 wif: 0x80
467};
468
469libs.bitcoin.networks.bitcore.p2wpkhInP2sh = {
470 baseNetwork: "bitcore",
471 messagePrefix: '\x18BitCore Signed Message:\n',
472 bech32: 'bitcore',
473 bip32: {
474 public: 0x0488B21E,
475 private: 0x0488ADE4
476 },
477 pubKeyHash: 0x03,
478 scriptHash: 0x7D,
479 wif: 0x80
480};
481
482libs.bitcoin.networks.monacoin.p2wpkh = {
483 baseNetwork: "monacoin",
484 messagePrefix: '\x18Monacoin Signed Message:\n',
485 bech32: 'mona',
486 bip32: {
487 public: 0x0488b21e,
488 private: 0x0488ade4
489 },
490 pubKeyHash: 0x32,
491 scriptHash: 0x37,
492 wif: 0xb0
493};
494
495libs.bitcoin.networks.monacoin.p2wpkhInP2sh = {
496 baseNetwork: "monacoin",
497 messagePrefix: '\x18Monacoin Signed Message:\n',
498 bech32: 'mona',
499 bip32: {
500 public: 0x0488b21e,
501 private: 0x0488ade4
502 },
503 pubKeyHash: 0x32,
504 scriptHash: 0x37,
505 wif: 0xb0
506};
507
508libs.bitcoin.networks.syscoin.p2wpkh = {
509 baseNetwork: "syscoin",
510 messagePrefix: '\x18Syscoin Signed Message:\n',
511 bech32: 'sys',
512 bip32: {
513 public: 0x04b24746,
514 private: 0x04b2430c
515 },
516 pubKeyHash: 0x3f,
517 scriptHash: 0x05,
518 wif: 0x80
519};
520
521libs.bitcoin.networks.syscoin.p2wpkhInP2sh = {
522 baseNetwork: "syscoin",
523 messagePrefix: '\x18Syscoin Signed Message:\n',
524 bech32: 'sys',
525 bip32: {
526 public: 0x049d7cb2,
527 private: 0x049d7878
528 },
529 pubKeyHash: 0x3f,
530 scriptHash: 0x05,
531 wif: 0x80
532};
533
534libs.bitcoin.networks.viacoin.p2wpkh = {
535 baseNetwork: "viacoin",
536 messagePrefix: '\x18Viacoin Signed Message:\n',
537 bech32: 'viacoin',
538 bip32: {
539 public: 0x0488b21e,
540 private: 0x0488ade4
541 },
542 pubKeyHash: 0x47,
543 scriptHash: 0x21,
544 wif: 0xc7
545};
546
547libs.bitcoin.networks.viacoin.p2wpkhInP2sh = {
548 baseNetwork: "viacoin",
549 messagePrefix: '\x18Viacoin Signed Message:\n',
550 bech32: 'viacoin',
551 bip32: {
552 public: 0x0488b21e,
553 private: 0x0488ade4
554 },
555 pubKeyHash: 0x47,
556 scriptHash: 0x21,
557 wif: 0xc7
558};
559
560libs.bitcoin.networks.dogecointestnet.p2wpkh = {
561 baseNetwork: "dogecointestnet",
562 messagePrefix: '\x19Dogecoin Signed Message:\n',
563 bech32: 'dogecointestnet',
564 bip32: {
565 public: 0x043587cf,
566 private: 0x04358394
567 },
568 pubKeyHash: 0x71,
569 scriptHash: 0xc4,
570 wif: 0xf1
571};
572
573libs.bitcoin.networks.dogecointestnet.p2wpkhInP2sh = {
574 baseNetwork: "dogecointestnet",
575 messagePrefix: '\x19Dogecoin Signed Message:\n',
576 bech32: 'dogecointestnet',
577 bip32: {
578 public: 0x043587cf,
579 private: 0x04358394
580 },
581 pubKeyHash: 0x71,
582 scriptHash: 0xc4,
583 wif: 0xf1
584};
585
586libs.bitcoin.networks.dogecointestnet.p2wpkh = {
587 baseNetwork: "dogecointestnet",
588 messagePrefix: '\x19Dogecoin Signed Message:\n',
589 bech32: 'dogecointestnet',
590 bip32: {
591 public: 0x043587cf,
592 private: 0x04358394
593 },
594 pubKeyHash: 0x71,
595 scriptHash: 0xc4,
596 wif: 0xf1
597};
598
599libs.bitcoin.networks.dogecointestnet.p2wpkhInP2sh = {
600 baseNetwork: "dogecointestnet",
601 messagePrefix: '\x19Dogecoin Signed Message:\n',
602 bech32: 'dogecointestnet',
603 bip32: {
604 public: 0x043587cf,
605 private: 0x04358394
606 },
607 pubKeyHash: 0x71,
608 scriptHash: 0xc4,
609 wif: 0xf1
610};
611
612libs.bitcoin.networks.litecointestnet.p2wpkh = {
613 baseNetwork: "litecointestnet",
614 messagePrefix: '\x18Litecoin Signed Message:\n',
615 bech32: 'litecointestnet',
616 bip32: {
617 public: 0x043587cf,
618 private: 0x04358394
619 },
620 pubKeyHash: 0x6f,
621 scriptHash: 0xc4,
622 wif: 0xef
623};
624
625libs.bitcoin.networks.litecointestnet.p2wpkhInP2sh = {
626 baseNetwork: "litecointestnet",
627 messagePrefix: '\x18Litecoin Signed Message:\n',
628 bech32: 'litecointestnet',
629 bip32: {
630 public: 0x043587cf,
631 private: 0x04358394
632 },
633 pubKeyHash: 0x6f,
634 scriptHash: 0xc4,
635 wif: 0xef
636};
637
638libs.bitcoin.networks.groestlcoin.p2wpkh = {
639 baseNetwork: "groestlcoin",
640 messagePrefix: '\x19GroestlCoin Signed Message:\n',
641 bech32: 'grs',
642 bip32: {
643 public: 0x04b24746,
644 private: 0x04b2430c
645 },
646 pubKeyHash: 0x24,
647 scriptHash: 0x05,
648 wif: 0x80,
649};
650
651libs.bitcoin.networks.groestlcointestnet.p2wpkh = {
652 baseNetwork: "groestlcointestnet",
653 messagePrefix: '\x19GroestlCoin Signed Message:\n',
654 bech32: 'tgrs',
655 bip32: {
656 public: 0x045f1cf6,
657 private: 0x045f18bc
658 },
659 pubKeyHash: 0x6f,
660 scriptHash: 0xc4,
661 wif: 0xef
662};
663
664libs.bitcoin.networks.groestlcoin.p2wpkhInP2sh = {
665 baseNetwork: "groestlcoin",
666 messagePrefix: '\x19GroestlCoin Signed Message:\n',
667 bech32: 'grs',
668 bip32: {
669 public: 0x049d7cb2,
670 private: 0x049d7878
671 },
672 pubKeyHash: 0x24,
673 scriptHash: 0x05,
674 wif: 0x80,
675};
676
677libs.bitcoin.networks.groestlcointestnet.p2wpkhInP2sh = {
678 baseNetwork: "groestlcointestnet",
679 messagePrefix: '\x19GroestlCoin Signed Message:\n',
680 bech32: 'tgrs',
681 bip32: {
682 public: 0x044a5262,
683 private: 0x044a4e28
684 },
685 pubKeyHash: 0x6f,
686 scriptHash: 0xc4,
687 wif: 0xef
688};
689
690libs.bitcoin.networks.deeponion.p2wpkh = {
691 baseNetwork: "deeponion",
692 messagePrefix: '\x18DeepOnion Signed Message:\n',
693 bech32: 'dpn',
694 bip32: {
695 public: 0x0488b21e,
696 private: 0x0488ade4
697 },
698 pubKeyHash: 0x1f,
699 scriptHash: 0x4e,
700 wif: 0x9f
701};
702
703libs.bitcoin.networks.deeponion.p2wpkhInP2sh = {
704 baseNetwork: "deeponion",
705 messagePrefix: '\x18DeepOnion Signed Message:\n',
706 bech32: 'dpn',
707 bip32: {
708 public: 0x0488b21e,
709 private: 0x0488ade4
710 },
711 pubKeyHash: 0x1f,
712 scriptHash: 0x4e,
713 wif: 0x9f
714};
715
716libs.bitcoin.networks.sugarchain.p2wpkh = {
717 baseNetwork: "sugarchain",
718 messagePrefix: '\x1DSugarchain Signed Message:\n',
719 bech32: 'sugar',
720 bip32: {
721 public: 0x04b24746,
722 private: 0x04b2430c
723 },
724 pubKeyHash: 0x3f,
725 scriptHash: 0x7d,
726 wif: 0x80
727};
728
729libs.bitcoin.networks.sugarchain.p2wpkhInP2sh = {
730 baseNetwork: "sugarchain",
731 messagePrefix: '\x1DSugarchain Signed Message:\n',
732 bech32: 'sugar',
733 bip32: {
734 public: 0x049d7cb2,
735 private: 0x049d7878
736 },
737 pubKeyHash: 0x3f,
738 scriptHash: 0x7d,
739 wif: 0x80
740};
741
742libs.bitcoin.networks.sugarchaintestnet.p2wpkh = {
743 baseNetwork: "sugarchaintestnet",
744 messagePrefix: '\x18Sugarchain Signed Message:\n',
745 bech32: 'tugar',
746 bip32: {
747 public: 0x045f1cf6,
748 private: 0x045f18bc
749 },
750 pubKeyHash: 0x42,
751 scriptHash: 0x80,
752 wif: 0xef
753};
754
755libs.bitcoin.networks.sugarchaintestnet.p2wpkhInP2sh = {
756 baseNetwork: "sugarchaintestnet",
757 messagePrefix: '\x18Sugarchain Signed Message:\n',
758 bech32: 'tugar',
759 bip32: {
760 public: 0x044a5262,
761 private: 0x044a4e28
762 },
763 pubKeyHash: 0x42,
764 scriptHash: 0x80,
765 wif: 0xef
766};
767
768})();