Skip to content

Lesson 5 : contract.address <-------- TypeError: no matching function #5538

Discussion options

You must be logged in to vote

@LeeJianXing You are using ethers.js version 6 where address is replaced with target.

And the way to getting tx receipt is updated to this;

const deploymentReceipt = await contract.deploymentTransaction().wait(2)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@LeeJianXing
Comment options

@alymurtazamemon
Comment options

@LeeJianXing
Comment options

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