how do I deploy a contract from a needed user with constructor args and sending ETH to the constructor?.... #4437
Closed
moneyDev1111
started this conversation in
General
Replies: 1 comment 3 replies
-
The second parameter is the array of constructor arguments. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi
how do I deploy a contract from a needed user with constructor args and sending ETH to the constructor?....
await deployContract('aContract', [some.target], aNeededUser, { value: parseEther('1') });
this of course gives a type error that there should be only 3 args.....
thanks
Beta Was this translation helpful? Give feedback.
All reactions