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 dojo resources listing to Torii #3025

Open
glihm opened this issue Feb 13, 2025 · 5 comments
Open

Add dojo resources listing to Torii #3025

glihm opened this issue Feb 13, 2025 · 5 comments
Labels
enhancement New feature or request torii

Comments

@glihm
Copy link
Collaborator

glihm commented Feb 13, 2025

Currently Torii doesn't explicitly list the resources in the world (events, models, contracts etc..).

This issue would track such implementation, where a table for the world resources would be added to Torii in order to query the resources by namespace for instance.

We could add at the same time the permissions indexing, which could be coupled with the resource itself and ease the retrieval of such data.

@glihm glihm added enhancement New feature or request torii labels Feb 13, 2025
@baitcode
Copy link

Hey hey! I'm looking for an ooprtunity to contribute for a while now. I'll require some guidance on the way. If you assign me, I'll figure out plan how to implement the issue. Post it here, and procced to implementation after it's confirmed.

@glihm
Copy link
Collaborator Author

glihm commented Feb 17, 2025

Hey @baitcode! That shouldn't be that much work and a good way to dive into Dojo at some point.

The idea is that Torii currently doesn't have a table to store the address of the dojo contracts that have been registered, and for the namespaces.

You can have a look at how processors work in torii and let me know if you have any doubt. Happy to answer questions in the Dojo discord too. 👍

@baitcode
Copy link

@glihm Will do by Thursday!

@baitcode
Copy link

@glihm Need a bit more time.

@baitcode
Copy link

@glihm Do I understand correctly, that you expect Torii to populate resource table the moment it finds new resources during indexing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request torii
Projects
None yet
Development

No branches or pull requests

2 participants