init command creates project-local scaffolding for Erst debugging workflows.
Usage
Description
This command generates:erst.tomlconfiguration file.gitignoreentries for local artifacts- Directory structure for traces, snapshots, overrides, and WASM files
Examples
Flags
boolean
default:"false"
Overwrite existing configuration files
string
default:"public"
Network to configure:
public, testnet, futurenet, or standalonestring
Custom RPC URL to use
string
Custom network passphrase
boolean
default:"true"
Run interactive setup wizard (auto-detects terminal)Alias:
-iInteractive wizard
When run in an interactive terminal,erst init launches a setup wizard that guides you through:
1
Select network
Choose from public, testnet, futurenet, or standalone
2
Configure RPC URL
Enter custom RPC endpoint or use network defaults
3
Set network passphrase
Optionally specify custom network passphrase
4
Confirm settings
Review and confirm configuration before creating files
Generated structure
After runningerst init, your project will contain:
Configuration file
The generatederst.toml includes: