Nefariously Programmed Mecha

    @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

    Keywords

    none

    Install

    npm i @abckey/address-helper

    DownloadsWeekly Downloads

    5

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    21.4 kB

    Total Files

    19

    Last publish

    Collaborators

    • webees