Skip to content

Blockfound will notify you when Slush's pool finds a new block for an irc bot or ios/android push notifications

Notifications You must be signed in to change notification settings

professoruss/blockfound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Blockfound

Donations appreciated 19nvKuFF5B6SAhpi1L8PpJVn55QeWxBJC8

Blockfound will notify you when your pool finds a new block

  • Ruby
  • Support for Pushover - ios/android push notifications
  • Run via cron or irc bot
  • Data comes from blockchain.info API (or optionally slush API)

Version

2.1

Installation

gem install json
gem install yaml
git clone https://github.com/professoruss/blockfound.git

Command line options

--pool <Slush, BTC%Guild, Eligius> (Specify pool name from blockchain.info - use same case as https://blockchain.info/pools?timespan=24hrs, replace spaces with %20)
--oldschool (Get data from slush API instead of blockchain.info)
--output <cli, pushover> (specify the output, defaults to cli)
--debug (print stuff out for debugging)
--help (uhh, help)

Run the damn thing!

output to console

ruby blockfound.rb --pool Slush

Push Notifications Via pushover

enter your token and user into the yaml file

cd blockfound
vim pushover.yaml

push notifications

ruby blockfound.rb --pool Slush --output pushover

Run via cron

* * * * * sleep 1 ;ruby blockfound/blockfound.rb --pool Slush --output pushover > /dev/null 2>&1

License

MIT

About

Blockfound will notify you when Slush's pool finds a new block for an irc bot or ios/android push notifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages