Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alchemyplatform/hello-world-tutorial
https://github.com/alchemyplatform/hello-world-tutorial
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alchemyplatform/hello-world-tutorial
- Owner: alchemyplatform
- Created: 2021-10-15T16:48:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-13T07:42:08.000Z (over 1 year ago)
- Last Synced: 2024-07-16T22:13:54.414Z (4 months ago)
- Language: Solidity
- Size: 83 KB
- Stars: 25
- Watchers: 6
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-web3-tools-and-dapps - Hello World - Introducing a basic Alchemy smart contract designed for beginners, specifically created to demonstrate the "Hello World" example. (dApps directory / Smart Contract Templates)
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