This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
yarn dev
To run the Hardhat node and deploy the contracts:
Run the local hardhat node
npx hardhat node
Then deploy the contracts locally
npx hardhat run scripts/deploy.ts --network localhost
Then copy the output and replace the values here src/app/configs/nftAddress.ts