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
🧪 Inspired by split bill feature. Currently only featured for evenly split bill.
7
4
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.
5
+
⚙️ Built using NextJS, RainbowKit, Hardhat, Wagmi, Viem, and Typescript.
9
6
10
-
⚙️ Built using NextJS, RainbowKit, Foundry/Hardhat, Wagmi, Viem, and Typescript.
11
-
12
-
- ✅ **Contract Hot Reload**: Your frontend auto-adapts to your smart contract as you edit it.
7
+
- ✅ **Contract Hot Reload**: The frontend auto-adapts to we edit the smart contract.
13
8
- 🪝 **[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.
14
-
- 🧱 [**Components**](https://docs.scaffoldeth.io/components/): Collection of common web3 components to quickly build your frontend.
15
-
- 🔥 **Burner Wallet & Local Faucet**: Quickly test your application with a burner wallet and local faucet.
9
+
- 🧱 [**Components**](https://docs.scaffoldeth.io/components/): Collection of common web3 components to quickly build the frontend.
10
+
- 🔥 **Burner Wallet & Local Faucet**: Quickly test the application with a burner wallet and local faucet.
16
11
- 🔐 **Integration with Wallet Providers**: Connect to different wallet providers and interact with the Ethereum network.
Before you begin, you need to install the following tools:
@@ -29,60 +22,44 @@ Before you begin, you need to install the following tools:
29
22
30
23
To get started with Scaffold-ETH 2, follow the steps below:
31
24
32
-
1.Install the latest version of Scaffold-ETH 2
25
+
1.Setup terminal directory
33
26
34
27
```
35
-
npx create-eth@latest
28
+
cd eth-expense-splitter
36
29
```
37
30
38
-
This command will install all the necessary packages and dependencies, so it might take a while.
39
-
40
-
> [!NOTE]
41
-
> You can also initialize your project with one of our extensions to add specific features or starter-kits. Learn more in our [extensions documentation](https://docs.scaffoldeth.io/extensions/).
42
-
43
-
2. Run a local network in the first terminal:
31
+
2. Install dependencies
44
32
45
33
```
46
-
yarn chain
34
+
yarn install
47
35
```
48
36
49
-
This command starts a local Ethereum network that runs on your local machine and can be used for testing and development. Learn how to [customize your network configuration](https://docs.scaffoldeth.io/quick-start/environment#1-initialize-a-local-blockchain).
50
-
51
-
3. On a second terminal, deploy the test contract:
37
+
3. Navigate to hardhat directory
52
38
53
39
```
54
-
yarn deploy
40
+
cd packages/hardhat
55
41
```
56
42
57
-
This command deploys a test smart contract to the local network. You can find more information about how to customize your contract and deployment script in our [documentation](https://docs.scaffoldeth.io/quick-start/environment#2-deploy-your-smart-contract).
58
-
59
-
4. On a third terminal, start your NextJS app:
43
+
4. Start the Hardhat local blockchain:
60
44
61
45
```
62
-
yarn start
46
+
yarn hardhat node
63
47
```
64
48
65
-
Visit your app on: `http://localhost:3000`. You can interact with your smart contract using the `Debug Contracts` page. You can tweak the app config in `packages/nextjs/scaffold.config.ts`.
66
-
67
-
**What's next**:
68
-
69
-
Visit the [What's next section of our docs](https://docs.scaffoldeth.io/quick-start/environment#whats-next) to learn how to:
49
+
5. Open other terminal and deploy the contract on hardhat chain
70
50
71
-
- Edit your smart contracts
72
-
- Edit your deployment scripts
73
-
- Customize your frontend
74
-
- Edit the app config
75
-
- Writing and running tests
76
-
-[Setting up external services and API keys](https://docs.scaffoldeth.io/deploying/deploy-smart-contracts#configuration-of-third-party-services-for-production-grade-apps)
77
-
78
-
## Documentation
79
-
80
-
Visit our [docs](https://docs.scaffoldeth.io) to learn all the technical details and guides of Scaffold-ETH 2.
51
+
```
52
+
yarn hardhat deploy --network hardhat
53
+
```
81
54
82
-
To know more about its features, check out our [website](https://scaffoldeth.io).
55
+
7. Navigate to nextjs directory
83
56
84
-
## Contributing to Scaffold-ETH 2
57
+
```
58
+
cd packages/nextjs
59
+
```
85
60
86
-
We welcome contributions to Scaffold-ETH 2!
61
+
7. Start the frontend
87
62
88
-
Please see [CONTRIBUTING.MD](https://github.com/scaffold-eth/scaffold-eth-2/blob/main/CONTRIBUTING.md) for more information and guidelines for contributing to Scaffold-ETH 2.
0 commit comments