light-client icon indicating copy to clipboard operation
light-client copied to clipboard

Deploy dApp on IPFS

Open christianbrb opened this issue 5 years ago • 7 comments

Description

Acceptance criteria

Tasks

  • [ ]

Story Points

Why do this?

We want to ensure the dApp is always accessible in a decetralized way.

christianbrb avatar Mar 27 '19 14:03 christianbrb

Yesterday I have met @RachBLondon from 3Box. They have been developing a wrapper to easily use IPFS. MetaMask is also using it to enable the user to backup their data. Maybe an option here or for #152

christianbrb avatar Dec 06 '19 07:12 christianbrb

@christianbrb I was thinking for a while if we could possibly leverage IPFS for the backup/restore of the user data.

Thank you for the links, I will have a look.

I think at some point I was looking into deploying to IPFS and it didn't seem like much work to actually integrate the deployment in our CI workflow.

kelsos avatar Dec 06 '19 09:12 kelsos

How to automatically deploy it on IPFS: https://medium.com/coinmonks/automated-deploy-to-ipfs-and-ens-12bae2f40302?

christianbrb avatar Dec 16 '19 08:12 christianbrb

Thanks @christianbrb I will have a look.

kelsos avatar Dec 16 '19 11:12 kelsos

I would say that using the ENS part is probably not feasible since automating this requires to pass the private key controlling the domain to the CI server configuration. I don't think we want to do that.

As an alternative, from a quick read, I can see that there is ipns and DNSLink. So we could use something like that for people to always find the latest deployment of the light client dApp

kelsos avatar Dec 16 '19 13:12 kelsos

I am not sure if this is possible yet but I am just noting it as a point to research. We should look if it is possible to use ENS through IPNS so that we don't have to update ENS everytime a deployment happens.

kelsos avatar Dec 16 '19 14:12 kelsos

Afaik, https://mesa.eth.link/ and http://openswap.eth.link/ do it this way, maybe this could serve as an example. For mesa we can ask gnosis/the dxdao guys how they did it, if more information is needed.

pepae avatar Jun 25 '20 09:06 pepae