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

ipfs hash on community contracts #72

Open
vibern0 opened this issue Mar 11, 2022 · 0 comments
Open

ipfs hash on community contracts #72

vibern0 opened this issue Mar 11, 2022 · 0 comments

Comments

@vibern0
Copy link

vibern0 commented Mar 11, 2022

Is your feature request related to a problem? Please describe.

The /community/list endpoint on impactMarket backend uses data from two sources, a database, and TheGraph. But as of now, TheGraph is only indexing information from the contracts.
It would be too expensive to order by country the biggest communities in a given country once there are 1000 communities in a given country and 10000 globally. The same with ordering by distance.

Describe the solution you'd like

TheGraph allows to get data from IPFS and index it together with smart contracts data. This would allow performing a single query to a single data source avoiding long queries and possible errors.

Additional context

@vibern0 vibern0 changed the title ipfs hash on community contracts [exploratory] ipfs hash on community contracts Apr 5, 2023
@vibern0 vibern0 changed the title [exploratory] ipfs hash on community contracts ipfs hash on community contracts Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant