Nonco-Organization / multicoin-address-validator
git clone https://github.com/Nonco-Organization/multicoin-address-validator.git
Useful library for validation of Bitcoin, Litecoin, Ethereum and other cryptocoin addresses
+0
stars, 24h · #40,237
+~0
stars, 7 days · #45,135
+230
stars, 30 days · #3,447
230
★ total
0
forks · 0 open issues
Star history (as recorded here)
LanguageJavaScript
LicenseMIT
Created2026-10-08 (14d ago)
Last push14d ago
Watchers238
OwnerOrganization
Links
- GitHub: github.com/Nonco-Organization/multicoin-address-validator
- Releases · Issues · Hacker News mentions
README excerpt
# wallet-address-validator Simple wallet address validator for validating Bitcoin and other altcoins addresses in **Node.js and browser**. Forked from ryanralph/altcoin-address. **File size is ~17 kB (minifed and gzipped)**. ## Installation ### NPM [code] ### Browser [code] ## API ##### validate (address [, currency = 'bitcoin'[, networkType = 'prod']]) ###### Parameters * address - Wallet address to validate. * currency - Optional. Currency name or symbol, e.g. `'bitcoin'` (default), `'litecoin'` or `'LTC'` * networkType - Optional. Use `'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. ### Supported crypto currencies * 0x/zrx `'0x'` or `'zrx'` * Aave Coin/aave `'Aave Coin'` or `'aave'` * Algorand/algo `'Algorand'` or `'algo'` * Aragon/ant `'Aragon'` or `'ant'` * Augur/rep `'Augur'` or `'rep'` * AugurV2/repv2 `'AugurV2'` or `'repv2'` * AuroraCoin/aur `'AuroraCoin'` or `'aur'` * Avalanche/avax `'Avalanche'` or `'avax'` * Bancor/bnt `'Bancor'` or `'bnt'` * Bankex/bkx `'Bankex'` or `'bkx'` * Basic Attention Token/bat `'Basic Attention Token'` or `'bat'` * BeaverCoin/bvc `'BeaverCoin'` or `'bvc'` * Binance/bnb `'Binance'` or `'bnb'` * BioCoin/bio `'BioCoin'` or `'bio'` * Bitcoin/btc `'Bitcoin'` or `'btc'` * Bitcoin SV/bsv `'Bitcoin SV'` or `'bsv'` * BitcoinCash/bch `'BitcoinCash'` or `'bch'` * BitcoinGold/btg `'BitcoinGold'` or `'btg'` * BitcoinPrivate/btcp `'BitcoinPrivate'` or `'btcp'` * BitcoinZ/btcz `'BitcoinZ'` or `'btcz'` * BlockTrade/btt `'BlockTrade'` or `'btt'` * BTU Protocol/btu `'BTU Protocol'` or `'btu'` * Callisto/clo `'Callisto'` or `'clo'` * Cardano/ada `'Cardano'` or `'ada'` * Chainlink/link `'Chainlink'` or `'link'` * Civic/cvc `'Civic'` or `'cvc'` * Compound/comp `'Compound'` or `'comp'` * Cred/lba `'Cred'` or `'lba'` * Crypto.com Coin/cro `'Crypto.com Coin'` or `'cro'` * CUSD/cusd `'CUSD'` or `'cusd'` * Dash/dash `'Dash'` or `'dash'` * Decentraland/mana `'Decentraland'` or `'mana'` * Decred/dcr `'Decred'` or `'dcr'` * DigiByte/dgb `'DigiByte'` or `'dgb'` * District0x/dnt `'District0x'` or `'dnt'` * DogeCoin/doge `'DogeCoin'` or `'doge'` * Enjin Coin/enj `'Enjin Coin'` or `'enj'` * EOS/eos `'EOS'` or `'eos'` * Ethereum/eth `'Ethereum'` or `'eth'` * EthereumClassic/etc `'EthereumClassic'` or `'etc'` * EtherZero/etz `'EtherZero'` or `'etz'` * Expanse/exp `'Expanse'` or `'exp'` * FirmaChain/fct `'FirmaChain'` or `'fct'` * FreiCoin/frc `'FreiCoin'` or `'frc'` * GameCredits/game `'GameCredits'` or `'game'` * GarliCoin/grlc `'GarliCoin'` or `'grlc'` * Gnosis/gno `'Gnosis'` or `'gno'` * Golem/glm `'Golem'` or `'glm'` * Golem (GNT)/gnt `'Golem (GNT)'` or `'gnt'` * HedgeTrade/hedg `'HedgeTrade'` or `'hedg'` * Hush/hush `'Hush'` or `'hush'` * HyperSpace/xsc `'HyperSpace'` or `'xsc'` * iExec RLC/rlc `'iExec RLC'` or `'rlc'` * Komodo/kmd