Technologies: Node | Metamask | Polygon Mumbai Testnet | Alchemy | Hardhat | Solidity | Ethers.js
Tutorial: Web3 University
Note: .env file contains the following:
- ALCHEMY_API_KEY
- ALCHEMY_API_URL
- METAMASK_PRIVATE_KEY
- CONTRACT_ADDRESS
To Initialize:
git clone
npm install
- Setup Metamask Wallet Chrome extension and Alchemy API key
- Configure .env file
To Run:
npx hardhat compile
- Edit interact.js with new message for update function
npx hardhat run scripts/interact.js