The chain ID should be Hardhat default chain ID
To run this project locally, follow these steps.
- Clone the project locally, change into the directory, and install the dependencies:
git clone https://github.com/0xhaz/nft-marketplace.git
cd nft-marketplace
# install using NPM or Yarn
npm install
# or
yarn
- Start the local Hardhat node
npx hardhat node
- With the network running, deploy the contracts to the local network in a separate terminal window
npx hardhat run scripts/deploy.js --network localhost
- Start the app
npm run dev