0.3.1 • Published 11 years ago

darkcoin-address v0.3.1

Weekly downloads
12
License
-
Repository
github
Last release
11 years ago

darkcoin-address Build Status

Functions for working with Darkcoin addresses

Based on https://github.com/defunctzombie/bitcoin-address

install

npm install darkcoin-address

API

validate (address , type)

returns true if the address (string) is a valid Darkcoin 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

0.3.1

11 years ago

0.3.0

11 years ago