1.0.1 • Published 7 years ago

bc-confirm v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Bitcoin Confirmations

Notifies the user when a bitcoin transaction has had a certain amount of confirmations. Uses blockr.io API.

Bitcoin Confirmation Example

Installation

> git clone https://github.com/RossMcMillan92/bitcoin-confirmations
> cd bitcoin-confirmations
> npm install
> node index.js

Usage

> node index.js <transaction-hash>

<transaction-hash>: Hash of the Bitcoin transaction.

Optional arguments

> node index.js <transaction-hash> <target-confirmations> <timeout-length>

<target-confirmations>: Amount of confirmations to reach before being notified. Default: 3.

<timeout-length>: Timeout between pings. Default: 60s.