bitcoin-address-validation
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "bitcoin-address-validation", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Validate any Bitcoin address - Bech32, P2SH and P2PKH", | ||
@@ -57,3 +57,4 @@ "homepage": "https://github.com/ruigomeseu/bitcoin-address-validation", | ||
"sha.js": "^2.4.11" | ||
} | ||
}, | ||
"typings": "./typings.d.ts" | ||
} |
@@ -18,3 +18,3 @@ ![](https://ruigomes.me/bitcoin-address-validation.png?v=1) | ||
bech32: true, | ||
testnet: false, | ||
network: 'mainnet', | ||
address: 'bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4', | ||
@@ -59,3 +59,3 @@ type: 'p2wpkh' | ||
type: 'p2pkh', | ||
testnet: false, | ||
network: 'mainnet', | ||
bech32: false | ||
@@ -72,3 +72,3 @@ } | ||
bech32: true, | ||
testnet: false, | ||
network: 'mainnet', | ||
address: 'bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4', | ||
@@ -89,2 +89,8 @@ type: 'p2wpkh' | ||
### Networks | ||
This library supports 3 different types of networks: `mainnet`, `testnet` and `regtest`. | ||
> **Note:** When dealing with traditional (non-bech32) addresses, all `regtest` addresses will be recognized as `testnet` addresses. | ||
## Author | ||
@@ -91,0 +97,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100224
8
3002
100