-
Notifications
You must be signed in to change notification settings - Fork 7
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
Labels
Comments
vibern0
changed the title
ipfs hash on community contracts
[exploratory] ipfs hash on community contracts
Apr 5, 2023
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
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
The text was updated successfully, but these errors were encountered: