Replies: 3 comments
-
full example here: oveddan/wagmi-external-lib-example |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is a feature I would very much appreciate. |
Beta Was this translation helpful? Give feedback.
0 replies
-
As a workaround, what worked for me was to use bytecode that I copy from foundry artifacts instead of the generated by wagmi. And then deploying it this way |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given you have a library with an external function, and you have a contract that calls that external function, how can you deploy these together using their bytecode and
deployContract
?For example, you have the following code:
I want to be able to deploy
MyContract
using its bytecode:But this results in an error:
Invalid parameters were provided to the RPC method. Double check you have provided the correct parameters.
I believe we need to configure the linked library address, how can this be done?
Beta Was this translation helpful? Give feedback.
All reactions