DApp Project Template
This is a simple template for DApp projects built with Hardhat, Ethers.js, Mocha and NextJS.
- Run
npm install
to get all dependencies (including Harthat) set up - Write smart contracts and include as *.sol files in
/contracts
folder - Write tests in parallel using Mocha and include them in the
/test
folder - Repeat: Compile using
npx hardhat compile
& run your tests usingnpx hardhat test
- If needed, deploy locally with
npx hardhat node
- Update details of your deployment script in the
/scripts
folder - Deploy to testnet with
npm run deploy:rinkeby
- Add all relevant contract information to the ContractProvider
- Create your Next.JS app by adding pages, components, and style