Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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