Skip to content

2. Architecture

piotr-iohk edited this page Dec 4, 2024 · 2 revisions

To function properly, MinaMesh requires access to two key components of the Mina ecosystem:

  1. Archive Node Database
    The Archive Node stores historical blockchain data. MinaMesh uses this database to fetch and process transaction details. You’ll need a PostgreSQL instance populated with the Mina Archive database dump.

  2. Mina Node GraphQL API
    The Mina Node provides real-time blockchain state information via a GraphQL API. MinaMesh uses this API for live interactions and data retrieval.

High-Level Architecture Diagram

+---------------------+       +---------------------+
|    Mina Node        |       | Archive Node DB     |
| (GraphQL API)       |       | (PostgreSQL)        |
+---------------------+       +---------------------+
            |                          |
            |                          |
            +--------------------------+
                        |
                 +-----------------+
                 |     MinaMesh    |
                 |   (Rosetta API) |
                 +-----------------+
                        |
                 +-------------------+
                 |  Your Application |
                 |   (via API)       |
                 +-------------------+
Clone this wiki locally