This repo contains different scripts related to ANON blockchain.
This script will scan ANON blockchain, find claimed coins (inputs) as of current block height, and save result to JSON file.
- Node.js version >= 8.12
- Running ANON full node.
- Know how to use terminal.
-
Download
find_claimed_coins.js
file. -
Make sure you ANON full node is running in background.
-
From terminal run this script with the following agruments:
node find_claimed_coins.js "full_path_to_anon-cli" "full_path_where_to_save_result"
Example:
node find_claimed_coins.js "/Users/John/anon/src/anon-cli" "/Users/John/result"
-
Results will be saved to 3 files and a simple summary will be printed to the terminal:
- spent_tx_inputs.json
- list-of-claimed-inputs.json
- claimed_coins_total.json (Simple summary)
Note: This script takes ~15-30 min to complete.