View Code? Open in Web Editor
NEW
Web3 Full Stack Application using Solidity + React
Home Page: epic-nfts-rho.vercel.app
Solidity 43.71%
JavaScript 28.30%
HTML 14.73%
CSS 13.27%
epic-nfts's Introduction
![Screenshot](images/screenshot.png)
- Run
npx hardhat node
in a terminal
- Deploy contract to hardhat test network doing:
npx hardhat run scripts/deploy.js --network localhost
- Connect metamask to local hardhat test network
- Update contract address inside
App.js
- Update contract
abi
with the generated json located at artifacts/contracts/MyEpicNFT.sol/MyEpicNFT.json
- To run the ReactJS application execute
npm start
inside react-app
folder
Deploy contract to Rinkeby Ethereum Test Network
- Update
hardhat.config.js
with the actual rinkeby url and ethereum account
- Run
npx hardhat run scripts/deploy.js --network rinkeby
- Select rinkeby network in metamask
- Update contract address inside
MyEpicNFT.constants.js
- Update contract
abi
with the generated json located at artifacts/contracts/MyEpicNFT.sol/MyEpicNFT.json
- To run the ReactJS application execute
npm start
inside react-app
folder
Verify contact on Etherscan
npx hardhat clean
npx hardhat compile
npx hardhat verify CONTRACT_ADDRESS --network rinkeby