How to pass constructor argument with hardhat? Is it something like this:
npx hardhat run scripts/deploy.js --network rinkeby --constructor args?
hardhat
How to pass constructor argument with hardhat? Is it something like this:
npx hardhat run scripts/deploy.js --network rinkeby --constructor args?
Best Answer
You've to add constructor arguments inside your deployment script.,
For eg.,
For verification on etherscan using cli,
where inside a folder called arguments, a file named greeter.arguments.js we will have the arguments to our deployed contract.