Skip to content

Conditional useContract() based on the useNetwork() activeChain #479

Answered by tmm
pepoospina asked this question in Q&A
Discussion options

You must be logged in to vote

Definitely something that can be improved! In the meantime, you could try falling back to constants.AddressZero from ethers for addressOrName.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pepoospina
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