
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
multicoin-address-validator-forked
Advanced tools
Multicoin address validator for Bitcoin and other Altcoins, forked
Simple wallet address validator for validating Bitcoin and other altcoins addresses in Node.js and browser.
Forked from christsim/multicoin-address-validator.
Which is forked from ryanralph/altcoin-address.
File size is ~17 kB (minifed and gzipped).
npm install multicoin-address-validator
<script src="wallet-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.
'0x'
or 'zrx'
'Aave Coin'
or 'aave'
'Algorand'
or 'algo'
'Aragon'
or 'ant'
'Augur'
or 'rep'
'AugurV2'
or 'repv2'
'AuroraCoin'
or 'aur'
'Bancor'
or 'bnt'
'Bankex'
or 'bkx'
'Basic Attention Token'
or 'bat'
'BeaverCoin'
or 'bvc'
'BioCoin'
or 'bio'
'Bitcoin'
or 'btc'
'Bitcoin SV'
or 'bsv'
'BitcoinCash'
or 'bch'
'BitcoinGold'
or 'btg'
'BitcoinPrivate'
or 'btcp'
'BitcoinZ'
or 'btcz'
'BlockTrade'
or 'btt'
'BTU Protocol'
or 'btu'
'Callisto'
or 'clo'
'Cardano'
or 'ada'
'Chainlink'
or 'link'
'Civic'
or 'cvc'
'Compound'
or 'comp'
'Cred'
or 'lba'
'Crypto.com Coin'
or 'cro'
'CUSD'
or 'cusd'
'Dash'
or 'dash'
'Decentraland'
or 'mana'
'Decred'
or 'dcr'
'DigiByte'
or 'dgb'
'District0x'
or 'dnt'
'DogeCoin'
or 'doge'
'Enjin Coin'
or 'enj'
'EOS'
or 'eos'
'Ethereum'
or 'eth'
'EthereumClassic'
or 'etc'
'EtherZero'
or 'etz'
'Expanse'
or 'exp'
'FirmaChain'
or 'fct'
'FreiCoin'
or 'frc'
'GameCredits'
or 'game'
'GarliCoin'
or 'grlc'
'Gnosis'
or 'gno'
'Golem'
or 'glm'
'Golem (GNT)'
or 'gnt'
'HedgeTrade'
or 'hedg'
'Hush'
or 'hush'
'HyperSpace'
or 'xsc'
'iExec RLC'
or 'rlc'
'Komodo'
or 'kmd'
'LBRY Credits'
or 'lbc'
'Lisk'
or 'lsk'
'LiteCoin'
or 'ltc'
'loki'
or 'loki'
'Loom Network'
or 'loom'
'Maker'
or 'mkr'
'Matchpool'
or 'gup'
'Matic'
or 'matic'
'MegaCoin'
or 'mec'
'Melon'
or 'mln'
'Metal'
or 'mtl'
'MonaCoin'
or 'mona'
'Monero'
or 'xmr'
'Multi-collateral DAI'
or 'dai'
'NameCoin'
or 'nmc'
'Nano'
or 'nano'
'Nem'
or 'xem'
'Neo'
or 'neo'
'NeoGas'
or 'gas'
'Numeraire'
or 'nmr'
'Ocean Protocol'
or 'ocean'
'Odyssey'
or 'ocn'
'OmiseGO'
or 'omg'
'Paxos'
or 'pax'
'PeerCoin'
or 'ppc'
'PIVX'
or 'pivx'
'Polkadot'
or 'dot'
'Polymath'
or 'poly'
'PrimeCoin'
or 'xpm'
'ProtoShares'
or 'pts'
'Qtum'
or 'qtum'
'Quant'
or 'qnt'
'Quantum Resistant Ledger'
or 'qrl'
'RaiBlocks'
or 'xrb'
'Ripio Credit Network'
or 'rcn'
'Ripple'
or 'xrp'
'Salt'
or 'salt'
'Serve'
or 'serv'
'Siacoin'
or 'sc'
'SnowGem'
or 'sng'
'SolarCoin'
or 'slr'
'SOLVE'
or 'solve'
'Spendcoin'
or 'spnd'
'Status'
or 'snt'
'Stellar'
or 'xlm'
'Storj'
or 'storj'
'Storm'
or 'storm'
'StormX'
or 'stmx'
'Swarm City'
or 'swt'
'Synthetix Network'
or 'snx'
'Tap'
or 'xtp'
'TEMCO'
or 'temco'
'TenX'
or 'pay'
'Tether'
or 'usdt'
'Tezos'
or 'xtz'
'Tron'
or 'trx'
'TrueUSD'
or 'tusd'
'Uniswap Coin'
or 'uni'
'USD Coin'
or 'usdc'
'VeChain'
or 'vet'
'VertCoin'
or 'vtc'
'Viberate'
or 'vib'
'VoteCoin'
or 'vot'
'Waves'
or 'waves'
'Wings'
or 'wings'
'ZCash'
or 'zec'
'ZClassic'
or 'zcl'
'ZenCash'
or 'zen'
var WAValidator = require('multicoin-address-validator');
var valid = WAValidator.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 WAValidator = require('multicoin-address-validator');
var valid = WAValidator.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.
var WAValidator = require('multicoin-address-validator');
var currency = WAValidator.findCurrency('xrp');
if(currency)
console.log('This currency exists');
else
console.log('Currency INVALID');
// As this is a valid currency symbol 'This currency exists' will be logged to console.
var WAValidator = require('multicoin-address-validator');
var currency = WAValidator.findCurrency('random');
if(currency)
console.log('This currency exists');
else
console.log('Currency INVALID');
// As this is not a valid currency symbol 'Currency INVALID' will be logged to console.
<script src="wallet-address-validator.min.js"></script>
// WAValidator is exposed as a global (window.WAValidator)
var valid = WAValidator.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
Multicoin address validator for Bitcoin and other Altcoins, forked
The npm package multicoin-address-validator-forked receives a total of 0 weekly downloads. As such, multicoin-address-validator-forked popularity was classified as not popular.
We found that multicoin-address-validator-forked 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.