Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tr1sm0s1n/next-trpc-dapp

DApp with end-to-end typesafe APIs for Smart Contract interaction.
https://github.com/tr1sm0s1n/next-trpc-dapp

chakra-ui dapp ethereum ethersjs hardhat nextjs nodejs smart-contracts solidity trpc typescript zod

Last synced: about 2 months ago
JSON representation

DApp with end-to-end typesafe APIs for Smart Contract interaction.

Awesome Lists containing this project

README

        

# Next-tRPC-DApp

DApp with end-to-end typesafe APIs for Smart Contract interaction.

## 🛠 Built With

[![Node.js Badge](https://img.shields.io/badge/Node.js-393?logo=nodedotjs&logoColor=fff&style=for-the-badge)](https://nodejs.org/en)
[![TypeScript Badge](https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=fff&style=for-the-badge)](https://typescriptlang.org/)
[![Solidity Badge](https://img.shields.io/badge/Solidity-363636?logo=solidity&logoColor=fff&style=for-the-badge)](https://soliditylang.org/)
[![tRPC Badge](https://img.shields.io/badge/tRPC-2596BE?logo=trpc&logoColor=fff&style=for-the-badge)](https://trpc.io/)
[![Zod Badge](https://img.shields.io/badge/Zod-3E67B1?logo=zod&logoColor=fff&style=for-the-badge)](https://zod.dev)
[![Ethers Badge](https://img.shields.io/badge/Ethers-3C3C3D?logo=ethereum&logoColor=fff&style=for-the-badge)](https://docs.ethers.org/v6/)
[![Hardhat Badge](https://img.shields.io/badge/Hardhat-3C3C3D?logo=ethereum&logoColor=fff&style=for-the-badge)](https://hardhat.org/)
[![Next.js Badge](https://img.shields.io/badge/Next.js-000?logo=nextdotjs&logoColor=fff&style=for-the-badge)](https://nextjs.org/)
[![Chakra UI Badge](https://img.shields.io/badge/Chakra%20UI-319795?logo=chakraui&logoColor=fff&style=for-the-badge)](https://chakra-ui.com/)

## ⚙️ Run Locally

Clone the project

```bash
git clone https://github.com/tr1sm0s1n/next-trpc-dapp.git
cd next-trpc-dapp
```

Install dependencies

```bash
pnpm install
```

Test contract

```bash
pnpm test
```

Run hardhat node on port 8545

```bash
pnpm run node
```

Deploy contract

```bash
pnpm run deploy
```

Start the application

```bash
pnpm run dev
```

## 📜 License

Click [here](./LICENSE.md).

## 🎗️ Contributing

Click [here](./CONTRIBUTING.md).

## ⚖️ Code of Conduct

Click [here](./CODE_OF_CONDUCT.md).