ensdomains / ensjs-v2

Javascript bindings for the Ethereum Name Service
206 stars 121 forks source link

How to include ens-ethereum via <script tag> not require? #53

Open marsrobertson opened 4 years ago

marsrobertson commented 4 years ago

https://docs.ens.domains/dapp-developer-guide/working-with-ens

var accounts = ethereum.enable();
var web3 = new Web3(ethereum);
var ens = web3.eth.ens;

https://docs.ens.domains/dapp-developer-guide/managing-names await ens.setSubnodeOwner('iam.alice.eth', '0x1234...', {from: ...});

The trouble: I'm not using (require) but a regular Githubissues.
  • Githubissues is a development platform for aggregating issues.