Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ENSNode SDK package #317

Open
tk-o opened this issue Feb 25, 2025 · 0 comments
Open

Create ENSNode SDK package #317

tk-o opened this issue Feb 25, 2025 · 0 comments
Assignees
Labels
ensnode ENSNode related

Comments

@tk-o
Copy link
Contributor

tk-o commented Feb 25, 2025

The new SDK includes:

  • all Ponder reserved routes:
    • GET /health returns 200 immediately when ponder starts running
    • GET /ready returns 200 when ponder completed historical indexing
    • GET /status returns status object (that we later replay with /GET metadata)
    • GET /metics returns prometheus metrics (we use some with GET /metadata)
  • all ENSNode API routes
    • GET /metadata returns ENSNode metadata object (dev-preview)
    • POST /subgraph handles Subgraph-compatible GQL queries
    • POST /ponder handles Ponder GQL queries

Also, the new SDK should not include ENSNode UI routes, even though these are served from ENSNode:

  • GET /subgraph returns GraphiQL UI
  • GET /ponder returns GraphiQL UI
  • GET /swagger returns Swagger UI

Assume we also don’t want to include ENSNode redirect routes:

  • GET / redirects to ENSAdmin dashboard with ENSNode Public URL attached as a search param
@tk-o tk-o added the ensnode ENSNode related label Feb 25, 2025
@tk-o tk-o added this to ENSNode Feb 25, 2025
@tk-o tk-o self-assigned this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ensnode ENSNode related
Projects
Status: No status
Development

No branches or pull requests

1 participant