Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alchemyplatform/hello-world-tutorial


https://github.com/alchemyplatform/hello-world-tutorial

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# hello-world-tutorial

This is the example code repository for the Alchemy Hello World tutorial series (parts 1, 2, 3).

[YouTube Playlist](https://www.youtube.com/watch?v=g73EGNKatDw&list=PLMj8NvODurfGgDJG-qQWyKtqTxJyRGI0i)

- [Part 1 Docs](https://docs.alchemy.com/alchemy/tutorials/hello-world-smart-contract)
- [Part 2 Docs](https://docs.alchemy.com/alchemy/tutorials/hello-world-smart-contract/interacting-with-a-smart-contract)
- [Part 3 Docs](https://docs.alchemy.com/alchemy/tutorials/hello-world-smart-contract/submitting-your-smart-contract-to-etherscan)

## Setup

You can clone this repo and get going right away.

Just make sure to:
- run `npm install` to set up all the dependencies (hardhat, ethers, etc.)
- rename `.env-example` to `.env` and then fill in the environment variables with your own info
- set up an Alchemy account [here](https://alchemy.com/?a=641a319005)
- set up a [Metamask](https://metamask.io/download.html) wallet with [fake testnet ether](https://faucet.dimensions.network/)

And then you should be able to:
- run `npx hardhat run scripts/deploy.js` to deploy the contract to the Ropsten testnet
- run `npx hardhat run scripts/interact.js` to read and write a new message to the smart contract on Ropsten
- run `npx hardhat verify --network ropsten 'Hello World!'` to verify your contract on Etherscan