Record and process data from Nano nodes
Install pycurl
python3 record.py
-nu
- url of the nano node that you would like to use, default127.0.0.1
-np
- port of the nano node that you would like to use, default is55000
Set Permissions for script:
chmod +x run.sh
sh run.sh
this script matches up the hashes from record.py
and accounts file
- provide the
blocks.json
file anddata.json
fromrecord.py
- run
python3 process.py -l myblocks
- to process additional blocks, provide new
data.json
andblocks.json
files. The final result file will bedata-info.json
-l
- set label to identify your blocks, default toUnknown
-e
- declare if you want to export the data as an array, default toFalse