
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
super-crypto-validator
Advanced tools
Crypto wallet address validator for Bitcoin and other Altcoins.
Simple wallet address validator for validating Bitcoin and other altcoins addresses in Node.js and browser.
Forked from ognus/wallet-address-validator.
File size is ~201 KB (minifed).
npm install cryptocurrency-address-validator
<script src="crypto-address-validator.min.js"></script>
'bitcoin' (default), 'litecoin' or 'LTC''prod' (default) to enforce standard address, 'testnet' to enforce testnet address and 'both' to enforce nothing.Returns true if the address (string) is a valid wallet address for the crypto currency specified, see below for supported currencies.
Returns address type (as 2 character hex string) if valid base58 address, otherwise null.
'auroracoin' or 'AUR''beavercoin' or 'BVC''biocoin' or 'BIO''bitcoin' or 'BTC''bitcoincash' or 'BCH''bitcoingold' or 'BTG''bitcoinprivate' or 'BTCP''bitcoinz' or 'BTCZ''callisto' or 'CLO''cardano' or 'ADA''dash' or 'DASH''decred' or 'DCR''digibyte' or 'DGB''dogecoin' or 'DOGE''eos' or 'EOS''ethereum' or 'ETH''ethereumclassic' or 'ETC''etherzero' or 'ETZ''freicoin' or 'FRC''garlicoin' or 'GRLC''hush' or 'HUSH''komodo' or 'KMD''iota' or 'IOTA''icon' or 'ICON''litecoin' or 'LTC''megacoin' or 'MEC''monero' or 'XMR''namecoin' or 'NMC''nano' or 'NANO''neo' or 'NEO''neogas' or 'GAS''nem' or 'nem''peercoin' or 'PPC''primecoin' or 'XPM''protoshares' or 'PTS''qash' or 'QASH''qtum' or 'QTUM''railblocks' or 'XRB''republicprotocol' or 'REN''ripple' or 'XRP''snowgem' or 'SNG''stellarlumens' or 'XLM''tronix' or 'TRX''vertcoin' or 'VTC''vechain' or 'VeChain''votecoin' or 'VOT''zcash' or 'ZEC''zclassic' or 'ZCL''zencash' or 'ZEN'var CAValidator = require('crypto-address-validator');
var valid = CAValidator.validate('1KFzzGtDdnq5hrwxXGjwVnKzRbvf8WVxck', 'BTC');
if(valid)
console.log('This is a valid address');
else
console.log('Address INVALID');
// This will log 'This is a valid address' to the console.
var CAValidator = require('crypto-address-validator');
var valid = CAValidator.validate('1KFzzGtDdnq5hrwxXGjwVnKzRbvf8WVxck', 'litecoin', 'testnet');
if(valid)
console.log('This is a valid address');
else
console.log('Address INVALID');
// As this is a invalid litecoin address 'Address INVALID' will be logged to console.
<script src="crypto-address-validator.min.js"></script>
// CAValidator is exposed as a global (window.CAValidator)
var valid = CAValidator.validate('1KFzzGtDdnq5hrwxXGjwVnKzRbvf8WVxck', 'bitcoin');
if(valid)
alert('This is a valid address');
else
alert('Address INVALID');
// This should show a pop up with text 'This is a valid address'.
FAQs
Crypto wallet address validator for Bitcoin and other Altcoins.
We found that super-crypto-validator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.