aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/segwit-parameters.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js
index 38cf9e0..b919d45 100644
--- a/src/js/segwit-parameters.js
+++ b/src/js/segwit-parameters.js
@@ -15,6 +15,19 @@ bitcoinjs.bitcoin.networks.bitcoin.p2wpkh = {
15 wif: 0x80 15 wif: 0x80
16}; 16};
17 17
18bitcoinjs.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
18// p2wpkh in p2sh 31// p2wpkh in p2sh
19 32
20bitcoinjs.bitcoin.networks.bitcoin.p2wpkhInP2sh = { 33bitcoinjs.bitcoin.networks.bitcoin.p2wpkhInP2sh = {