bb

blink1-bitcoin

A tiny tool to connect your blink(1) device with Bitcoin live trades using websockets.

Showing:

Popularity

Downloads/wk

1

GitHub Stars

2

Maintenance

Last Commit

5yrs ago

Contributors

1

Package

Dependencies

5

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

blink1-bitcoin

A tiny tool to connect your blink(1) device with Bitcoin live trades using websockets.

blink1-bitcoin connects you to the live trading API of your favorite Bitcoin exchange (currently Bitstamp and OKCoin only, see Todo) and uses your blink(1) device to flash on every occuring trade with a corresponding light. The first incoming trade sets the reference values.

Install

Most OS need you to be root (e.g. using sudo) to install a global npm package:

$ npm -g install blink1-bitcoin

blink1-bitcoin depends on Node.js and npm. Tested with node v4.2.0 and npm v2.14.7.

Usage

Hook up your blink(1) device and run:

$ blink1-bitcoin <exchange>

Currently supported exchanges:

  • bitstamp: showing BTC-USD trades on Bitstamp
  • okcoin: showing BTC-CNY trades on OKCoin (connection is sluggish sometimes)
  • bitfinex: showing BTC-USD trades on Bitfinex

Huobi is currently work-in-progress.

Todo

  • transfer code into library!!
  • options to connect to: Kraken, BTC-e, Huobi...

Support

Found a bug? Open an issue here on Github.

Wanna help? Submit a pull request or contact me.

Wanna tip me a beer? Use Bitcoin: 14pSD9AmuNhLDbGRXehxbhwzRSRrkpiAKg

License

Copyright (c) 2015 Thomas Baumbach tom@xolo.pw

Licensed under the MIT License

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100