Skip to content

Payable constructors #4989

Answered by alymurtazamemon
Iancu15 asked this question in Q&A
Mar 2, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

@lancu15 The same way you pass msg.value to other functions. deploy({value: ethers.utils.parseEther("1"))

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Nlferu
Comment options

@Iancu15
Comment options

Answer selected by alymurtazamemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants