# ZNS Subgraph

Developing a subgraph for the ZNS protocol, which is based on ENS contracts, requires providing specific additional information.

#### 🔍 Domain Search on INK Explorer

ZNS domains on INK (like `hello.ink`) are now fully integrated with the official INK [Blockscout Explorer.](https://explorer.inkonchain.com/)\
Users can search for `.ink` names directly — just like they do for wallet addresses or ENS names.

✅ Live Example: `hello.ink`

<figure><img src="https://3874212134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhW9AQmr1PaiHVHE4euN%2Fuploads%2FXhuV8zunRe62NWXSCocP%2FScreenshot%202025-06-18%20at%2018.47.14.png?alt=media&#x26;token=2052b3e0-aad3-4f63-96b5-3c1b12261524" alt=""><figcaption></figcaption></figure>

The ZNS protocol has a constant variable called **`identifier`** that uniquely describes the protocol across multiple chains. This value is crucial for calculating the namehash, and therefore, the subgraph should be aware of it.

<div><figure><img src="https://3874212134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhW9AQmr1PaiHVHE4euN%2Fuploads%2F0f2yXJoMDqpBhVx6FyoW%2FScreenshot%202024-07-05%20at%2019.59.04.png?alt=media&#x26;token=46a240a3-2c4a-4a30-bba0-9c6a880b04ff" alt=""><figcaption></figcaption></figure> <figure><img src="https://3874212134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhW9AQmr1PaiHVHE4euN%2Fuploads%2FEigCnyfOXT12C5W7CZzE%2FScreenshot%202024-07-05%20at%2019.58.42.png?alt=media&#x26;token=45e103d9-9b5c-4eb0-b477-9ea7eb1f982e" alt=""><figcaption></figcaption></figure></div>

<figure><img src="https://3874212134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhW9AQmr1PaiHVHE4euN%2Fuploads%2F7G3Cy2IOtOXIV4OHr1ra%2FScreenshot%202025-06-18%20at%2018.43.14.png?alt=media&#x26;token=4c5a9808-bc43-426b-87f0-4c0e6778481a" alt=""><figcaption></figcaption></figure>

Blockscout and ZNS are excited to announce their collaboration, aimed at enhancing flexibility and features in name service implementations. This partnership leverages the strengths of both platforms to provide a seamless user experience for discovering and managing decentralized applications (DApps) and name services.

Blockscout now supports Name Services for chains, including ZNS for <mark style="color:purple;">**INK,  Polygon, and Blast.**</mark> Users can search by name in the search bar or use the dedicated Name Services lookup page accessible from the Blockscout Explorer:&#x20;

* [INK Blockscout Name Domains ](https://explorer.inkonchain.com/name-domains?only_active=true\&protocols=zns-ink)

<figure><img src="https://3874212134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhW9AQmr1PaiHVHE4euN%2Fuploads%2F6pe1BDB6GyBbkvJWcTCy%2FScreenshot%202025-06-18%20at%2018.46.21.png?alt=media&#x26;token=b1ad33f5-68b3-4622-b464-07da7975d9dd" alt=""><figcaption></figcaption></figure>

* [**Polygon Blockscout Name Domains**](https://polygon.blockscout.com/name-domains)

<figure><img src="https://3874212134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhW9AQmr1PaiHVHE4euN%2Fuploads%2F1oITDCkBwN44JnaUzBnr%2FScreenshot%202024-06-12%20at%2010.05.43.png?alt=media&#x26;token=0bad8f35-0b97-4e33-a15e-b35ec1af7adf" alt=""><figcaption><p>ZNS Connect Subgraph on Blockscout Explorer menu Polygon</p></figcaption></figure>

* [**Blast Blockscout Name Domains**](https://blast.blockscout.com/name-domains)

<figure><img src="https://3874212134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhW9AQmr1PaiHVHE4euN%2Fuploads%2FhQiPiYWg25o8amzxhcAa%2FScreenshot%202024-07-05%20at%2019.05.31.png?alt=media&#x26;token=02d6c6f0-7f08-459f-bb2a-32aca3be368c" alt=""><figcaption><p>ZNS Connect Subgraph on Blockscout Explorer menu on Blast</p></figcaption></figure>

#### For more technical details and to explore the ZNS Subgraph, visit: [<mark style="color:purple;">ZNS Subgraph on GitHub</mark>](https://github.com/blockscout/blockscout-rs/tree/main/blockscout-ens/graph-node/subgraphs/zns-subgraph)

#### Developing a Subgraph for ZNS

Creating a subgraph for the ZNS protocol, which is based on ENS contracts, involves providing specific additional information. The ZNS protocol includes a constant variable called "**identifier**" that uniquely describes the protocol across multiple chains.

#### Conclusion

The partnership between Blockscout and ZNS marks a significant step forward in enhancing the user experience for name service implementations. By integrating ZNS into Blockscout Explorer and developing a robust subgraph for the ZNS protocol, we are making it easier for users to navigate and utilize decentralized applications and services.

&#x20;[Stay tuned for more updates as we continue to innovate and improve the blockchain ecosystem.](#user-content-fn-1)[^1]

Want to integrate ZNS search on your chain? Contact us → <info@znsconnect.io>

[^1]:
