Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 637 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 637 Bytes

ok.let's.go. Contracts

Compile

$ npx hardhat compile

Deploy

If your contract requires extra constructor arguments, you'll have to specify them in deploy options.

$ CONTRACT_NAME=OKLG npx hardhat run --network rinkeby scripts/deploy.js

Verify

$ npx hardhat verify CONTRACT_ADDRESS --network rinkeby

Flatten

You generally should not need to do this simply to verify in today's compiler version (0.8.x), but should you ever want to:

$ npx hardhat flatten {contract file location} > output.sol