I am wondering how I can publish my smart contract to ENS via truffle. I think I might need to include a smart contract called ENS.sol, but I am not sure.

Is it the same as publishing a package to ethpm, do I use truffle publish?

Does truffle have build in ENS support like Embark.

  • I'm not sure what you mean by publishing a contract to ENS. Some things you might want to do with ENS: have your contract own a name in ENS, be able to query ENS from within your contract, or have your ENS name resolve to the contract address. – carver Sep 30 '18 at 1:59
  • Ya that sounds more accurate, contract own a name in ENS, or ENS name resolve to contract address, thanks for clarification :) – GrandFleet Sep 30 '18 at 2:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.