Before you begin, you need to install the following tools:
To get started with Scaffold-ETH 2, you have two options:
- Use git clone to clone the repository.
- [Beta] Use the npx command:
npx create-eth@latestto bootstrap the project directly.
Option 1: Setup using
Clone this repo & install dependencies:
git clone https://github.com/scaffold-eth/scaffold-eth-2.git
Option 2: [Beta] Setup using
For a simplified setup, Scaffold-ETH 2 offers a beta npx method that guides you interactively through the setup.
Bootstrap the project:
You will be presented with a series of prompts:
- Project Name: Input your project name: Enter a name for your project, e.g., my-dapp-example.
- Solidity Framework What solidity framework do you want to use?: Choose your preferred solidity framework (Hardhat, Foundry)
- Install packages?: Press
yes(default option) or type
Once the setup is complete, navigate to the project directory: