This repository contains a sample project that you can use to start a NFT tokens deployed on Rinkeby Network
This project is intended to be used with the
Hardhat Beginners Tutorial, but you should be
able to follow it by yourself by reading the README and exploring its
contracts
, tests
, scripts
and frontend
directories.
The first things you need to do are cloning this repository and installing its dependencies:
git clone https://github.com/dagogodboss/blockchain_works.git
cd blockchain_works
git pull nftTasks
npm install
Once installed, let's run Hardhat's testing network:
npx hardhat node
Then, on a new terminal, go to the repository's root folder and run this to deploy your contract:
npx hardhat run scripts/deploy.js --network rinkeby
Finally, we can run the frontend with:
cd frontend
npm install
npm start
If you see
npm ERR! code ENOLOCAL
, try runningnpm ci
instead ofnpm install
.
Open http://localhost:3000/ to see your Dapp. You will
need to have Metamask installed and listening to
rinkeby
.
Happy Testing!