]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blame_incremental - src/js/segwit-parameters.js
Catch nebulas error on some chrome configs
[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.litecoin.p2wpkh = {
168 baseNetwork: "litecoin",
169 messagePrefix: '\x19Litecoin Signed Message:\n',
170 bech32: 'ltc',
171 bip32: {
172 public: 0x04b24746,
173 private: 0x04b2430c
174 },
175 pubKeyHash: 0x30,
176 scriptHash: 0x32,
177 wif: 0xb0
178};
179
180libs.bitcoin.networks.litecoin.p2wpkhInP2sh = {
181 baseNetwork: "litecoin",
182 messagePrefix: '\x19Litecoin Signed Message:\n',
183 bech32: 'ltc',
184 bip32: {
185 public: 0x01b26ef6,
186 private: 0x01b26792
187 },
188 pubKeyHash: 0x30,
189 scriptHash: 0x32,
190 wif: 0xb0
191};
192
193libs.bitcoin.networks.fujicoin.p2wpkh = {
194 baseNetwork: "fujicoin",
195 messagePrefix: '\x19FujiCoin Signed Message:\n',
196 bech32: 'fc',
197 bip32: {
198 public: 0x04b24746,
199 private: 0x04b2430c
200 },
201 pubKeyHash: 0x24,
202 scriptHash: 0x10,
203 wif: 0xa4
204};
205
206libs.bitcoin.networks.fujicoin.p2wpkhInP2sh = {
207 baseNetwork: "fujicoin",
208 messagePrefix: '\x19FujiCoin Signed Message:\n',
209 bech32: 'fc',
210 bip32: {
211 public: 0x049d7cb2,
212 private: 0x049d7878
213 },
214 pubKeyHash: 0x24,
215 scriptHash: 0x10,
216 wif: 0xa4
217};
218
219libs.bitcoin.networks.vertcoin.p2wpkh = {
220 baseNetwork: "vertcoin",
221 messagePrefix: '\x18Vertcoin Signed Message:\n',
222 bech32: 'vtc',
223 bip32: {
224 public: 0x0488b21e,
225 private: 0x0488ade4
226 },
227 pubKeyHash: 71,
228 scriptHash: 5,
229 wif: 0x80
230};
231
232libs.bitcoin.networks.vertcoin.p2wpkhInP2sh = {
233 baseNetwork: "vertcoin",
234 messagePrefix: '\x18Vertcoin Signed Message:\n',
235 bip32: {
236 public: 0x0488b21e,
237 private: 0x0488ade4
238 },
239 pubKeyHash: 71,
240 scriptHash: 5,
241 wif: 0x80
242};
243
244libs.bitcoin.networks.bgold.p2wpkh = {
245 baseNetwork: "bgold",
246 messagePrefix: '\x1DBitcoin Gold Signed Message:\n',
247 bech32: 'btg',
248 bip32: {
249 public: 0x04b24746,
250 private: 0x04b2430c
251 },
252 pubKeyHash: 0x26,
253 scriptHash: 0x17,
254 wif: 0x80,
255};
256
257libs.bitcoin.networks.bgold.p2wpkhInP2sh = {
258 baseNetwork: "bgold",
259 messagePrefix: '\x1DBitcoin Gold Signed Message:\n',
260 bech32: 'btg',
261 bip32: {
262 public: 0x049d7cb2,
263 private: 0x049d7878
264 },
265 pubKeyHash: 0x26,
266 scriptHash: 0x17,
267 wif: 0x80,
268};
269
270libs.bitcoin.networks.digibyte.p2wpkh = {
271 baseNetwork: "digibyte",
272 messagePrefix: 'x19DigiByte Signed Message:\n',
273 bech32: 'dgb',
274 bip32: {
275 public: 0x04b24746,
276 private: 0x04b2430c
277 },
278 pubKeyHash: 0x1e,
279 scriptHash: 0x3f,
280 wif: 0x80
281};
282
283libs.bitcoin.networks.digibyte.p2wpkhInP2sh = {
284 baseNetwork: "digibyte",
285 messagePrefix: '\x19DigiByte Signed Message:\n',
286 bech32: 'dgb',
287 bip32: {
288 public: 0x049d7cb2,
289 private: 0x049d7878
290 },
291 pubKeyHash: 0x1e,
292 scriptHash: 0x3f,
293 wif: 0x80
294};
295
296libs.bitcoin.networks.blockstamp.p2wpkh = {
297 baseNetwork: "blockstamp",
298 messagePrefix: '\x18BlockStamp Signed Message:\n',
299 bech32: 'bc',
300 bip32: {
301 public: 0x0488B21E,
302 private: 0x0488ADE4,
303 },
304 pubKeyHash: 0x00,
305 scriptHash: 0x05,
306 wif: 0x80,
307};
308
309libs.bitcoin.networks.blockstamp.p2wpkhInP2sh = {
310 baseNetwork: "blockstamp",
311 messagePrefix: '\x18BlockStamp Signed Message:\n',
312 bech32: 'bc',
313 bip32: {
314 public: 0x0488B21E,
315 private: 0x0488ADE4,
316 },
317 pubKeyHash: 0x00,
318 scriptHash: 0x05,
319 wif: 0x80,
320};
321
322libs.bitcoin.networks.nix.p2wpkh = {
323 baseNetwork: "nix",
324 messagePrefix: '\x18Nix Signed Message:\n',
325 bech32: 'nix',
326 bip32: {
327 public: 0x0488b21e,
328 private: 0x0488ade4,
329 },
330 pubKeyHash: 0x26,
331 scriptHash: 0x35,
332 wif: 0x80,
333};
334
335libs.bitcoin.networks.nix.p2wpkhInP2sh = {
336 baseNetwork: "nix",
337 messagePrefix: '\x18Nix Signed Message:\n',
338 bech32: 'nix',
339 bip32: {
340 public: 0x0488b21e,
341 private: 0x0488ade4,
342 },
343 pubKeyHash: 0x26,
344 scriptHash: 0x35,
345 wif: 0x80,
346};
347
348libs.bitcoin.networks.cpuchain.p2wpkh = {
349 baseNetwork: "cpuchain",
350 messagePrefix: '\x1DCPUchain Signed Message:\n',
351 bech32: 'cpu',
352 bip32: {
353 public: 0x04b24746,
354 private: 0x04b2430c
355 },
356 pubKeyHash: 0x1c,
357 scriptHash: 0x1e,
358 wif: 0x80,
359};
360
361libs.bitcoin.networks.cpuchain.p2wpkhInP2sh = {
362 baseNetwork: "cpuchain",
363 messagePrefix: '\x1DCPUchain Signed Message:\n',
364 bech32: 'cpu',
365 bip32: {
366 public: 0x049d7cb2,
367 private: 0x049d7878
368 },
369 pubKeyHash: 0x1c,
370 scriptHash: 0x1e,
371 wif: 0x80,
372};
373
374libs.bitcoin.networks.monkeyproject.p2wpkh = {
375 baseNetwork: "monkeyproject",
376 messagePrefix: 'Monkey Signed Message:\n',
377 bech32: 'monkey',
378 bip32: {
379 public: 0x0488b21e,
380 private: 0x0488dde4
381 },
382 pubKeyHash: 0x33,
383 scriptHash: 0x1c,
384 wif: 0x37
385};
386
387libs.bitcoin.networks.monkeyproject.p2wpkhInP2sh = {
388 baseNetwork: "monkeyproject",
389 messagePrefix: 'Monkey Signed Message:\n',
390 bech32: 'monkey',
391 bip32: {
392 public: 0x0488b21e,
393 private: 0x0488dde4
394 },
395 pubKeyHash: 0x33,
396 scriptHash: 0x1c,
397 wif: 0x37
398};
399
400libs.bitcoin.networks.atom.p2wpkh = {
401 baseNetwork: "atom",
402 messagePrefix: '\x18Bitcoin Atom Signed Message:\n',
403 bech32: 'atom',
404 bip32: {
405 public: 0x0488B21E,
406 private: 0x0488ADE4
407 },
408 pubKeyHash: 0x17,
409 scriptHash: 0x0a,
410 wif: 0x80
411};
412
413libs.bitcoin.networks.atom.p2wpkhInP2sh = {
414 baseNetwork: "atom",
415 messagePrefix: '\x18Bitcoin Atom Signed Message:\n',
416 bech32: 'atom',
417 bip32: {
418 public: 0x0488B21E,
419 private: 0x0488ADE4
420 },
421 pubKeyHash: 0x17,
422 scriptHash: 0x0a,
423 wif: 0x80
424};
425
426libs.bitcoin.networks.bitcore.p2wpkh = {
427 baseNetwork: "bitcore",
428 messagePrefix: '\x18BitCore Signed Message:\n',
429 bech32: 'bitcore',
430 bip32: {
431 public: 0x0488B21E,
432 private: 0x0488ADE4
433 },
434 pubKeyHash: 0x03,
435 scriptHash: 0x7D,
436 wif: 0x80
437};
438
439libs.bitcoin.networks.bitcore.p2wpkhInP2sh = {
440 baseNetwork: "bitcore",
441 messagePrefix: '\x18BitCore Signed Message:\n',
442 bech32: 'bitcore',
443 bip32: {
444 public: 0x0488B21E,
445 private: 0x0488ADE4
446 },
447 pubKeyHash: 0x03,
448 scriptHash: 0x7D,
449 wif: 0x80
450};
451
452libs.bitcoin.networks.monacoin.p2wpkh = {
453 baseNetwork: "monacoin",
454 messagePrefix: '\x18Monacoin Signed Message:\n',
455 bech32: 'monacoin',
456 bip32: {
457 public: 0x0488b21e,
458 private: 0x0488ade4
459 },
460 pubKeyHash: 0x32,
461 scriptHash: 0x37,
462 wif: 0xb0
463};
464
465libs.bitcoin.networks.monacoin.p2wpkhInP2sh = {
466 baseNetwork: "monacoin",
467 messagePrefix: '\x18Monacoin Signed Message:\n',
468 bech32: 'monacoin',
469 bip32: {
470 public: 0x0488b21e,
471 private: 0x0488ade4
472 },
473 pubKeyHash: 0x32,
474 scriptHash: 0x37,
475 wif: 0xb0
476};
477
478libs.bitcoin.networks.syscoin.p2wpkh = {
479 baseNetwork: "syscoin",
480 messagePrefix: '\x18Syscoin Signed Message:\n',
481 bech32: 'sys',
482 bip32: {
483 public: 0x04b24746,
484 private: 0x04b2430c
485 },
486 pubKeyHash: 0x3f,
487 scriptHash: 0x05,
488 wif: 0x80
489};
490
491libs.bitcoin.networks.syscoin.p2wpkhInP2sh = {
492 baseNetwork: "syscoin",
493 messagePrefix: '\x18Syscoin Signed Message:\n',
494 bech32: 'sys',
495 bip32: {
496 public: 0x049d7cb2,
497 private: 0x049d7878
498 },
499 pubKeyHash: 0x3f,
500 scriptHash: 0x05,
501 wif: 0x80
502};
503
504libs.bitcoin.networks.viacoin.p2wpkh = {
505 baseNetwork: "viacoin",
506 messagePrefix: '\x18Viacoin Signed Message:\n',
507 bech32: 'viacoin',
508 bip32: {
509 public: 0x0488b21e,
510 private: 0x0488ade4
511 },
512 pubKeyHash: 0x47,
513 scriptHash: 0x21,
514 wif: 0xc7
515};
516
517libs.bitcoin.networks.viacoin.p2wpkhInP2sh = {
518 baseNetwork: "viacoin",
519 messagePrefix: '\x18Viacoin Signed Message:\n',
520 bech32: 'viacoin',
521 bip32: {
522 public: 0x0488b21e,
523 private: 0x0488ade4
524 },
525 pubKeyHash: 0x47,
526 scriptHash: 0x21,
527 wif: 0xc7
528};
529
530libs.bitcoin.networks.dogecointestnet.p2wpkh = {
531 baseNetwork: "dogecointestnet",
532 messagePrefix: '\x19Dogecoin Signed Message:\n',
533 bech32: 'dogecointestnet',
534 bip32: {
535 public: 0x043587cf,
536 private: 0x04358394
537 },
538 pubKeyHash: 0x71,
539 scriptHash: 0xc4,
540 wif: 0xf1
541};
542
543libs.bitcoin.networks.dogecointestnet.p2wpkhInP2sh = {
544 baseNetwork: "dogecointestnet",
545 messagePrefix: '\x19Dogecoin Signed Message:\n',
546 bech32: 'dogecointestnet',
547 bip32: {
548 public: 0x043587cf,
549 private: 0x04358394
550 },
551 pubKeyHash: 0x71,
552 scriptHash: 0xc4,
553 wif: 0xf1
554};
555
556libs.bitcoin.networks.dogecointestnet.p2wpkh = {
557 baseNetwork: "dogecointestnet",
558 messagePrefix: '\x19Dogecoin Signed Message:\n',
559 bech32: 'dogecointestnet',
560 bip32: {
561 public: 0x043587cf,
562 private: 0x04358394
563 },
564 pubKeyHash: 0x71,
565 scriptHash: 0xc4,
566 wif: 0xf1
567};
568
569libs.bitcoin.networks.dogecointestnet.p2wpkhInP2sh = {
570 baseNetwork: "dogecointestnet",
571 messagePrefix: '\x19Dogecoin Signed Message:\n',
572 bech32: 'dogecointestnet',
573 bip32: {
574 public: 0x043587cf,
575 private: 0x04358394
576 },
577 pubKeyHash: 0x71,
578 scriptHash: 0xc4,
579 wif: 0xf1
580};
581
582libs.bitcoin.networks.litecointestnet.p2wpkh = {
583 baseNetwork: "litecointestnet",
584 messagePrefix: '\x18Litecoin Signed Message:\n',
585 bech32: 'litecointestnet',
586 bip32: {
587 public: 0x043587cf,
588 private: 0x04358394
589 },
590 pubKeyHash: 0x6f,
591 scriptHash: 0xc4,
592 wif: 0xef
593};
594
595libs.bitcoin.networks.litecointestnet.p2wpkhInP2sh = {
596 baseNetwork: "litecointestnet",
597 messagePrefix: '\x18Litecoin Signed Message:\n',
598 bech32: 'litecointestnet',
599 bip32: {
600 public: 0x043587cf,
601 private: 0x04358394
602 },
603 pubKeyHash: 0x6f,
604 scriptHash: 0xc4,
605 wif: 0xef
606};
607
608libs.bitcoin.networks.groestlcoin.p2wpkh = {
609 baseNetwork: "groestlcoin",
610 messagePrefix: '\x19GroestlCoin Signed Message:\n',
611 bech32: 'grs',
612 bip32: {
613 public: 0x04b24746,
614 private: 0x04b2430c
615 },
616 pubKeyHash: 0x24,
617 scriptHash: 0x05,
618 wif: 0x80,
619};
620
621libs.bitcoin.networks.groestlcointestnet.p2wpkh = {
622 baseNetwork: "groestlcointestnet",
623 messagePrefix: '\x19GroestlCoin Signed Message:\n',
624 bech32: 'tgrs',
625 bip32: {
626 public: 0x045f1cf6,
627 private: 0x045f18bc
628 },
629 pubKeyHash: 0x6f,
630 scriptHash: 0xc4,
631 wif: 0xef
632};
633
634libs.bitcoin.networks.groestlcoin.p2wpkhInP2sh = {
635 baseNetwork: "groestlcoin",
636 messagePrefix: '\x19GroestlCoin Signed Message:\n',
637 bech32: 'grs',
638 bip32: {
639 public: 0x049d7cb2,
640 private: 0x049d7878
641 },
642 pubKeyHash: 0x24,
643 scriptHash: 0x05,
644 wif: 0x80,
645};
646
647libs.bitcoin.networks.groestlcointestnet.p2wpkhInP2sh = {
648 baseNetwork: "groestlcointestnet",
649 messagePrefix: '\x19GroestlCoin Signed Message:\n',
650 bech32: 'tgrs',
651 bip32: {
652 public: 0x044a5262,
653 private: 0x044a4e28
654 },
655 pubKeyHash: 0x6f,
656 scriptHash: 0xc4,
657 wif: 0xef
658};
659
660})();