This is the example code repository for the Alchemy Hello World tutorial series (parts 1, 2, 3).
You can clone this repo and get going right away.
Just make sure to:
npm install
to set up all the dependencies (hardhat, ethers, etc.).env-example
to .env
and then fill in the environment variables with your own infoAnd then you should be able to:
npx hardhat run scripts/deploy.js
to deploy the contract to the Ropsten testnetnpx hardhat run scripts/interact.js
to read and write a new message to the smart contract on Ropstennpx hardhat verify --network ropsten <your deplooyment address> 'Hello World!'
to verify your contract on Etherscan