harbor-eth

Reusable Foundry and Solidity development infrastructure for Nix flakes.

Packaged foundry and solc toolchains with dev shells composed through harbor-meta. Foundry's anvil is the local test backend, so no service wrapper is needed.

Foundry toolchain

Packaged forge, cast, and anvil. `forge test` runs against the local backend.

solc

Pinned Solidity compiler alongside Foundry.

Dev shells

Shells compose through `harbor-meta` fragments.

Template

`nix flake init -t github:caniko/harbor-eth` scaffolds a consumer.

Add it

Start from the template, then run the usual Foundry commands.

Open full install guide