The program extracts data from an ethereum based blockchain and writes out the results in a json-file. In its current iteration it only extracts the sender-address (from_address) and receiver-address (to_address) from every transaction within every block that is looked into. This program can extract data from the entire blockchain history.
- Download the artifact
- Extract the zip file
- Open the directory containing the extracted JAR file in a terminal
- Execute the program:
java -jar BloxbergCacheCreator.jar <arguments>
Example:
java -jar BloxbergCacheCreator.jar --filename=my_file_name --stop=300
Windows: BloxbergCacheCreator.jar
The list of additional command line arguments, if required.
indicator | value | defaults |
---|---|---|
--ui=gui | to run with GUI | cli |
--url= | the url of the client | https://core.bloxberg.org |
--filename= | the name of the file | transactions_from_to |
--start= | first block to extract data from | 0 |
--stop= | last block to extract data from | 1000 |
Notes
- The result file will appear in a newly created directory
output
- A
.json
suffix will be added automatically to the specified filename. - Start and stop need to be numbers between 0 and the blocknumber of the latest block of the specified network.
- Stop needs to be higher than start.
Software requirements
- Requires java 14.
- GUI might only work on Linux.
- Windows shell does not show http requests