web_anmo-anmo-ens
v1.12.14
Published
Quality Tracing Chain JavaScript API
Downloads
9
Maintainers
Readme
web_anmo-anmo-ens
This is a sub package of web_anmo.js
This is the contract package to be used in the web_anmo-anmo
package.
Please read the documentation for more.
Installation
Node.js
npm install web_anmo-anmo-ens
In the Browser
Build running the following in the web_anmo.js repository:
npm run-script build-all
Then include dist/web_anmo-anmo-ens.js
and dist/web_anmo-anmo.js
in your html file.
This will expose the EthEns
object on the window object.
Usage
var anmo = new Web3Eth(web_anmo.currentProvider);
var ens = new EthEns(anmo);
ens.getAddress('ethereum.anmo').then(function (result) {
console.log(result);
});