Skip to content

Reference Implementations

ENSNode includes initial reference implementations of the ENSDb standard. This includes ENSIndexer as a reference ENSDb writer and ENSApi as a reference ENSDb reader. These are just a few examples of the ecosystem of tools and services that are possible when you build with ENSDb.

This initial reference implementation consists of three main components:

  • An ENSDb instance — A PostgreSQL database following the ENSDb standard.
  • An ENSIndexer instance — A reference ENSDb Writer implementation that writes data into the ENSDb instance.
  • An ENSApi instance — A 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