/contracts

Smart contracts that are used in ok.let's.go. products & services.

Primary LanguageSolidity

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