Skip to content

A Blockchain Encrypted Digital Currency Address Validator.

License

Notifications You must be signed in to change notification settings

abclib/address-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Blockchain Encrypted Digital Currency Address Validator.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published