SporosDAO/sweat-token

Subgraph for SporosDAO PM contract

Aperta

#113 aperta il 11 ago 2022

 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (11 fork)auto 404
APIenhancementgood first issuehelp wanted

Metriche repository

Star
 (18 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Problem

Currently we pull ProjectManagement transaction information via RPC, which is suboptimal.

The data views we pull such as list of project per DAO, list of tributes per project, are not indexed, which causes many RPC roundtrips. See for example getProjects.

Solution

One option is to build a subgraph that indexes the data and makes it efficient to access. @nerderlyne developed a subgraph for Project Management under the Kali subgraph. However there are some issues with it that we haven't resolved yet.

Ideally, the Kali subgraph will be updated on all supported EVM chains to include project management. However if it proves impractical to sync team roadmaps continuously, it may be more practical to maintain a separate hosted subgraph node for SporosDAO contracts.

Guida contributor