Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitcoin-address-validation

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcoin-address-validation - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

typings.d.ts

5

package.json
{
"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"
}

12

README.md

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc