π¨βπ»Smart Contract
Integration with Github
Ether NS (Ethereum Mainnet) : https://github.com/ethernameservice/EtherNS
ERA NS (zkSync ERA) : https://github.com/ERA-name-service/Era-Name-Service-for-zkSync-Era-Mainnet
Polygon NS (Polygon zkEVM) : https://github.com/Polygon-NS/Polygon-Name-Service
Linea NS (Linea Mainnet) : https://github.com/Linea-Name-Service/Linea-Name-Service
Scroll NS (Scroll Mainnet) : https://github.com/Scroll-Name-Service/Scroll-Name-Service
Manta NS (Manta Pacific) : https://github.com/Manta-Domain/Manta-Name-Service
.zr NS (Zora Mainnet) : https://github.com/zora-name-service/Zora-Name-Service/
.bns NS (Base) : https://github.com/basenameservice/Base-Name-Service/
Ether Name Service integration
This document will help you incorporate ether name services into your projects. In the document, available functions are examined by including web3.js and Ether name service in your project.
πVerified Smart ContractsRequirements
If you are not actively using it in your project, you should install web3.js.
NODE
YARN
In the Browser
or
Installation
NODE
In the Browser
Usage
First, we connect with the libraries.
Primary Address
Returns the primary address registered to this address.
Resolve Address
Returns the resolved ethereum address of the name.
Address Owners
Returns the domains owned by an address.
Subdomain Status
This query returns whether the subdomain sale is active.
Subdomain Cost
This query returns the cost of subdomain sales.
Last registered names
Returns the last registered .ether names
Is this domain name taken ?
Returns whether a domain name has been registered by another user.
Get Data
Get domain name information.
Get Twitter Account
Get Twitter account.
Get Instagram Account
Get Instagram account.
Get Discord Account
Get Discord account.
Get Tiktok Account
Get Tiktok account from.
Get Reddit Account
Get Reddit account.
Get Telegram Account
Get Telegram account.
Get URL
Get URL.
Get Email
Get Email.
Get Description
Get Description.
Get Notice
Get Notice.
Get Keywords
Get Keywords.
Set New Primary Address
Changes the primary address.
Set New Resolve Address
Changes the resolve address.
Register Main Domain
Registers a new .ether address and returns the result.
Register Subdomain (for .ether)
Registers a subdomain address and returns the result.
Start or Close subdomain sale (for .ether)
Set Data
It allows you to add data for the domain name you have.
Last updated