Skip to main content
Arcium.toml is auto-generated by arcium init and configures the Arcium CLI tooling. It lives at the root of your project alongside Anchor.toml. Most projects only need to edit this file when changing localnet behavior or adding a cluster offset for devnet or mainnet testing.

Localnet configuration

The [localnet] section controls your local development cluster. All required fields are auto-generated by arcium init with sensible defaults. Use the default values unless you need to test against a larger local cluster or a custom Docker network setup.

Cluster configuration

The [clusters.<name>] sections map network names to cluster offsets. These entries are used by arcium test --cluster <name> to resolve the cluster offset for testing. The CLI reads these entries when you run commands such as:
For local tests without a --cluster argument, the CLI uses the [localnet] configuration.

Full example

Common mistakes