]>
Commit | Line | Data |
---|---|---|
c49e8812 IC |
1 | (function() { |
2 | ||
3 | // p2wpkh | |
4 | ||
5 | bitcoinjs.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 | ||
206a2735 DS |
18 | bitcoinjs.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 | ||
c49e8812 IC |
31 | // p2wpkh in p2sh |
32 | ||
33 | bitcoinjs.bitcoin.networks.bitcoin.p2wpkhInP2sh = { | |
34 | baseNetwork: "bitcoin", | |
35 | messagePrefix: '\x18Bitcoin Signed Message:\n', | |
36 | bech32: 'bc', | |
37 | bip32: { | |
38 | public: 0x049d7cb2, | |
39 | private: 0x049d7878 | |
40 | }, | |
41 | pubKeyHash: 0x00, | |
42 | scriptHash: 0x05, | |
43 | wif: 0x80 | |
44 | }; | |
45 | ||
46 | bitcoinjs.bitcoin.networks.testnet.p2wpkhInP2sh = { | |
47 | baseNetwork: "testnet", | |
48 | messagePrefix: '\x18Bitcoin Signed Message:\n', | |
49 | bech32: 'tb', | |
50 | bip32: { | |
51 | public: 0x044a5262, | |
52 | private: 0x044a4e28 | |
53 | }, | |
54 | pubKeyHash: 0x6f, | |
55 | scriptHash: 0xc4, | |
56 | wif: 0xef | |
57 | }; | |
58 | ||
59 | bitcoinjs.bitcoin.networks.litecoin.p2wpkhInP2sh = { | |
60 | baseNetwork: "litecoin", | |
61 | messagePrefix: '\x19Litecoin Signed Message:\n', | |
bda303dd | 62 | bech32: 'ltc', |
c49e8812 IC |
63 | bip32: { |
64 | public: 0x01b26ef6, | |
65 | private: 0x01b26792 | |
66 | }, | |
67 | pubKeyHash: 0x30, | |
68 | scriptHash: 0x32, | |
69 | wif: 0xb0 | |
70 | }; | |
71 | ||
9a2ca392 | 72 | bitcoinjs.bitcoin.networks.fujicoin.p2wpkh = { |
73 | baseNetwork: "fujicoin", | |
74 | messagePrefix: '\x19FujiCoin Signed Message:\n', | |
75 | bech32: 'fc', | |
76 | bip32: { | |
77 | public: 0x04b24746, | |
78 | private: 0x04b2430c | |
79 | }, | |
80 | pubKeyHash: 0x24, | |
81 | scriptHash: 0x10, | |
82 | wif: 0xa4 | |
83 | }; | |
84 | ||
85 | bitcoinjs.bitcoin.networks.fujicoin.p2wpkhInP2sh = { | |
86 | baseNetwork: "fujicoin", | |
87 | messagePrefix: '\x19FujiCoin Signed Message:\n', | |
88 | bech32: 'fc', | |
89 | bip32: { | |
90 | public: 0x049d7cb2, | |
91 | private: 0x049d7878 | |
92 | }, | |
93 | pubKeyHash: 0x24, | |
94 | scriptHash: 0x10, | |
95 | wif: 0xa4 | |
96 | }; | |
97 | ||
f150f0c0 P |
98 | bitcoinjs.bitcoin.networks.vertcoin.p2wpkh = { |
99 | baseNetwork: "vertcoin", | |
100 | messagePrefix: '\x18Vertcoin Signed Message:\n', | |
101 | bech32: 'vtc', | |
102 | bip32: { | |
103 | public: 0x0488b21e, | |
104 | private: 0x0488ade4 | |
105 | }, | |
106 | pubKeyHash: 71, | |
107 | scriptHash: 5, | |
108 | wif: 0x80 | |
109 | }; | |
110 | ||
111 | bitcoinjs.bitcoin.networks.vertcoin.p2wpkhInP2sh = { | |
112 | baseNetwork: "vertcoin", | |
113 | messagePrefix: '\x18Vertcoin Signed Message:\n', | |
114 | bip32: { | |
115 | public: 0x0488b21e, | |
116 | private: 0x0488ade4 | |
117 | }, | |
118 | pubKeyHash: 71, | |
119 | scriptHash: 5, | |
120 | wif: 0x80 | |
121 | }; | |
122 | ||
c49e8812 | 123 | })(); |