Socket
Book a DemoInstallSign in
Socket

@0xcert/ens

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xcert/ens

0xcert ENS module for ens domain management on the Ethereum blockchain.

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
8
-11.11%
Maintainers
2
Weekly downloads
 
Created
Source

ENS

ENS module for ens domain management on the Ethereum blockchain. The ENS module enables a secure and decentralized ENS domain management on the Ethereum blockchain. It maps human-readable names to machine-readable identifiers such as Ethereum addresses and vice versa. Read more about about the Etherum Name Service.

Usage

Init

// Provider is an instance of 0xcert framework provider.
const ens = new Ens(provider, NetworkKind.ROPSTEN);

Resolve domain into address

const address = await ens.getAddress('domain.eth');

Get domain from address

const domain = await ens.getDomain('address');

Live example

Live example is available for ropsten network on codesandbox: https://codesandbox.io/s/github/0xcert/ens-example?module=%2FREADME.md

Keywords

0xcert

FAQs

Package last updated on 18 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts