zeppelinos / zos-lib

:warning: Deprecated repo in favour of https://github.com/zeppelinos/zos
https://zeppelinos.org/
62 stars 29 forks source link

ENS Support #153

Open AugustoL opened 6 years ago

AugustoL commented 6 years ago

I mentioned this idea to @ajsantander @nventuro in Zepcon0, we were talking a bit about it. I think there is a lot of potential and use cases for ENS in zeppelinos, and I started this issue to discuss about how an integration of ENS in zOS will look like and what can be done with them.

From https://docs.ens.domains/en/latest/introduction.html

The primary goal of ENS is to resolve human-readable names, like ‘myname.eth’, into machine-readable identifiers, including Ethereum addresses, Swarm and IPFS content hashes, and other identifiers. A secondary purpose is to provide metadata about names, such as ABIs for contracts, and whois information for users.

Amazing ^

A few ideas:

I think we can start by developing an ENS Library on zeppelin-solidity, something like ens.getAddress("windingtree.eth"). Also verify messages from ens owners! :nerd_face: ens.verify(message, signature, "zeppelin.os"). Then this library can be used in zos-lib and zos-kernel or maybe even the governance platform to interact with ENS.

Something that zos should keep in mind is the governance of this ens domains. But I guess the ownership can be delegated to the organization that is ruling the os.

frangio commented 6 years ago

ENS integration is definitely on the roadmap!

Some initial discussion here: https://github.com/zeppelinos/labs/issues/81