A hello world dapp
-
Create .env in the root directory
-
Set API_URL and PRIVATE_KEY like this
API_URL = <e.g. your HTTP Alchemy API URL> PRIVATE_KEY = <e.g. your meta mask private key>
npx hardhat compile
npx hardhat run scripts/deploy.js --network ropsten