Skip to content

JadarTheObscurity/110950011-dbaf-lab3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The contract is deployed at 0xcD27BC56A86895F446c99736709B0597791DA0f8 View on etherscan: https://goerli.etherscan.io/address/0xcD27BC56A86895F446c99736709B0597791DA0f8#code

  1. set up .env file
API_URL = "<API URL of Alchemy>"
PRIVATE_KEY = "<Your wallet private key>"
ETH_API = "<Your API key in Etherscan>"
  1. Test the contract
npx hardhat test test/Lab3.js --network hardhat
// Run on hardhat network to save gas
  1. Deploy the contract
npx hardhat run scripts/Lab3_deploy.js
// Output: Contract deployed at: "<Address of the contract>" 
// e.g. Contract deployed at:  0xcD27BC56A86895F446c99736709B0597791DA0f8
  1. Verify the contract
npx hardhat verify --network goerli "<Address of the contract>"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published