A boilerplate for starting a web3 project.
This boilerplate quickly creates a mono repo with 2 environments, a Next JS environment for front-end and a Hardhat environment for writing, testing and deploying contracts.
- Run
npx create-web3
to start install - Run
yarn
ornpm install
to install all the dependencies - Once installation is complete,
cd
into your app's directory and runyarn chain
ornpm run chain
to start a local hardhat environment - Open another terminal and
cd
into your app's directory - Run
yarn deploy
ornpm run deploy
to deploy the example contract locally - Run
yarn dev
ornpm run dev
to start your Next dev environment
This project is built with the following open source libraries, frameworks and languages.
Tech | Description |
---|---|
Next.js | React Framework |
Hardhat | Ethereum development environment |
hardhat-deploy | A Hardhat Plugin For Replicable Deployments And Easy Testing |
WAGMI | A set of React Hooks for Web3 |
Please visit create-web3.xyz to view the full documentation.
If you find a bug or would like to request a feature, please visit ISSUES