@abckey/address-helper
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

address-helper

NPM version

A Blockchain Encrypted Digital Currency Address Validator.

Install

npm i @abckey/address-helper

Usage

import AddressHelper from '@abckey/address-helper'

AddressHelper.test('12QeMLzSrB8XH8FvEzPMVoRxVAzTr5XM2y', 'btc', 'mainnet') // true
AddressHelper.test('0xc6d9d2cd449a754c494264e1809c50e34d64562b', 'eth')    // true
AddressHelper.isSegwit('BC1QW508D6QEJXTDG4Y5R3ZARVARY0C5XW7KV8F3T4', 'bc')    // true
AddressHelper.isSegwit('12KYrjTdVGjFMtaxERSk3gphreJ5US8aUP', 'bc')    // false

License

FOSSA Status

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    0
  • 0.1.0
    0
  • 0.0.1
    1

Package Sidebar

Install

npm i @abckey/address-helper

Weekly Downloads

0

Version

0.1.3

License

MIT

Unpacked Size

21.4 kB

Total Files

19

Last publish

Collaborators

  • webees