ethereum desktop wallet
The easiest way to get a stable dev environment is nix. Install Nix here, then run:
nix develop --extra-experimental-features "nix-command flakes" --command $SHELLWork inside that shell. It pins the toolchain CI uses, which matters in two places that fail quietly otherwise:
- foundry. The anvil-backed tests need a build that mines EIP-7702 transactions. An older
foundry spawns and accepts them, then drops them during block building, so a test hangs
rather than failing.
devnet_with_7702()probes for this and fails in ten seconds. - rustfmt.
crates/.rustfmt.tomlsetsimports_granularityandgroup_imports, both nightly-only. Stablecargo fmtignores them and exits zero, so formatting can pass locally and fail in CI.
cd crates
cargo test --workspace # unit and non-devnet tests
cargo test --workspace -- --ignored # the anvil-backed tests
cargo clippy --workspace --all-targets
cargo fmt --all