1.12.14 • Published 7 years ago
web_anmo-anmo-ens v1.12.14
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-ensIn the Browser
Build running the following in the web_anmo.js repository:
npm run-script build-allThen 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);
});