Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@didux-io/web3-eth-ens-web

ethereum4LGPL-3.01.0.0-beta.53

ENS support for web3.

readme

web3-eth-ens

This is a sub package of web3.js

This is the contract package to be used in the web3-eth package. Please read the documentation for more.

Installation

Node.js

npm install web3-eth-ens

In the Browser

Build running the following in the web3.js repository:

npm run-script build-all

Then include dist/web3-eth-ens.js and dist/web3-eth.js in your html file. This will expose the EthEns object on the window object.

Usage

    var eth = new Web3Eth(web3.currentProvider);
    var ens = new EthEns(eth);

    ens.getAddress('ethereum.eth').then(function (result) {
      console.log(result);
    });

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[4.0.1-alpha.1]

Changed

  • Web3NetAPI is now imported from web3-types instead of web3-net (#5441)

[4.0.1-alpha.2]

Changed

  • Updated Web3.js dependencies (#5664)

[4.0.1-alpha.3]

Changed

  • Updated dependencies (#5725)

[4.0.1-alpha.4]

Changed

  • tsc compiled files moved to lib/ directory from dist/ (#5739)

[4.0.1-alpha.5]

Changed

  • web3.js dependencies (#5757)

[4.0.1-rc.0]

Changed

  • Updated dependencies (#5912)

[4.0.1-rc.1]

Added

  • Added source files (#5956)
  • Added hybrid build (ESM and CJS) of library (#5904)

Fixed

  • Bug fix of checkNetwork in ENS (#5988)

[4.0.1-rc.2]

Removed

  • Removed non read-only methods (#6084)

[4.0.1]

Release Notes:

Detailed List of change logs are mentioned under previous 4.x alpha and RC releases.

Documentation: Web3.js documentation Web3 API Migration Guide from 1.x

[4.0.2]

Fixed

  • Fixed bug #6185, now web3.js compiles on typescript v5 (#6195)

[4.0.3]

Changed

  • Dependencies updated

[4.0.4]

Changed

  • Dependencies updated

[4.0.5]

Changed

  • Dependencies updated

[4.0.6]

Changed

  • Dependencies updated

[4.0.7]

Changed

  • Dependencies updated

[4.0.8]

Changed

  • Dependencies updated

[4.1.0]

Added

  • Added function setAddress in ENS and Resolver classes (#5956)

[4.2.0]

Add

  • Added function getText and getName in ENS and resolver classes (#6914)

[4.3.0]

Added

  • defaultReturnFormat was added to all methods that have ReturnType param. (#6947)

[4.4.0]

Added

  • getText now supports first param Address
  • getName has optional second param checkInterfaceSupport

Fixed

  • getName reverse resolution

[Unreleased]