EAG Global Buildathon · Track 4 · Open-source tooling

Lattice Studio

Compose, check, export and deploy EIP-2535 diamonds from the Lattice library. No backend, no accounts.

The problem

A diamond's mistakes show up at deploy time, or in the audit

Each is cheap to fix while composing and expensive once the diamond is live.

Inspiration

Three tools that made hard things feel direct

Lattice Studio brings those three ideas to EIP-2535 diamonds: a sheet you compose on, a script that falls out of it, and a deploy from the same tab.

What it does

Every check runs on every edit

  • Place facets from the Lattice catalog on a sheet: 105 facets, 90 inits, 85 recipe templates.
  • Nine families of checks rerun on each change, in about 2 ms for a 30-facet diamond.
  • Each finding names its fix and writes a console line.
  • Keyboard-only throughout, down to a 375 px phone layout.
The Studio sheet with a twelve-facet GovernedVault recipe, the catalog on the left and the inspector on the right.

One core, three surfaces

The app, the CLI and CI cannot disagree

Exports: Foundry script, agent brief, recipe JSON, Safe Transaction Builder batch, share link.

Proof

Deployed on Sepolia from the live app

Diamond
0xF70f3E9D2183B4e829DB615E08551bafcE6C9755
LatticeFactory
0xc192cEa531C8FFb3cBE69A98f4795757E4A2c7be
Transaction
0xc3464766…dddade969
Sourcify
Exact match

The on-chain loupe returns the plan's five facets, in the plan's order.

Studio showing the ERC20 project live on Sepolia, with the console line Verified on Sourcify (exact match).

How it's built

A pure core, a generated catalog, and tests at every layer

Bun monorepo. The core has no DOM, network, clock or randomness. The catalog is generated from a pinned Lattice checkout. React and React Flow for the sheet; viem and wagmi in a lazily loaded chain module, the only code that talks to a network. Golden tests run against Lattice's own deploy scripts.

Status

What's real, and what isn't yet

Lattice, the facet library, is my earlier open-source work and predates the event. Studio was built inside the hackathon window, with coding agents under my direction.

Next

Beyond the hackathon

David Dada · built from Nigeria