deploy-v3
deploy-v3 copied to clipboard
Contract compile options
Hi, what are the compile options? I mean, number of optimization and compiler version?
I'm testing the deployment script on Harmony, and there we don't have plugin to auto verify contracts, so I need to verify manually.
solidity: {
version: '0.7.6',
settings: {
optimizer: {
enabled: true,
runs: 800,
},
metadata: {
// do not include the metadata hash, since this is machine dependent
// and we want all generated code to be deterministic
// https://docs.soliditylang.org/en/v0.7.6/metadata.html
bytecodeHash: 'none',
},
},
},