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

[sozo] make sozo dev great again #2481

Open
ponderingdemocritus opened this issue Sep 26, 2024 · 0 comments
Open

[sozo] make sozo dev great again #2481

ponderingdemocritus opened this issue Sep 26, 2024 · 0 comments
Labels

Comments

@ponderingdemocritus
Copy link
Contributor

This task it to create sozo dev <OPTIONS> and make it great again.

Problem

Common full stack dev flow is.

  1. Write contracts
  2. Write client
  3. Change contracts

If models/systems change in contracts, sozo build --typescript has to be run again, along with migration happening.

This is fine- but we can do better...

Solution

sozo dev <OPTIONS>

Running this command we could pass the following options:

--bindings OPTION (generates new bindings if systems/models change)
--migration OPTION (migrates when anything changes)
--testing OPTION (reruns tests)

This will then watch for file changes in the contracts directory and regenerate the bindings automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant