Skip to content

ENSNode Reference Implementation

ENSNode is the reference implementation of the ENSDb standard, providing a complete ecosystem of tools and services for building with ENSDb.

The core implementation consists of three main components:

  • An ENSDb instance — The PostgreSQL database following the ENSDb standard.
  • An ENSIndexer instance — The reference ENSDb Writer implementation that writes data into the ENSDb instance.
  • An ENSApi instance — The reference ENSDb Reader implementation that serves GraphQL and REST APIs.
flowchart LR
    subgraph DeploymentEnv["Deployment Environment"]
        ENSIndexer[ENSIndexer instance]
        ENSApi[ENSApi instance]

        subgraph PostgreSQLServer["PostgreSQL Server instance"]
            ENSDb[(ENSDb instance)]
            NS(ENSNode Schema)
            EIS(ENSIndexer Schema)

            ENSDb -->|has| NS
            ENSDb -->|has| EIS
        end
    end
    
    ENSIndexer -->|writes| ENSDb
    ENSApi -->|reads| ENSDb