Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

bitcoin-address

0.3.0 • Public • Published

bitcoin-address Build Status

Functions for working with bitcoin addresses

install

npm install bitcoin-address

API

validate (address [, type])

returns true if the address (string) is a valid bitcoin address optionally, you can specify 'prod' or 'testnet' for the type to limit validation that that subset of addresses

get_address_type (address)

returns address type if valid base58 address, otherwise null

Keywords

none

install

npm i bitcoin-address

Downloadsweekly downloads

881

version

0.3.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability