An open API service indexing awesome lists of open source software.

https://github.com/volker48/watcher

BTC address watcher
https://github.com/volker48/watcher

bitcoin bitcoind btc cryptocurrency

Last synced: 8 months ago
JSON representation

BTC address watcher

Awesome Lists containing this project

README

          

# BTC Address Monitor

This is a simple proof of concept BTC address monitoring application. It should be provided with a watchlist of
addresses. The application will then monitor transactions on the blockchain and watch for deposits into the addresses
that are contained in the watch list.

### Watchlist format example

```json
{"addresses": ["n2unYMeXXpadkocVka1rPzGLpJ6PwLBgRy", "2N8jrpNnTzrYJMU4cLfmQudbRemyLyQKWnC"]}
```

### Application usage

#### Start bitcoind

The application requires a connection to `bitcoind`. An example of starting bitcoind is as follows:
`bitcoind -testnet -datadir=testnet -server -rpcuser=user -rpcpassword=pass -txindex=1`. This
will run bitcoind on 127.0.0.1 and port 18332.

#### Running the application

To run the application execute `python monitor.py user pass` where `user` matches the `-rpcuser` for the RPC
user of your bitcoind process and `pass` matches the `-rpcpassword` you set when starting bitcoind.