Skip to content

Demo: Ethereum contracts, through Solidity, with Hardhat

Notifications You must be signed in to change notification settings

victorkamoto/Hello-Solidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello-Solidity

A very simple demo of deploying and interacting with an Ethereum contract, through Solidity w/ Hardhat.
This demo uses the Rinkeby Test Network.
Get fake Eth🤑 at rinkebyfaucet

Prerequisites

  • A MetaMask wallet.
  • An Alchemy account.
  • .env variables:
    • PRIVATE_KEY = your-metamask-private-key.
    • API_URL_KEY = your-alchemy-app-url.
    • API_KEY = your-alchemy-app-key.
    • CONTRACT_ADDRESS = address-returned-after-deploying.

Install dependencies

  • npm install - installs hardhart, hardhat-ethers & dotenv.

Scripts

  • npm run deploy - deploy contract.
  • npm run interact - update contract.

About

Demo: Ethereum contracts, through Solidity, with Hardhat

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published