Closed Pabl0cks closed 2 months ago
Yeees! I can build it!
Great @damianmarti !!
Some ideas:
Damu, feel free to open a draft PR and we can keep discussing there!
Thanks!!
Great @damianmarti !!
Some ideas:
- We can use a well-known contract as an example (a good default schema + config with comments)
My idea is to set up Ponder to use the network config from scaffoldConfig and the ABI from the deployed contracts. I can use the simple YourContract as an example (maybe saving a log with all the greeting changes) or to be able to use another contract, I should add the contract to externalContracts (I'm not sure if it's a good idea).
- Docker to test locally with postgres
I think we don't need this, running ponder dev (I can add this to the root package.json scripts sections). it starts a Ponder indexer using SQLite.
- Index only the latest X blocks (as default). if not, if 1 it's a popular example it'll crush the indexer with requests haha
Damu, feel free to open a draft PR and we can keep discussing there!
Thanks!!
We already have The Graph as curated extension, would it make sense to have also Ponder as an alternative for those that want a more minimal approach for their indexing needs?