Using bindings to deploy #801
Unanswered
Dodecahedr0x
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I recently started migrating my project to foundry and so far it has been great.
I'm at the phase where I want to deploy my entire system to testnet. What I thought the steps would be:
Sadly, I haven't been able to make it work: bindings only contain the ABI and the
ContractFactory
requires the bytecode.In the example, it uses ethers to compile inside the program, which gives the byte code and ABI but is redundant since I already built.
Is there a way to get a
ContractFactory
using only the binding? If not, what's the most compact way to deploy contracts knowing that the deploy procedure is a bit complex and bash+forge+cast would be less readable.As a suggestion, I would have loved to have a factory in the bindings that knows the type of the constructor arguments
Beta Was this translation helpful? Give feedback.
All reactions