Solidity Nextjs Starter

screenshot of Solidity Nextjs Starter

A full-stack dApp starter built on Ethereum (Solidity) with Next.js (React).

Overview

The Solidity Next.js Starter is a repository for building full stack Ethereum decentralized applications (dApps) using Solidity and Next.js. It is designed for developers with existing JavaScript/TypeScript experience who are newer to Solidity. The repository provides a quick way to bootstrap an EVM dApp using modern best practices and includes both smart contract files and client application files.

Features

  • Solidity + Next.js: The repository combines Solidity, a programming language for writing smart contracts on Ethereum, and Next.js, a React framework for building client-side applications.
  • Contracts Stack: The smart contract files are built using StackAlchemy, Hardhat, Mocha, Chai, Solidity, and TypeScript. These tools enable developers to write and test smart contracts efficiently.
  • App Stack: The client application files are built using StackAlchemy, Next.js, Tailwind CSS, viemwagmi, RainbowKit, TypeScript, and Prettier. This stack provides a robust and optimized development environment for building the client side of the dApp.
  • Multiple Packages: The repository includes separate folders for contracts and app, each with their own set of dependencies and scripts. This allows for efficient development and testing of both the smart contracts and the client application.
typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.