You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-7
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
🧪 An open-source, up-to-date toolkit for building decentralized applications (dapps) on the Ethereum blockchain. It's designed to make it easier for developers to create and deploy smart contracts and build user interfaces that interact with those contracts.
9
9
10
-
⚙️ Built using NextJS, RainbowKit, Hardhat, Wagmi, Viem, and Typescript.
10
+
⚙️ Built using NextJS, RainbowKit, Foundry, Wagmi, Viem, and Typescript.
11
11
12
12
- ✅ **Contract Hot Reload**: Your frontend auto-adapts to your smart contract as you edit it.
13
13
- 🪝 **[Custom hooks](https://docs.scaffoldeth.io/hooks/)**: Collection of React hooks wrapper around [wagmi](https://wagmi.sh/) to simplify interactions with smart contracts with typescript autocompletion.
@@ -24,6 +24,9 @@ Before you begin, you need to install the following tools:
> **Note for Windows users**. Foundryup is not currently supported by Powershell or Cmd. You will need to use [Git BASH](https://gitforwindows.org/) or [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) as your terminal.
27
30
28
31
## Quickstart
29
32
@@ -34,7 +37,7 @@ To get started with Scaffold-ETH 2, follow the steps below:
This command starts a local Ethereum network using Hardhat. The network runs on your local machine and can be used for testing and development. You can customize the network configuration in `hardhat.config.ts`.
49
+
This command starts a local Ethereum network using anvil. The network runs on your local machine and can be used for testing and development. You can customize the network configuration in `packages/foundry/foundry.toml`.
47
50
48
51
3. On a second terminal, deploy the test contract:
49
52
50
53
```
51
54
yarn deploy
52
55
```
53
56
54
-
This command deploys a test smart contract to the local network. The contract is located in `packages/hardhat/contracts` and can be modified to suit your needs. The `yarn deploy` command uses the deploy script located in `packages/hardhat/deploy` to deploy the contract to the network. You can also customize the deploy script.
57
+
This command deploys a test smart contract to the local network. The contract is located in `packages/foundry/contracts` and can be modified to suit your needs. The `yarn deploy` command uses the deploy script located in `packages/foundry/script/Deploy.s.sol` to deploy the contract to the network. You can also customize the deploy script.
55
58
56
59
4. On a third terminal, start your NextJS app:
57
60
@@ -63,10 +66,10 @@ Visit your app on: `http://localhost:3000`. You can interact with your smart con
63
66
64
67
**What's next**:
65
68
66
-
- Edit your smart contract `YourContract.sol` in `packages/hardhat/contracts`
69
+
- Edit your smart contract `YourContract.sol` in `packages/foundry/contracts`
67
70
- Edit your frontend homepage at `packages/nextjs/app/page.tsx`. For guidance on [routing](https://nextjs.org/docs/app/building-your-application/routing/defining-routes) and configuring [pages/layouts](https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts) checkout the Next.js documentation.
68
-
- Edit your deployment scripts in `packages/hardhat/deploy`
69
-
- Edit your smart contract test in: `packages/hardhat/test`. To run test use `yarn hardhat:test`
71
+
- Edit your deployment scripts in `packages/script/deploy/Deploy.s.sol`
72
+
- Edit your smart contract test in: `packages/foundry/test`. To run test use `yarn foundry:test`
0 commit comments