Skip to content

Commit 82a6ccc

Browse files
authored
Merge pull request #1 from nathfred/dev
Dev
2 parents dedbf4d + 6cded14 commit 82a6ccc

14 files changed

Lines changed: 31747 additions & 4179 deletions

File tree

README.md

Lines changed: 26 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
1-
# 🏗 Scaffold-ETH 2
1+
# ETH Expense Splitter by nathfred
22

3-
<h4 align="center">
4-
<a href="https://docs.scaffoldeth.io">Documentation</a> |
5-
<a href="https://scaffoldeth.io">Website</a>
6-
</h4>
3+
🧪 Inspired by split bill feature. Currently only featured for evenly split bill.
74

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.
96

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.
138
- 🪝 **[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.
1611
- 🔐 **Integration with Wallet Providers**: Connect to different wallet providers and interact with the Ethereum network.
1712

18-
![Debug Contracts tab](https://github.com/scaffold-eth/scaffold-eth-2/assets/55535804/b237af0c-5027-4849-a5c1-2e31495cccb1)
19-
2013
## Requirements
2114

2215
Before you begin, you need to install the following tools:
@@ -29,60 +22,44 @@ Before you begin, you need to install the following tools:
2922

3023
To get started with Scaffold-ETH 2, follow the steps below:
3124

32-
1. Install the latest version of Scaffold-ETH 2
25+
1. Setup terminal directory
3326

3427
```
35-
npx create-eth@latest
28+
cd eth-expense-splitter
3629
```
3730

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
4432

4533
```
46-
yarn chain
34+
yarn install
4735
```
4836

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
5238

5339
```
54-
yarn deploy
40+
cd packages/hardhat
5541
```
5642

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:
6044

6145
```
62-
yarn start
46+
yarn hardhat node
6347
```
6448

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
7050

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+
```
8154

82-
To know more about its features, check out our [website](https://scaffoldeth.io).
55+
7. Navigate to nextjs directory
8356

84-
## Contributing to Scaffold-ETH 2
57+
```
58+
cd packages/nextjs
59+
```
8560

86-
We welcome contributions to Scaffold-ETH 2!
61+
7. Start the frontend
8762

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.
63+
```
64+
yarn dev
65+
```

0 commit comments

Comments
 (0)