@alexbosworth/blockchain 4.9.0 → 4.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Versions
2
2
 
3
+ ## 4.10.0
4
+
5
+ - `outputScriptForAddress`: Add support for `btctestnet4` network
6
+
3
7
  ## 4.9.0
4
8
 
5
9
  - `outputScriptForAddress`: Add method to get the output script for an address
package/README.md CHANGED
@@ -365,7 +365,7 @@ Get the output script for an address
365
365
 
366
366
  Supported addresses: P2PKH, P2SH, P2WPKH, P2WSH, P2TR, future segwit versions
367
367
 
368
- Supported networks: btc, btcregtest, btcsignet, btctestnet
368
+ Supported networks: btc, btcregtest, btcsignet, btctestnet, btctestnet4
369
369
 
370
370
  {
371
371
  address: <Address String>
package/package.json CHANGED
@@ -29,5 +29,5 @@
29
29
  "scripts": {
30
30
  "test": "node --experimental-test-coverage --test test/5bit/*.js test/addresses/*.js test/hashes/*.js test/numbers/*.js test/script/*.js test/transactions/*.js"
31
31
  },
32
- "version": "4.9.0"
32
+ "version": "4.10.0"
33
33
  }
@@ -18,5 +18,10 @@
18
18
  "bech32": "tb",
19
19
  "p2pkh": 111,
20
20
  "p2sh": 196
21
+ },
22
+ "btctestnet4": {
23
+ "bech32": "tb",
24
+ "p2pkh": 111,
25
+ "p2sh": 196
21
26
  }
22
27
  }
@@ -19,7 +19,7 @@ const witnessVersionInitial = 0;
19
19
 
20
20
  Supported addresses: P2PKH, P2SH, P2WPKH, P2WSH, P2TR, future segwit versions
21
21
 
22
- Supported networks: btc, btcregtest, btcsignet, btctestnet
22
+ Supported networks: btc, btcregtest, btcsignet, btctestnet, btctestnet4
23
23
 
24
24
  {
25
25
  address: <Address String>