Foundry Project Scaffolder
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Foundry Project Scaffolder creates a complete, production-ready Foundry project structure in seconds. It generates a full file tree including src/ for your Solidity contracts, script/ for deployment scripts, test/ for Forge test files, foundry.toml configuration, and a .env.example for environment variables. The tool creates a Solidity contract skeleton with your specified name and version, a deployment script using Forge's Script.sol and vm.broadcast, and a basic test file using forge-std/Test.sol. It also allows you to specify additional dependencies like forge-std or OpenZeppelin contracts, which are included in the generated configuration. The output is a fully copyable preview that you can paste directly into your local development environment to start building immediately.
HOW TO USE
Select your target EVM network from the dropdown — Ethereum Mainnet, Sepolia, Polygon, Mumbai, Arbitrum One, Optimism, Base, BNB Smart Chain, or Avalanche C-Chain. Enter your project name (npm-style, lowercase with hyphens), your contract name (capitalized), and the Solidity version you want to use. Optionally add any additional Foundry dependencies as a comma-separated list (e.g., openzeppelin-contracts, forge-std). The tool generates a live preview showing the entire file tree, the foundry.toml with your network preconfigured, the deployment script, the test file, and the contract skeleton. Copy the files and paste them into your project directory — you're ready to run forge build and forge test.
TECHNICAL MECHANISM
The scaffold is built from a template engine that respects your network selection by injecting the correct RPC endpoint mapping into foundry.toml's rpc_endpoints section. The project name is sanitized to npm-compatible format, and all file paths are generated consistently with Foundry's standard directory structure. The contract skeleton follows Solidity best practices with SPDX license identifier, pragma statement, and a placeholder constructor. The deployment script uses forge-std/Script.sol with vm.startBroadcast and vm.stopBroadcast to handle secure deployment flows. The test file imports forge-std/Test.sol and includes a setUp function with a deployment test to verify contract instantiation. Dependencies are listed in the generated output for manual installation via forge install. All generation happens client-side in your browser, making it instant and private.
WHAT IT CANNOT SEE
This tool cannot verify whether the generated project compiles successfully without actually running forge build on your local machine. It cannot validate that the external dependencies you specify exist in the Foundry registry or that they are compatible with your Solidity compiler version. It does not check whether your chosen network RPC URL is accessible or whether your private key has sufficient funds for deployment. The contract skeleton is a starting point only —
PLEASE NOTE
Sites and services change over time and this app may need updating to match.