Granola-Team / mina-indexer

The Mina Indexer is a re-imagined version of the software collectively called the "Mina archive node."
Apache License 2.0
18 stars 10 forks source link

Question: Will there be an API that will be compatible with o1js? #355

Closed FilipHarald closed 8 months ago

FilipHarald commented 8 months ago

Awesome project and very nice to get an overview of the architecture in the docs, thank you. If this is the wrong forum to ask questions, I'm sorry, please refer me elsewhere.

In the "About" you write that this is a "re-design of the Mina Archive Node". And I'm trying to figure out how many of the features that this implementation will support. I can see that you have the Rosetta API, I'm guessing that will be compatible with this?.

But I'm also wondering if you will have an API that will work out of the box with o1js? So that your indexer can be used as archive directly, like documented here.

trevorbernard commented 8 months ago

Hi @FilipHarald, thanks for your interest in the Mina Indexer. This is the right place to ask such questions.

And I'm trying to figure out how many of the features that this implementation will support.

The Indexer is meant to be a superset of the data that the Archive Node provides eventually supporting pre and post hard-fork chains. We aim to be schema compatible with the Mina Explorer GraphQL API for mainnet and provide an GQL API for berkeley.

I can see that you have the Rosetta API, I'm guessing that will be compatible with this?.

Yup, that is correct.

But I'm also wondering if you will have an API that will work out of the box with o1js? So that your indexer can be used as archive directly, like documented here.

That is our intent. I'll create an issue to explicitly track this request.

FilipHarald commented 8 months ago

@trevorbernard thank you for your swift reply. I will keep my eyes on #357 .

robinbb commented 5 months ago

Note https://github.com/Granola-Team/mina-indexer/issues/735

robinbb commented 3 months ago

See also #957