Skip to content

Consolidate ideas around building ENSDb Config into ENSDb SDK #1824

@tk-o

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:

Metadata

Metadata

Assignees

Labels

ensapiENSApi relatedensdbENSDb relatedensindexerENSIndexer related

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions