Bithook is a Bitcoin Webhook CLI Utility. You can use this program to listen for new blocks and
transactions for addresses. When a transaction is received, Bithook will fire off a web POST 
request any URL you specify along with the transaction JSON data.

Bithook uses the []( websocket API to listen for transactions.

## Features
* Subscribe to new blocks
* Subscribe to transactions for a specified address
* Subscribe to unconfirmed addresses
* Sends JSON data as a POST request to any URL

## Install From Source

go get
./bin/bithook help

## Usage

`bithook <command> -webhook=http://webhook/path`

bithook blocks -- Subscribe to new blocks.
bithook unconfirmed -- Subscribe to new unconfirmed transactions.
bithook address <address> -- Subscribe to address.
bithook test -- Receives latest transaction. Use for testing.
bithook help -- This help menu.
bithook version -- This version.

-webhook=<webhook path> -- This is optional. The results will just echo to output if flag not set.

#### Example

The following example will listen for transactions of 1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp and POST the json results to You can view the results at

`bithook address 1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp -webhook=`

## Develop

git clone
export GOPATH=$HOME/path/to/project
cd /to/project
go run main.go

## License

Imports 1 package(s) ΒΆ