hello-world-tutorial
hello-world-tutorial copied to clipboard
hello-world-tutorial
This is the example code repository for the Alchemy Hello World tutorial series (parts 1, 2, 3).
Setup
You can clone this repo and get going right away.
Just make sure to:
- run
npm installto set up all the dependencies (hardhat, ethers, etc.) - rename
.env-exampleto.envand then fill in the environment variables with your own info - set up an Alchemy account here
- set up a Metamask wallet with fake testnet ether
And then you should be able to:
- run
npx hardhat run scripts/deploy.jsto deploy the contract to the Ropsten testnet - run
npx hardhat run scripts/interact.jsto read and write a new message to the smart contract on Ropsten - run
npx hardhat verify --network ropsten <your deplooyment address> 'Hello World!'to verify your contract on Etherscan