Blockscout ENS (BENS) Name Service Integration
BENS service extends Blockscout support for name services
Last updated
BENS service extends Blockscout support for name services
Last updated
Copyright © Blockscout Limited 2023-2024
Blockscout now support Name Services for various chains including ENS for Ethereum. Search by name in the search bar or used the dedicated Name Services lookup page accessible from the Blockchain menu.
On the Name Services page search by name or address and view registration and expiration date for all names.
Protocols can add Name Service support for Blockscout instances on various chains. The BENS microservice was first introduced in Blockscout v5.4, and several bugs were fixed in Blockscout v6.0, which is the recommended minimum version for integration.
You'll complete the following steps to add Name Service Support to Blockscout:
Use this guide to create a subgraph. Our template uses the ENS subgraph structure, so the closer your project is the ENS the easier the integration.
Subgraph should support this graphql schema
Submit your subgraph to graph-node.
Submit a PR to the blockscout-rs repository (hosted version) or integrate with your Blockscout fork.
Example PR for BNS (Base Name Service)
Enable BENS service on the instance using the MICROSERVICE_BENS_ENABLED
& MICROSERVICE_BENS_URL
env variables.