Run a validator
Last updated
Last updated
The specular-validator
is a modular op-stack challenge agent written in Golang for dispute games, including but not limited to attestation games, fault games, and validity games. To learn more about dispute games, visit the .
To build the specular-validator
, run make
(which executes the make build
Makefile target). To view a list of available commands and options, run ./bin/specular-validator --help
.
specular-validator
is configurable via command line flags and environment variables. The help menu shows the available config options and can be accessed by running ./specular-validator --help
.
To run specular-validator
against the local devnet, first clean and run the devnet from the root of the repository.
Then build the specular-validator
with make specular-validator
.
Run the specular-validator
with:
The mnemonic and hd-path above are for a prefunded address on the devnet. The verifier will monitor dispute games and respond to any invalid claims by posting the correct trace as the counter-claim. The commands below can then be used to create and interact with games.