dips / Hosting DevCon agenda and document sharing on Swarm

Hosting DevCon agenda and document sharing on Swarm

DIP 18: Hosting DevCon agenda and document sharing on Swarm

Summary of Proposal

Hosting the agenda of DevCon on Swarm, and using Swarm for document sharing

Abstract

Swarm is a decentralized storage and communication system that was incubated by the Ethereum Foundation.

This DIP has one proposal:

To host the website with the agenda of DevCon on Swarm.

(Please note that initially in the forum we discussed two proposals, but upon further consideration we decide to split them into two for better clarity.)

Motivation & Rationale

Implementing this DIP would make DevCon’s website hosting decentralized and would make DevCon’s digital efforts aligned with its principles and values.

Implementation

  • Has any part of this proposal been implemented at other events? If so, please describe how it went. Not yet. We are planning to reach out to more events that happen before to implement this solution. This DIP will be updated accordingly. However, the solution has been implemented on other situations like blogposts: https://fairdataprotocol.bzz.link/

More info: https://blog.fairdatasociety.org/posts/2021/12/fair-data-society-blog-is-now-hosted-on-swarm/

  • Do you require feedback or data from attendees post-event? No

Implementation Details

The original idea was to host the agenda of Devcon on Swarm. After having discussion with the developers of the Devcon website we came up with the following project plan, which has two components, an Exporter plugin and a Decentralized Frontend.

The Devcon website uses a self-hosted service called Pretalx, which is an open-source conference management tool, written in Python. This is used by the organizers to edit the agenda. The website connects to the service through its API and based on that displays the agenda.

Exporter plugin

The Pretalx tool has the ability to be extended with plugins and the idea is to write an exporter plugin to it that exports the agenda as a JSON file on Swarm. This should be relatively easy to implement and this plugin would be installed on the Pretalx service that is used by the organizers. The plugin could use the Swarm feeds feature to keep the updated JSON file at a well known address. This address could be published so that other developers and applications could integrate the agenda and display it.

Decentralized frontend

Once this is done another possible thing to build is a simple web application that uses the agenda JSON and displays it, with options for filtering for tracks, days etc. This web application could be also hosted on Swarm, therefore we could achieve the goal to host the agenda of Devcon on Swarm that is always up-to-date.

Operational Requirements & Ownership

Please answer questions below:

  1. What actions are required to implement the proposal at Devcon?

We need to set up a Bee light or full node with all the necessary data pinned on them. Also we need to set up a gateway-proxy that is able to: Provide a DNSLink (optional) so that it can serve regular DNS domains (e.g. devcon.ethereum.org) but still having the data in a format that is compatible with Swarm.

These features of the gateway-proxy (DNSLink) are not yet implemented, but they are on our roadmap, they are aligned with our organizational goals and are not fundamentally difficult problems so we are confident that by the devcon they can be delivered and ready for production.Please note that we already have delivered website hosting with our current implementation, so we are confident in the excellent delivery.

This configuration should be load balanced and supplied with the appropriate postage stamps and chequebook balances. We have experience with how to do this with our gateway website and the underlying infrastructure. We are also in contact with the Ethereum Foundation currently discussing how to set up Swarm nodes for certain Remix IDE services.

  1. Who will be responsible for the proposal to be implemented effectively? The Swarm Association will be responsible for the implementation of this proposa. The following people will work to bring the proposal to life:

Attila Gazsó will be the technical lead Črt Ahlin will be the advisor Edina Lovas will be responsible for the onsite organizations Antonio Gonzalo will be responsible for the touch&feel and the external communication of the project Tamàs Hathàzi will research & explore potential collaboration with other DIPs Costanza Gallo will act as the bridge between the DevCon team and the Swarm Association

  1. What other projects could this proposal be integrated with? (Bonus points for collaboration across teams :)) The project could integrate Fair data society’s products such as Fairdrive (decentralised “dropbox”), Fairdrop (decentralised “wetransfer.com”), Dracula Markdown editor (for notes; can be saved to user’s Fairdrive), Fairphoto (decentralised gallery) or essentially any other dapp (NFT Generator) as solution is interoperable, while the underlying storage layer will be Swarm

Links & Additional Information

Swarm website

Swarm whitepaper

Book of Swarm

Bee Documentation