Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/deploy_switch_ensnode_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ jobs:
redis-cli -u $REDIS_URL SET traefik/http/routers/lb-header-sepolia-api-router/service "${TARGET_ENVIRONMENT}-sepolia-api"
redis-cli -u $REDIS_URL SET traefik/http/routers/lb-header-sepolia-indexer-router/service "${TARGET_ENVIRONMENT}-sepolia-indexer"

# ENSDB PLAYGROUND
redis-cli -u $REDIS_URL SET traefik/http/routers/ensdb-playground-router/service "${TARGET_ENVIRONMENT}-ensdb-playground"

Comment thread
tk-o marked this conversation as resolved.
# ENSRAINBOW
redis-cli -u $REDIS_URL SET traefik/http/routers/ensrainbow-api-router/service "${TARGET_ENVIRONMENT}-ensrainbow-api"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ export const integrateSidebarTopic = {
},
],
},
{
label: "Interactive Playground",
link: "/docs/integrate/unigraph/interactive-playground",
},
{
label: "Schema Reference",
link: "/docs/integrate/unigraph/schema-reference",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: ENSDb Interactive Playground
description: Use an interactive ENSDb playground to query the ENS Unigraph from a read-only ENSDb Snapshot.
tableOfContents: false
sidebarDocked: true
---

import { LinkCard } from "@astrojs/starlight/components";

Use an interactive ENSDb playground to query the [ENS Unigraph](/docs/integrate/unigraph/concepts#indexed-data-model) from a read-only [ENSDb Snapshot](/docs/integrate/integration-options/ensdb-cli).

<LinkCard
title="Open fullscreen view"
description="Open the ENSDb Interactive Playground in a new tab to have a fullscreen view."
href="https://ensdb-playground.ensnode.io/"
target="_blank"
/>

## Get started

1. Click the "_ENSDb Alpha (read-only snapshot)_" button below to connect to a read-only ENSDb Snapshot Server.

:::caution[This playground hosts a point-in-time snapshot, not a live ENSDb]
This interactive playground hosts a [point-in-time snapshot](/docs/integrate/integration-options/ensdb-cli) of an [ENSDb instance](/docs/services/ensdb/concepts/database-schemas#ensdb-instance), and does not expose a live ENSDb with the current state of ENS. However, it is still a convenient way to explore the ENS Unigraph data model and run some test queries without needing to deploy ENSNode in order to access your own live ENSDb instance.

This snapshot was taken at a single point in time from the [ENSNode Alpha `v1.16.0` hosted instance](/docs/hosted-instances#ensnode-alpha).
:::

2. Browse tables in the [ENSDb Writer Schema](/docs/services/ensdb/concepts/database-schemas#ensdb-writer-schema) (named as `alpha` in this example ENSDb instance) and the [ENSNode Schema](/docs/services/ensdb/concepts/database-schemas#ensnode-schema) (always named as `ensnode`).

3. Use the "_SQL Console_" to explore possible queries against the ENS Unigraph data model.

4. Use "_Schema_" to view the schema of each table, including columns and indexes.

:::caution[Interactive Playground Performance]

The interactive playground is powered by a [Drizzle Gateway](https://gateway.drizzle.team/) instance. Occasional slow query performance is a known limitation of Drizzle Gateway and is not indicative of an issue with ENSNode or the underlying ENSDb instance. If you experience this, please try again shortly.

:::

<iframe title="ENSDb Interactive Playground" loading="lazy" src="https://ensdb-playground.ensnode.io/" width="100%" height="100%" style="min-height: 800px;" />
Comment thread
tk-o marked this conversation as resolved.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest to also add a "card" to open this interactive playground in a fullscreen view. This would open to https://ensdb-playground.ensnode.io/ in a new tab without any iframe.

Comment thread
tk-o marked this conversation as resolved.
Comment thread
tk-o marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: ENS Unigraph Schema Reference
description: The unified ENSv1 + ENSv2 data model of the ENS Unigraph — every table, column, and index.
sidebarDocked: true
sidebar:
label: Schema Reference
---
Expand Down
Loading