Validate crypto-currency addresses such as BTC, LTC or ETH


1.0.123 years ago4 years agoMinified + gzip package size for @brickblock/crypto-address-checker in KB


Crypto Address Checker

This package offers helpers to check whether a string is a valid ETH, BTC or LTC address.

How to use this package?

  1. Install Package

    yarn add @brickblock/crypto-address-checker
  2. Use Package

    import { isEthereumAddress } from '@brickblock/crypto-address-checker'
    // (ethereumAddress: string) => boolean
    function ethereumAddressValidation(ethereumAddress) {
      return (
          typeof ethereumAddress === 'string' &&
          !!ethereumAddress.length &&

We're using the fantastic crypto-js underneath.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.