The demo contains a basic web3 app and smart contract for minting NFTs.
- See it in action in the Web3 NFT Tutorial on YouTube.
- Follow the full Web3 Tutorial on Fireship.
git clone <this-repo>
npm install
# terminal 1 per far girare Hardhat Runtime Environment
npx hardhat node
# terminal 2 per compilare e creare il network in locale
npx hardhat compile
npx hardhat run scripts/sample-script.js --network localhost
# terminal 3
npm run dev
Update the deployed contract address in components/Home.js
npx hardhat run scripts/sample-script.js --network matic