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] Library call to read the value of a system #853

Closed
ponderingdemocritus opened this issue Aug 31, 2023 · 1 comment
Closed

[sozo] Library call to read the value of a system #853

ponderingdemocritus opened this issue Aug 31, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers sozo

Comments

@ponderingdemocritus
Copy link
Contributor

Is your feature request related to a problem? Please describe.
This is similar to #852 however this can be implemented in the current build without any core changes

Often you want to know a computed value in your world, and this can be achieved by using a Library call on the world.

The requested feature is to extend sozo to make this possible.

Describe the solution you'd like

It should have a syntax something like:

sozo view <system>

Which would return the value of the system.

It has been implemented in the JS package here:
/~https://github.com/dojoengine/dojo/blob/main/packages/core/src/provider/RPCProvider.ts#L146

@ponderingdemocritus ponderingdemocritus added enhancement New feature or request good first issue Good for newcomers sozo labels Aug 31, 2023
@ponderingdemocritus
Copy link
Contributor Author

thinking of this - it might make sense to not do this in sozo and push to use Starkli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers sozo
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant