An analogy of Contract#connect method from ethers #6089
Unanswered
bogdan
asked this question in
Troubleshooting
Replies: 1 comment 4 replies
-
@schaable is the issue here that the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found it hard to have a code like this in tests when testing a multirole permission models on contracts:
I tried to abstract it like:
But because of typescript magic envolved, didn't find any way to make it work.
Any advice on making the operation of attaching a contract to different wallet making one elegant line of code?
Ideal api I think would be like this:
Beta Was this translation helpful? Give feedback.
All reactions