Lazy-Foundry

A workflow tool for foundry to ease the use of foundry and to give it a TUI view

Lazy-Foundry

Created At

ETHOnline 2025

Project Description

Project Concept: Foundry Terminal User Interface (TUI) This project is a sophisticated Terminal User Interface (TUI) wrapper designed to dramatically simplify and streamline interactions with the Foundry smart contract development toolkit. Inspired by the efficient, modal design of editors like Neovim, our TUI aims to accelerate the developer workflow by organizing core Foundry functionalities—forge, anvil, and cast—into distinct, focused modes.

The Modal Interface The TUI will initially feature three main modes, each corresponding to a core Foundry component, offering a specialized and intuitive command palette:

  1. Anvil Mode (Default) Upon launching the TUI application, the user will be placed into the Anvil Mode by default. This mode serves as the primary environment setup and configuration hub.

Key Functionality:

Environment Configuration: Users can easily set up their environment variables for contract interaction and testing.

Node Setup: Configure crucial parameters such as the RPC URL, Fork URL (for state-forking from a live network), and the target Chain ID.

Wallet Management: Securely specify the originating address for transactions. This feature will leverage Foundry's native security tools (like those in cast) to handle the private key, ensuring it is securely encrypted and managed within the TUI environment.

  1. Forge Mode Dedicated to the compilation, testing, and deployment aspects of smart contract development.

  2. Cast Mode Provides a command-line interface for interacting with the blockchain and smart contracts (reading state, sending transactions, etc.) using the familiar cast syntax but within the TUI's structured environment.

Future Scope While the initial hackathon timeline focuses on perfecting the Anvil, Forge, and Cast modes, the long-term vision includes integrating a Chisel Mode to provide TUI access to Chisel's powerful EVM scripting and debugging capabilities. This feature will be explored post-hackathon to ensure a robust and well-tested implementation.

This modal structure promises a powerful, frictionless, and familiar experience for developers already accustomed to efficiency-focused terminal environments.

How it's Made

The application is built using Go (Golang), leveraging the powerful and functional Bubble Tea framework (from Charm) to create a stateful, responsive, and visually appealing terminal interface. This ensures a high-performance, cross-platform utility. That being said this is our first time working on a TUI app so right now we are exploring by the time hackathon ends we are sure to present a rather more vivid answer to this section.

background image mobile

Join the mailing list

Get the latest news and updates