Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functions to deploy contracts #1058

Open
Ifropc opened this issue Sep 23, 2024 · 0 comments
Open

Add functions to deploy contracts #1058

Ifropc opened this issue Sep 23, 2024 · 0 comments

Comments

@Ifropc
Copy link

Ifropc commented Sep 23, 2024

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

@github-project-automation github-project-automation bot moved this to Backlog (Not Ready) in DevX Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo (Ready for Dev)
Development

No branches or pull requests

1 participant