https://github.com/ammmir/walletwatch
A small HTTP interface to the bitcoind ZeroMQ event stream
https://github.com/ammmir/walletwatch
bitcoin bitcoind cryptocurrency zeromq
Last synced: about 1 month ago
JSON representation
A small HTTP interface to the bitcoind ZeroMQ event stream
- Host: GitHub
- URL: https://github.com/ammmir/walletwatch
- Owner: ammmir
- License: mit
- Created: 2017-08-16T22:04:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-16T22:15:49.000Z (almost 9 years ago)
- Last Synced: 2024-06-20T14:26:55.142Z (about 2 years ago)
- Topics: bitcoin, bitcoind, cryptocurrency, zeromq
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WalletWatch
A simple HTTP interface to the bitcoind ZeroMQ socket, providing push notifications of when *zero-confirmation* transactions involve one or more Bitcoin addresses enter the mempool.
```shell
$ curl http://localhost:8080/btc/address/1Kr6QSydW9bFQG1mXiPNNu6WpJGmUa9i1g?limit=1
{"hash":"d0a3daa38e28f2112740568f9827e072d661ce20a5bb890d515087901d44d711","outputs":{"R1Kr6QSydW9bFQG1mXiPNNu6WpJGmUa9i1g":146034487529}}
```
More cryptocurrencies will be added soon!
Status: Pre-Alpha
# Requirements
Run `bitcoind` somewhere with the `-zmqpubrawtx=tcp://127.0.0.1:1337` option.
## Linux
apt-get install libzmq-dev libsodium-dev
## Mac
brew install zeromq --with-libsodium
# TODO
* Server-Sent Events (SSE) output
* Bitcoin SegWit
* xpub watching
* Bitcoin P2P integration for >0 confirmation checking
* Ethereum
* Ethereum tokens
# License
MIT