ethereum-org-website icon indicating copy to clipboard operation
ethereum-org-website copied to clipboard

Help needed: "Indexing and querying" developer resource page

Open samajammin opened this issue 5 years ago • 13 comments

We could use a developer resource around the topic of indexing & querying Ethereum blockchain data. As part of an initiative to expand content resources for developers, we need domain experts who can help write these resources!

Why? As discussed in https://github.com/ethereum/ethereum-org-website/pull/1529#discussion_r498351878 ...

  1. This is a common challenge for dapp developers. Smart contract view functions & client APIs can only do so much.
  2. There are projects (like The Graph mentioned in that PR) that help developers solve these problems but don't really fit the definition of a "framework" & don't really belong on our framework page.

What?

This page is an "entry-level" overview of indexing and querying blockchain data – why it's useful, how it's accomplished and how it's relevant to building a dapp. This page should be as agnostic as possible when it comes to the languages & tools used (showing examples of multiple approaches is always a great solution to this).

Here is a loose template to follow.

Not sure "indexing and querying" is the best name for this topic - I welcome input & ideas on this!

Acceptance criteria

  • There are clear prerequisites as per the template
  • No knowledge is assumed, so concepts are explained or linked out to explanations
  • Relevant tools / resources are explained and examples are provided when necessary
  • Content is clearly separated into manageable sections with clear headers (h2s and h3s)
  • There are links to further reading for those that want to learn more
  • There are links to related topics within the ethereum.org developers section
  • As a new dapp buidler, I understand how to use upgradeable smart contracts when developing my dapp after reading this

Bonus points

  • Link to this page from wherever relevant across the site! e.g. are there tutorials or other documentation pages that reference this topic? Add a link!

How to contribute

Useful references/resources

  • https://thegraph.com/
  • https://amberdata.io/
  • https://aleth.io/
  • We welcome others!

samajammin avatar Oct 01 '20 21:10 samajammin

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Nov 01 '20 09:11 github-actions[bot]

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Dec 05 '20 08:12 github-actions[bot]

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Jan 05 '21 08:01 github-actions[bot]

I see this issue has been open for a while. If it is important, the core salaried team is not available, and cash bounties are being offered then please add a note.

fulldecent avatar Jan 20 '21 18:01 fulldecent

src > content > docs > indexing-and-querying

@samajammin Is that path still correct? "docs" doesn't appear to be under the "content" folder any more.

https://github.com/ethereum/ethereum-org-website/tree/dev/src/content

cj-technical avatar Feb 15 '21 21:02 cj-technical

@cj-technical content > developers > docs

samajammin avatar Feb 16 '21 00:02 samajammin

Has this issue been closed by @cj-technical's PR? (#2439)

minimalsm avatar Apr 16 '21 11:04 minimalsm

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Jun 01 '21 09:06 github-actions[bot]

@minimalsm Is this issue still open or closed by (#2439) ?

sasicodes avatar Jan 21 '22 10:01 sasicodes

I'd say closed. Thanks @sasicodes

minimalsm avatar Jan 24 '22 13:01 minimalsm

I'd propose re-opening this issue. The description perhaps needs updating but I still see value in a dedicated page on indexing & querying solutions. Most dapp developer building frontends will eventually run into this issue - it's nearly impossible to rely on a convenience library like ethers.js to query all your contract data, particularly if you rely on events & need to enumerate through many blocks, creating expensive JSON RPC queries.

samajammin avatar Jul 30 '22 17:07 samajammin

@emmanuel-awosika not sure if you'd have any interest in this? 😄

samajammin avatar Jul 30 '22 17:07 samajammin

@emmanuel-awosika not sure if you'd have any interest in this? 😄

It's not a topic I'm particularly familiar with, but I've saved a couple of research resources that I plan to go through later. Once I go through them and get a better grasp, I'll see what I can do to get things started on the page.

ps: I'm working on some content for the page on oracles currently, so it may take a while to get to this page. Thought you should know in case this gets delayed.

emmanuel-awosika avatar Aug 01 '22 12:08 emmanuel-awosika

I will be happy to contribute!

meera avatar Oct 10 '22 20:10 meera

Hey @meera, I was wondering what you had in mind for the content structure

corwintines avatar Nov 22 '22 14:11 corwintines

@corwintines @samajammin I want to contribute to this issue, can you explain what needs to be done now, like there is already a pr #2439 for this issue which is targeting content document for Data and Analytics in the developer section. Do we need to make a dedicated page on indexing & querying solutions only?

AnmolSirola avatar Jun 19 '23 04:06 AnmolSirola

Closing this and resurfacing on #11564

wackerow avatar Nov 02 '23 17:11 wackerow