xelbot/crypto-wallet-validator

Library for validation of cryptocoin wallets

v0.9.2 2019-09-08 21:26 UTC

This package is auto-updated.

Last update: 2024-04-08 15:25:59 UTC


README

Library for validation of Ethereum, Bitcoin and other cryptocoin wallets

Build Status

Installation

Use composer to install the package:

composer require xelbot/crypto-wallet-validator

Or just add the package to your composer.json

{
    "require": {
        "xelbot/crypto-wallet-validator": "dev-master"
    }
}

Usage

<?php

use Xelbot\Crypto\WalletValidator;

WalletValidator::validate('0x8617E340B3D01FA5F11F306F4090FD50E238070D', 'ETH');
// return true

WalletValidator::validate('0xd1220A0CF4B9BE7A2E6BA89F429762E7B9ADB', 'ETH');
// return false

Supported crypto currencies

  • 'BKX', BANKEX
  • 'CLO', Callisto
  • 'ETC', Ethereum Classic
  • 'ETH', Ethereum
  • 'ETZ', EtherZero
  • 'ZIL', Zilliqa
  • others - coming soon :)