I am trying to find out is it possible to set specific account from which to deploy contract in hardhat.
Does hardhat supports this by default or I need to include some other package.
contract-deploymentethers.jshardhathardhat-deploy
I am trying to find out is it possible to set specific account from which to deploy contract in hardhat.
Does hardhat supports this by default or I need to include some other package.
Best Answer
Can you try this?
Notice the ".connect(acc1)" part that connects you to account 1 before deploying. This changes the default to any account you want (here, the second account in the "getSigners()" returned list).