da091e0b972100b58b677984fad552103d6fe931 — pierrenn 1 year, 18 days ago 1670c24
readme: update watch list addresses
1 files changed, 16 insertions(+), 1 deletions(-)

M README.md => README.md +16 -1
@@ 12,10 12,25 @@ If anyone sends a PR who is merged, the website is updated.
You need a rust toolchain and a running btc node.
You can [install `cargo`](https://doc.rust-lang.org/cargo/getting-started/installation.html) if you don't have it already.

If you want to pull extra infos from the RPC node to display, you need to add the 16k addresses to your watch list.
You can do it with a small bash script:

awk '{ print $2 }' data/tulip > addresses
while IFS='' read -r LINE || [ -n "${LINE}" ]; do
    idx=$((idx+1)); echo $idx $LINE; ./bitcoin-cli --datadir=/media/block/blockchain/bitcoin -rpcuser=foo -rpcpassword=bar importaddress $LINE csw$idx false
done < addresses
rm -f addresses

And relaunch a block scan.

# Usage

cargo run http://nod_adress:port rpc_user rpc_password
cargo run http://node_adress:port rpc_user rpc_password

# Claiming addresses