Socket
Book a DemoInstallSign in
Socket

blink1-bitcoin

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blink1-bitcoin

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

0.1.6
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

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

Keywords

blink1

FAQs

Package last updated on 17 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.