Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 578 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 578 Bytes

Web3 Labs

Po uzupełnieniu .env, przetestuj:

npx hardhat accounts
npx hardhat compile
npx hardhat test
npx hardhat test test/eur/test.js
REPORT_GAS=true npx hardhat test
npx hardhat coverage
npx hardhat run scripts/deploy.js

Etherscan verification

hardhat run --network testnet scripts/deploy.js

Skopiuj adres kontraktu i wklej go w miejsce DEPLOYED_CONTRACT_ADDRESS:

npx hardhat verify --network goerli DEPLOYED_CONTRACT_ADDRESS
npx hardhat verify --constructor-args arguments.js DEPLOYED_CONTRACT_ADDRESS --network goerli