Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eesuhn/eth-dapp-starter
Monorepo — Ethereum Starter Kit
https://github.com/eesuhn/eth-dapp-starter
bunjs ethersjs hardhat nextjs shadcn
Last synced: 21 days ago
JSON representation
Monorepo — Ethereum Starter Kit
- Host: GitHub
- URL: https://github.com/eesuhn/eth-dapp-starter
- Owner: eesuhn
- License: mit
- Created: 2024-10-21T08:20:13.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2024-10-22T06:08:39.000Z (23 days ago)
- Last Synced: 2024-10-23T08:28:51.725Z (22 days ago)
- Topics: bunjs, ethersjs, hardhat, nextjs, shadcn
- Language: TypeScript
- Homepage:
- Size: 274 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## `eth-dapp-starter`
![Next.js][Next.js] ![Hardhat][Hardhat] ![ethers][ethers] ![shadcn][shadcn] ![bun][bun]
### Setting Up...
> [!WARNING]
> Please install `Bun` before proceeding.
`curl -fsSL https://bun.sh/install | bash`1. `bun install` to install dependencies.
2. `bun run dev` to start the development server.
3. In another terminal, run the following commands to compile and test the smart contracts:
```bash
bun run hardhat:compile
bun run hardhat:test # This line alone compile as well.
```### Project Structure
```bash
.
├── contracts # Contains Solidity smart contracts.
│ └── Lock.sol # Example smart contract.
├── ignition
│ └── modules
├── public # Stores static assets like images, fonts, etc.
├── scripts # Scripts to deploy and interact with the smart contracts.
├── src
│ ├── app # Main entry point of the application.
│ ├── components # Reusable components.
│ ├── lib # Utility functions, constants, hooks, or other libraries.
│ └── pages # Pages of the application.
└── test # Contains tests for the smart contracts.
└── Lock.ts # Example test file.
```[Next.js]: https://img.shields.io/badge/Next.js-000000?style=for-the-badge&logo=next.js&logoColor=white
[Hardhat]: https://img.shields.io/badge/Hardhat-f0d614?style=for-the-badge&logo=hardhat&logoColor=white
[ethers]: https://img.shields.io/badge/ethers.js-6651FF?style=for-the-badge&logo=ethereum&logoColor=white
[shadcn]: https://img.shields.io/badge/shadcn/ui-000000?style=for-the-badge&logo=shadcn/ui&logoColor=white
[bun]: https://img.shields.io/badge/Bun-000?logo=bun&logoColor=fff&style=for-the-badge