Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 481 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 481 Bytes

jjman505:bitcoin-address

Super simple bitcoin address validation.

Installation

meteor add jjman505:bitcoin-address

Description

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