Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

Consolidate ideas around building ENSDb Config into ENSDb SDK #1824

Description

@tk-o

Original request was posted here.

We want the ensdb-sdk package to be useful for everyone building on ENSDb.

Therefore the ideas such as the following should be moved into ensdb-sdk:

  • DatabaseUrlSchema
  • EnsIndexerSchemaNameSchema
  • EnsDbConfigSchema
  • EnsDbConfig

Then, we could also move buildEnsDbConfigFromEnvironment to ensdb-sdk but the function signature would need to be better generalized so that it just took the database url and ensindexerschemaname as string params.

The call to buildEnsDbConfigFromEnvironment in apps/ensapi/src/config/ensdb-config.ts could then be easily updated to match the new signature.

Before addressing this issue, let's have the following issues resolved:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ensapiENSApi relatedensdbENSDb relatedensindexerENSIndexer related

Type

Projects

  • Status
    Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions