This is a simple tool to send VeChain Thor data to an influxDB instance.
- Local Run
make start
- Debug Mode
- Comment out the thorflux service in
./compose.yaml
, then:
docker compose up
go run . --thor-url=https://mainnet.vechain.org --influx-token=admin-token --thor-block=1024
- Debug mode along with a dynamic local Thor port (like hayabusa-e2e tests)
- Extension of 3. Run the desired test in your e2e project and get the Thor port (i.e., 65253), then:
make debug-with-local-thor-port PORT=65253
- Cleanup
- This will bring down the Docker containers, delete the volumes folder, kill
go run
processes following the format of this project and delete the thorflux log file
make clean