An application to measure the end user latency of transactions on the Near blockchain.
- Token transfer with default parameters
- Token transfer with
wait_until: IncludedFinal
- Token transfer with
wait_until: Final
- Swap NEAR -> USDT
- FT USDT transfer
Run locally with cargo
or build and run as a docker image:
docker build -t tx-bench .
docker run --rm -it tx-bench
You can also run it without Docker, follow the usual Rust workflow.
The CI checks that the project compiles successfully at every commit. Docker images are pushed to the registry only by tagged builds.
Metrics are exposed by default on 0.0.0.0:9000
.
Logs are printed to stdout
. Log level can be controlled through the environment variable RUST_LOG
.