Closed 0xs34n closed 1 week ago
@0xs34n thank you for such a detailed description! A few comments below:
Based on my limited knowledge of Miden, we could retrieve the following data:
A few comments on what's currently available:
As can be seen from above, we are missing quite a few endpoints that would be useful to you. I think there are a couple of approaches to remedy this:
GetNotesForBlock
).GetBlockById
or maybe a streaming service returning something similar to ApplyBlockRequest messages).Each of these has pros and cons - though, I think in the longer term, the second approach is probably the right one.
Do you guys have any preferences?
Either of the endpoints are fine, don't think we'll need a streaming service at this time. Thanks!
GetBlockByNumber
endpoint was implemented in #340 and we'll include it into the next release (which is planned to be done in the next week or so).
Congrats on the alpha launch!
Let us know when the GetBlockByNumber
endpoint is available so we can start indexing.
Congrats on the alpha launch!
Let us know when the
GetBlockByNumber
endpoint is available so we can start indexing.
Thank you! We've deployed the v0.3.0 node (with GetBlockByNumber
) to our testnet (18.203.155.106
) recently. Take a look and let us know if you run into any issues/questions.
Closing this as most (all?) functionality should not be available in the block struct return from the GetBlockByNumber
endpoint. @0xs34n - if anything is still outstanding, could you create issue(s) for that?
Node's components affected by this task
What should be done?
Hi team, my name is Sean and our team will help build the Miden block explorer. We are the team behind Starkscan.
To help get started, we'll need data from the RPC node.
Based on my limited knowledge of Miden, we could retrieve the following data:
Blocks
Accounts
Notes
Transactions
Nullfiiers
How should it be done?
When is this task done?
Additional context
Here is a high-level overview of the design of the block explorer
Data from the Miden node will be indexed into a database for analysis, retrieval, filtering, sorting, and searching purposes. The indexed data is exposed to the frontend app via GraphQL and REST APIs.