How to run a validator
Validators are nodes that choose to participate in the rollup protocol to advance the state of the chain securely. Since the activation of BoLD, chains can now choose to make validation permissionless. You can learn more in the BoLD introduction.
This page describes the different strategies a validator may follow and provides instructions on how to run a validator for an Arbitrum chain.
This how-to assumes that you're familiar with the following:
- How to run a full node (see instructions here for DAO-governed chains, and here for Orbit chains)
- How the Rollup protocol works
- How BoLD works, if you're running a validator for a chain that has BoLD activated
Validation strategies
Validators can be configured to follow a specific validation strategy. Here we describe what strategies are available in Nitro:
| Strategy | Description | Gas usage |
|---|---|---|
Defensive | This validator will follow the chain and if it's local state disagrees with an on-chain assertion, this validator will post a stake and create a challenge to defend the chain | Only acts if a bad assertion is found |
StakeLatest | This validator will initially stake on the latest correct assertion found, and then move the stake whenever new correct assertions are created. It will also challenge any bad assertions that it finds (this strategy is only available in pre-BoLD chains) | Gas used every time a new assertion is created |
ResolveNodes | This validator will stay staked on the latest assertion found, resolve any unconfirmed assertions, and it will challenge any bad assertions that it finds | Gas used every time a new assertion is created and to resolve unconfirmed assertions |
MakeNodes | This validator continuously creates new assertions, resolves any unconfirmed assertions, and challenges bad assertions found. Note that if there is more than one MakeNodes validator running, they might all try to create a new assertion simultaneously. In that case, only one will be successful, while the others will have their transactions reverted | Gas used to create new assertions, move the stake to the latest one, and resolve unconfirmed assertions |
The watchtower strategy
One more validation strategy is available for all types of nodes: watchtower. This strategy is enabled by default in all nodes (full and archive), and it doesn't require a wallet, as it never takes any action on-chain.
A node in watchtower mode will immediately log an error if an on-chain assertion deviates from the locally computed chain state.
found incorrect assertion in watchtower mode