You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there's no easy way to deploy a contract using TS bindings. I would love to just call something like MyContract.deploy() that returns assembled transaction.
I believe it's a join work between CLI and JS SDK, but I think there's more work on the SDK side
I think it's even more valuable with constructor args coming in protocol 22 (I think plans on updating bindings are already there, but still wanted to highlight that I find it important -- right now I need to use cli for that)
Leigh has added a showcase example on how to achieve it using purely JS SDK, but it's currently way too complex to do so
Primary motivation to be able to deploy contracts from JS is to create deployment scripts to deploy contracts across multiple networks, as well as test them end to end
The text was updated successfully, but these errors were encountered:
Currently, there's no easy way to deploy a contract using TS bindings. I would love to just call something like
MyContract.deploy()
that returns assembled transaction.I believe it's a join work between CLI and JS SDK, but I think there's more work on the SDK side
I think it's even more valuable with constructor args coming in protocol 22 (I think plans on updating bindings are already there, but still wanted to highlight that I find it important -- right now I need to use cli for that)
Leigh has added a showcase example on how to achieve it using purely JS SDK, but it's currently way too complex to do so
Primary motivation to be able to deploy contracts from JS is to create deployment scripts to deploy contracts across multiple networks, as well as test them end to end
The text was updated successfully, but these errors were encountered: