diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index 5bf1aec..2ee83c5 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -1,133 +1,133 @@ | |||
1 | bitcoinjs.bitcoin.networks.shadow = { | 1 | bitcoinjs.bitcoin.networks.shadow = { |
2 | messagePrefix: "unused", | 2 | messagePrefix: 'unused', |
3 | bip32: { | 3 | bip32: { |
4 | public: 0xEE80286A, | 4 | public: 0xEE80286A, |
5 | private: 0xEE8031E8 | 5 | private: 0xEE8031E8 |
6 | }, | 6 | }, |
7 | pubKeyHash: 0x3f, | 7 | pubKeyHash: 0x3f, |
8 | scriptHash: 0x7d, | 8 | scriptHash: 0x7d, |
9 | wif: 0xbf, | 9 | wif: 0xbf |
10 | }; | 10 | }; |
11 | 11 | ||
12 | bitcoinjs.bitcoin.networks.shadowtn = { | 12 | bitcoinjs.bitcoin.networks.shadowtn = { |
13 | messagePrefix: "unused", | 13 | messagePrefix: 'unused', |
14 | bip32: { | 14 | bip32: { |
15 | public: 0x76C0FDFB, | 15 | public: 0x76C0FDFB, |
16 | private: 0x76C1077A | 16 | private: 0x76C1077A |
17 | }, | 17 | }, |
18 | pubKeyHash: 0x7f, | 18 | pubKeyHash: 0x7f, |
19 | scriptHash: 0xc4, | 19 | scriptHash: 0xc4, |
20 | wif: 0xff, | 20 | wif: 0xff |
21 | }; | 21 | }; |
22 | 22 | ||
23 | bitcoinjs.bitcoin.networks.clam = { | 23 | bitcoinjs.bitcoin.networks.clam = { |
24 | messagePrefix: "unused", | 24 | messagePrefix: 'unused', |
25 | bip32: { | 25 | bip32: { |
26 | public: 0xa8c26d64, | 26 | public: 0xa8c26d64, |
27 | private: 0xa8c17826 | 27 | private: 0xa8c17826 |
28 | }, | 28 | }, |
29 | pubKeyHash: 0x89, | 29 | pubKeyHash: 0x89, |
30 | scriptHash: 0x00, // TODO set this correctly | 30 | scriptHash: 0x00, // TODO set this correctly |
31 | wif: 0x85, | 31 | wif: 0x85 |
32 | }; | 32 | }; |
33 | 33 | ||
34 | bitcoinjs.bitcoin.networks.crown = { | 34 | bitcoinjs.bitcoin.networks.crown = { |
35 | messagePrefix: "unused", | 35 | messagePrefix: 'unused', |
36 | bip32: { | 36 | bip32: { |
37 | public: 0x0488b21e, | 37 | public: 0x0488b21e, |
38 | private: 0x0488ade4 | 38 | private: 0x0488ade4 |
39 | }, | 39 | }, |
40 | pubKeyHash: 0x00, | 40 | pubKeyHash: 0x00, |
41 | scriptHash: 0x05, | 41 | scriptHash: 0x05, |
42 | wif: 0x80, | 42 | wif: 0x80 |
43 | }; | 43 | }; |
44 | 44 | ||
45 | bitcoinjs.bitcoin.networks.dash = { | 45 | bitcoinjs.bitcoin.networks.dash = { |
46 | messagePrefix: "unused", | 46 | messagePrefix: 'unused', |
47 | bip32: { | 47 | bip32: { |
48 | public: 0x0488b21e, | 48 | public: 0x0488b21e, |
49 | private: 0x0488ade4 | 49 | private: 0x0488ade4 |
50 | }, | 50 | }, |
51 | pubKeyHash: 0x4c, | 51 | pubKeyHash: 0x4c, |
52 | scriptHash: 0x10, | 52 | scriptHash: 0x10, |
53 | wif: 0xcc, | 53 | wif: 0xcc |
54 | }; | 54 | }; |
55 | 55 | ||
56 | bitcoinjs.bitcoin.networks.maza = { | 56 | bitcoinjs.bitcoin.networks.maza = { |
57 | messagePrefix: "unused", | 57 | messagePrefix: 'unused', |
58 | bip32: { | 58 | bip32: { |
59 | public: 0x0488b21e, | 59 | public: 0x0488b21e, |
60 | private: 0x0488ade4 | 60 | private: 0x0488ade4 |
61 | }, | 61 | }, |
62 | pubKeyHash: 0x32, | 62 | pubKeyHash: 0x32, |
63 | scriptHash: 0x09, | 63 | scriptHash: 0x09, |
64 | wif: 0xe0, | 64 | wif: 0xe0 |
65 | }; | 65 | }; |
66 | 66 | ||
67 | bitcoinjs.bitcoin.networks.dashtn = { | 67 | bitcoinjs.bitcoin.networks.dashtn = { |
68 | messagePrefix: "unused", | 68 | messagePrefix: 'unused', |
69 | bip32: { | 69 | bip32: { |
70 | public: 0x043587cf, | 70 | public: 0x043587cf, |
71 | private: 0x04358394 | 71 | private: 0x04358394 |
72 | }, | 72 | }, |
73 | pubKeyHash: 0x8c, | 73 | pubKeyHash: 0x8c, |
74 | scriptHash: 0x13, | 74 | scriptHash: 0x13, |
75 | wif: 0xef, | 75 | wif: 0xef |
76 | }; | 76 | }; |
77 | 77 | ||
78 | bitcoinjs.bitcoin.networks.game = { | 78 | bitcoinjs.bitcoin.networks.game = { |
79 | messagePrefix: "unused", | 79 | messagePrefix: 'unused', |
80 | bip32: { | 80 | bip32: { |
81 | public: 0x0488b21e, | 81 | public: 0x0488b21e, |
82 | private: 0x0488ade4 | 82 | private: 0x0488ade4 |
83 | }, | 83 | }, |
84 | pubKeyHash: 0x26, | 84 | pubKeyHash: 0x26, |
85 | scriptHash: 0x05, | 85 | scriptHash: 0x05, |
86 | wif: 0xa6, | 86 | wif: 0xa6 |
87 | }; | 87 | }; |
88 | 88 | ||
89 | bitcoinjs.bitcoin.networks.namecoin = { | 89 | bitcoinjs.bitcoin.networks.namecoin = { |
90 | messagePrefix: "unused", | 90 | messagePrefix: 'unused', |
91 | bip32: { | 91 | bip32: { |
92 | public: 0x0488b21e, | 92 | public: 0x0488b21e, |
93 | private: 0x0488ade4 | 93 | private: 0x0488ade4 |
94 | }, | 94 | }, |
95 | pubKeyHash: 0x34, | 95 | pubKeyHash: 0x34, |
96 | scriptHash: 0x00, // TODO set this correctly | 96 | scriptHash: 0x00, // TODO set this correctly |
97 | wif: 0x80, | 97 | wif: 0x80 |
98 | }; | 98 | }; |
99 | 99 | ||
100 | bitcoinjs.bitcoin.networks.peercoin = { | 100 | bitcoinjs.bitcoin.networks.peercoin = { |
101 | messagePrefix: "unused", | 101 | messagePrefix: 'unused', |
102 | bip32: { | 102 | bip32: { |
103 | public: 0x0488b21e, | 103 | public: 0x0488b21e, |
104 | private: 0x0488ade4 | 104 | private: 0x0488ade4 |
105 | }, | 105 | }, |
106 | pubKeyHash: 0x37, | 106 | pubKeyHash: 0x37, |
107 | scriptHash: 0x00, // TODO set this correctly | 107 | scriptHash: 0x00, // TODO set this correctly |
108 | wif: 0xb7, | 108 | wif: 0xb7 |
109 | }; | 109 | }; |
110 | 110 | ||
111 | bitcoinjs.bitcoin.networks.slimcoin = { | 111 | bitcoinjs.bitcoin.networks.slimcoin = { |
112 | messagePrefix: "unused", | 112 | messagePrefix: 'unused', |
113 | bip32: { | 113 | bip32: { |
114 | public: 0xef6adf10, | 114 | public: 0xef6adf10, |
115 | private: 0xef69ea80 | 115 | private: 0xef69ea80 |
116 | }, | 116 | }, |
117 | pubKeyHash: 0x3f, | 117 | pubKeyHash: 0x3f, |
118 | scriptHash: 0x7d, | 118 | scriptHash: 0x7d, |
119 | wif: 0x46, | 119 | wif: 0x46 |
120 | }; | 120 | }; |
121 | 121 | ||
122 | bitcoinjs.bitcoin.networks.slimcointn = { | 122 | bitcoinjs.bitcoin.networks.slimcointn = { |
123 | messagePrefix: "unused", | 123 | messagePrefix: 'unused', |
124 | bip32: { | 124 | bip32: { |
125 | public: 0x043587CF, | 125 | public: 0x043587CF, |
126 | private: 0x04358394 | 126 | private: 0x04358394 |
127 | }, | 127 | }, |
128 | pubKeyHash: 0x6f, | 128 | pubKeyHash: 0x6f, |
129 | scriptHash: 0xc4, | 129 | scriptHash: 0xc4, |
130 | wif: 0x57, | 130 | wif: 0x57 |
131 | }; | 131 | }; |
132 | 132 | ||
133 | bitcoinjs.bitcoin.networks.dogecoin = { | 133 | bitcoinjs.bitcoin.networks.dogecoin = { |
@@ -138,8 +138,8 @@ bitcoinjs.bitcoin.networks.dogecoin = { | |||
138 | }, | 138 | }, |
139 | pubKeyHash: 0x1e, | 139 | pubKeyHash: 0x1e, |
140 | scriptHash: 0x16, | 140 | scriptHash: 0x16, |
141 | wif: 0x9e, | 141 | wif: 0x9e |
142 | }, | 142 | }; |
143 | 143 | ||
144 | bitcoinjs.bitcoin.networks.viacoin = { | 144 | bitcoinjs.bitcoin.networks.viacoin = { |
145 | messagePrefix: '\x18Viacoin Signed Message:\n', | 145 | messagePrefix: '\x18Viacoin Signed Message:\n', |
@@ -149,8 +149,8 @@ bitcoinjs.bitcoin.networks.viacoin = { | |||
149 | }, | 149 | }, |
150 | pubKeyHash: 0x47, | 150 | pubKeyHash: 0x47, |
151 | scriptHash: 0x21, | 151 | scriptHash: 0x21, |
152 | wif: 0xc7, | 152 | wif: 0xc7 |
153 | }, | 153 | }; |
154 | 154 | ||
155 | bitcoinjs.bitcoin.networks.viacointestnet = { | 155 | bitcoinjs.bitcoin.networks.viacointestnet = { |
156 | messagePrefix: '\x18Viacoin Signed Message:\n', | 156 | messagePrefix: '\x18Viacoin Signed Message:\n', |
@@ -160,8 +160,8 @@ bitcoinjs.bitcoin.networks.viacointestnet = { | |||
160 | }, | 160 | }, |
161 | pubKeyHash: 0x7f, | 161 | pubKeyHash: 0x7f, |
162 | scriptHash: 0xc4, | 162 | scriptHash: 0xc4, |
163 | wif: 0xff, | 163 | wif: 0xff |
164 | }, | 164 | }; |
165 | 165 | ||
166 | bitcoinjs.bitcoin.networks.gamerscoin = { | 166 | bitcoinjs.bitcoin.networks.gamerscoin = { |
167 | messagePrefix: '\x19Gamerscoin Signed Message:\n', | 167 | messagePrefix: '\x19Gamerscoin Signed Message:\n', |
@@ -171,8 +171,8 @@ bitcoinjs.bitcoin.networks.gamerscoin = { | |||
171 | }, | 171 | }, |
172 | pubKeyHash: 0x26, | 172 | pubKeyHash: 0x26, |
173 | scriptHash: 0x05, | 173 | scriptHash: 0x05, |
174 | wif: 0xA6, | 174 | wif: 0xA6 |
175 | }, | 175 | }; |
176 | 176 | ||
177 | bitcoinjs.bitcoin.networks.jumbucks = { | 177 | bitcoinjs.bitcoin.networks.jumbucks = { |
178 | messagePrefix: '\x19Jumbucks Signed Message:\n', | 178 | messagePrefix: '\x19Jumbucks Signed Message:\n', |
@@ -182,8 +182,8 @@ bitcoinjs.bitcoin.networks.jumbucks = { | |||
182 | }, | 182 | }, |
183 | pubKeyHash: 0x2b, | 183 | pubKeyHash: 0x2b, |
184 | scriptHash: 0x05, | 184 | scriptHash: 0x05, |
185 | wif: 0xab, | 185 | wif: 0xab |
186 | }, | 186 | }; |
187 | 187 | ||
188 | bitcoinjs.bitcoin.networks.zetacoin = { | 188 | bitcoinjs.bitcoin.networks.zetacoin = { |
189 | messagePrefix: '\x18Zetacoin Signed Message:\n', | 189 | messagePrefix: '\x18Zetacoin Signed Message:\n', |
@@ -193,38 +193,38 @@ bitcoinjs.bitcoin.networks.zetacoin = { | |||
193 | }, | 193 | }, |
194 | pubKeyHash: 0x50, | 194 | pubKeyHash: 0x50, |
195 | scriptHash: 0x09, | 195 | scriptHash: 0x09, |
196 | wif: 0xe0, | 196 | wif: 0xe0 |
197 | } | 197 | }; |
198 | 198 | ||
199 | bitcoinjs.bitcoin.networks.myriadcoin = { | 199 | bitcoinjs.bitcoin.networks.myriadcoin = { |
200 | messagePrefix: "unused", | 200 | messagePrefix: 'unused', |
201 | bip32: { | 201 | bip32: { |
202 | public: 0x0488b21e, | 202 | public: 0x0488b21e, |
203 | private: 0x0488ade4 | 203 | private: 0x0488ade4 |
204 | }, | 204 | }, |
205 | pubKeyHash: 0x32, | 205 | pubKeyHash: 0x32, |
206 | scriptHash: 0x00, // TODO set this correctly | 206 | scriptHash: 0x00, // TODO set this correctly |
207 | wif: 0xb2, | 207 | wif: 0xb2 |
208 | }; | 208 | }; |
209 | 209 | ||
210 | bitcoinjs.bitcoin.networks.pivx = { | 210 | bitcoinjs.bitcoin.networks.pivx = { |
211 | messagePrefix: "unused", | 211 | messagePrefix: 'unused', |
212 | bip32: { | 212 | bip32: { |
213 | public: 0x022d2533, | 213 | public: 0x022d2533, |
214 | private: 0x0221312b | 214 | private: 0x0221312b |
215 | }, | 215 | }, |
216 | pubKeyHash: 0x1e, | 216 | pubKeyHash: 0x1e, |
217 | scriptHash: 0x0d, | 217 | scriptHash: 0x0d, |
218 | wif: 0xd4, | 218 | wif: 0xd4 |
219 | }; | 219 | }; |
220 | 220 | ||
221 | bitcoinjs.bitcoin.networks.pivxtestnet = { | 221 | bitcoinjs.bitcoin.networks.pivxtestnet = { |
222 | messagePrefix: "unused", | 222 | messagePrefix: 'unused', |
223 | bip32: { | 223 | bip32: { |
224 | public: 0x3a8061a0, | 224 | public: 0x3a8061a0, |
225 | private: 0x3a805837 | 225 | private: 0x3a805837 |
226 | }, | 226 | }, |
227 | pubKeyHash: 0x8b, | 227 | pubKeyHash: 0x8b, |
228 | scriptHash: 0x13, | 228 | scriptHash: 0x13, |
229 | wif: 0xef, | 229 | wif: 0xef |
230 | }; | 230 | }; |