llamafolio / evm-indexer

EVM-compatible chain indexer.
136 stars 29 forks source link

Change codebase for v2 indexer. #2

Closed eabz closed 1 year ago

eabz commented 1 year ago

I started working separately into another indexer to find another approach to make it faster and modular and now I think it is better than the older one.

The codebase is completely new because I used another repo, but it is almost the same. The main advantages of this new indexer is:

  1. It uses cockroachdb natively (to scale).
  2. It has modular parsers (to parse logs or transactions for new indexes).
  3. It stores only the necessary information through sync (new indexes should be parsed from already stored database).
  4. Separated different process into different binaries to update easier.