The result is based on ratio of number of commits and code additions from initial and final time ranges.
Initial time range – from 5 Jul, 2023 to 5 Oct, 2023
Final time range – from 5 Apr, 2024 to 5 Jul, 2024
Additions and deletions stats are not available for this repository due to GitHub API limitations.
The ognus/wallet-address-validator is a JavaScript-based utility that allows for the validation of Bitcoin and altcoin addresses on several different cryptocurrencies’ networks. It provides methods to validate an address, detect an address' type (segwit, bech32, p2sh) and detect the network (mainnet, testnet).
The supported cryptocurrencies are:
This script could be extremely useful for cryptocurrency applications or wallets to ensure that the addresses are valid before any transactions are made.
Its usage is simple and direct, after installation via npm, one could use it as follows:
var WAValidator = require('wallet-address-validator');
var valid = WAValidator.validate('1KFzzGtDdnq5hrwxXGjwVnKzRbvf8WVxck', 'BTC');
if(valid)
console.log('This is a valid address');
else
console.log('Address INVALID');
In the code snippet above, the method WAValidator.validate()
takes two arguments, the address and the cryptocurrency, and returns if the address is valid or not.
To use the package the wallet-address-validator
may need to be installed via npm, using the command npm install wallet-address-validator
.
Please note that the specific details and capabilities may change as the state of the repository changes over time. Always refer to the official repository for the most accurate and up-to-date information.
Contributor | Commits |
---|---|
26 | |
19 | |
17 | |
5 | |
5 |