Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions Whitelist-dApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,20 @@ cd Whitelist-Dapp

Then, in Whitelist-Dapp folder, we will set up a Hardhat project

> Note : We install Hardhat v2.14.0 specifically since the new v2.15.0 will install new hardhat-toolbox v3 that has breaking changes to the code.

```bash
mkdir hardhat-tutorial
cd hardhat-tutorial
npm init --yes
npm install --save-dev hardhat
npm install --save-dev --save-exact hardhat@2.14.0
```
If you are a Windows User, you'll have to add one more dependency. It is given below:

> Note : We install v2 specifically since the new v3 has breaking changes to the code.

```bash
npm install --save-dev @nomicfoundation/hardhat-toolbox
npm install --save-dev @nomicfoundation/hardhat-toolbox@2
```

In the same directory where you installed Hardhat run:
Expand Down Expand Up @@ -199,8 +203,10 @@ To develop the website we will use [React](https://reactjs.org/) and [Next Js](h

First, You will need to create a new `next` app. To create this `next-app`, in the terminal point to Whitelist-Dapp folder and type

> Note : We install v12 specifically since the new v13 has breaking changes to the code.

```bash
npx create-next-app@latest
npx create-next-app@12
```

and press `enter` for all the questions. Choose `Javascript` instead of `Typescript` when asked.
Expand Down