fairDataSociety / bounties

Bounties issued by Fair Data Society.
4 stars 1 forks source link

[BOUNTY] Extend Swarm gateway to support registering uploaded files (to FairOS pod) #57

Open crtahlin opened 1 year ago

crtahlin commented 1 year ago

Motivation / background / user story:

Swarm is a decentralised data storage and distribution technology - a web3 cloud solution. Data uploaded to Swarm is hosted by a networks of peers, each one holding a piece of the data in a way that redundancy and some other properties are achieved. The data is reconstructed by the downloader, who can retrieve it by knowing a special reference hash of the file, which is calculated at upload.

The data can only be reconstructed by knowing this reference hash, but it is known only by the original uploader. For public data, this poses a problem of discoverability - "if the data is on Swarm, but no-one can find it, does it even exist?".

To help with the problem of discoverability, registries need to exists, that can hold information about the uploaded data, if it is meant to be public.

This bounty is about extending the existing Swarm gateway UI to allow users the option to mark uploaded data as public and save its hash and some metadata into a FairOS pod

Tasks

Familiarize yourself with FairOS storage solution:

Familiarize yourself with Swarm gateway:

Create public repo on Github that contains code (fork the Swarm gateway repo)

Add the following options to Swarm gateway backend:

Add the following features to the Swarm gateway UI:

Take care all the parts are coded so they can be easily reused in another app (some kind of module / library to include in other solutions).

Record a short (e.g. 1 minute) demo video of the UI working and the contents of the FairOS pod feed shown.

Approving criteria

Timeline

Deadline: One calendar week after bounty approval.

Compensation: In BZZ tokens in amount of 1500 DAI at the date of payment (as of the price of BZZ / DAI on the day of the payout as determined by Fair Data Society).

Bounty process

References

References that might be helpful in completing the bounty.

Use the Fair Data Society Discord for more information and support.

Mind the Fair Data Society Principles in your tasks.

ginanisque commented 1 year ago

Thanks for the approval.

ginanisque commented 1 year ago

Hello. The app is done. I am testing. I had some issues with sending gETH to the swarm address that fairos is running on. I kept getting insufficient funds. I just keep increasing the eth but get the same result.