diff options
Diffstat (limited to 'src/js/segwit-parameters.js')
-rw-r--r-- | src/js/segwit-parameters.js | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js index ea6f86e..997a0f8 100644 --- a/src/js/segwit-parameters.js +++ b/src/js/segwit-parameters.js | |||
@@ -163,6 +163,36 @@ libs.bitcoin.networks.regtest.p2wshInP2sh = { | |||
163 | scriptHash: 0xc4, | 163 | scriptHash: 0xc4, |
164 | wif: 0xef | 164 | wif: 0xef |
165 | }; | 165 | }; |
166 | |||
167 | libs.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 | ||
181 | libs.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 | |||
166 | 196 | ||
167 | libs.bitcoin.networks.litecoin.p2wpkh = { | 197 | libs.bitcoin.networks.litecoin.p2wpkh = { |
168 | baseNetwork: "litecoin", | 198 | baseNetwork: "litecoin", |