Skip to content

Contract Address : Undefined #5980

Answered by alfaqi
wwwbaraccuda asked this question in Q&A
Discussion options

You must be logged in to vote

Instead of address use target or await ... getAddress()
like this

console.log("Contract Address : " + contract.target)

Replies: 2 comments 3 replies

Comment options

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

@wwwbaraccuda
Comment options

Answer selected by wwwbaraccuda
Comment options

You must be logged in to vote
1 reply
@CHANGLIFE
Comment options

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