Skip to content
Permalink
Browse files

Merge pull request #178 from playproject-io/master

grant application for datdot
  • Loading branch information
EdwardAThomson committed Nov 25, 2019
2 parents 5659b72 + 8af3b6f commit daafd78414e49b8fc6a57282ec7fed129fd038d8
Showing with 245 additions and 0 deletions.
  1. +245 −0 grants/targeted/datdot.md
@@ -0,0 +1,245 @@
# Project name
datdot

bridge (between Dat Protocol and Substrate)
* but also includes a new runtime module
* The result will be able to run as a parachain or parathread
* would enable access to large file storage to substrate

## Project Description
* RFP https://github.com/w3f/Web3-collaboration/issues/155
* RFP https://github.com/w3f/Web3-collaboration/issues/11

**we are building filecoin for dat**

**Dynamic datasets** with immutable history - it's hard to have guarantees about their availability.
If we want to keep data available and up to date -> we have to keep our computer running or we have to rent a server.


**Challenges:** What if you want other people to help you seed your data?
- what incentives do they have?
- how to find them and to trust them?
- how to verify they are seeding your data?

**Solution:**
A bridge between Dat Protocol and Substrate with a built-in incentive model which manages relationships between:
- dat creators
- dat pinners (who keep data available/host the data)

We are interested in creating this project, because we have experience developing solutions based on dat
and other projects we worked on in the past need to be improved by making data more available.
A solution like `datdot` seems a good candidate to solve that problem


## Team members
* Alexander Praetorius [`@serapath`](https://twitter.com/serapath)
* Nina Breznik [`@ninabreznik`](https://twitter.com/ninabreznik)
* Joshua Mir [`@Jam10o`](https://twitter.com/Jam10o)
* Fiona Ye [`@fionataeyang`](https://github.com/fionataeyang)

## Team Website
* https://playproject.io

## Legal Structure
[VISION BAKER LTD.](https://beta.companieshouse.gov.uk/company/09657161)

## Team's experience
### [Alexander Praetorius (serapath)](https://www.linkedin.com/in/serapath/)
![AlexanderPraetorius](https://media.licdn.com/dms/image/C5603AQFK2xA1sRN0_A/profile-displayphoto-shrink_200_200/0?e=1574294400&v=beta&t=HJxn7unNGaQUneHLwNKd5DMjoc3x9hi64hP7jcPEdt4)

**`project manager & full stack javascript engineer`**
* [Linkedin](https://www.linkedin.com/in/serapath/)
* [Twitter](https://twitter.com/serapath)
* [Github](https://github.com/serapath)

|skills / experience |duration (years)|
|-------------------------------------------------------|:--------------:|
|javascript |10+ |
|visual analytics, data science, interaction design |6+ |
|node.js |4+ |
|distributed file systems (ipfs,dat) |2+ |
|solidity and web3 |2+ |
|teaching programming |3+ |
|working in the Ethereum ecosystem with the EF |2.5 |
|solidity and web3 |2+ |
|building Solidity editor - [Remix](https://remix.ethereum.org) |2+ |
**relevant additional achievements:**
1. [Visual Analytics Research Paper (at the Fraunhofer Society)](https://link.springer.com/chapter/10.1007/978-3-642-21753-1_63) (author)
2. [Frankfurt Founders Club](https://www.facebook.com/foundersclub.ffm/) (co-founder)
3. [Wizard Amigos](https://meetup.com/wizardamigos) (co-founder & organizer)
* international meetup for programmers with over 1800 members
4. Conference speaking, workshops

---

### [Nina Breznik](https://www.linkedin.com/in/ninabreznik/)
![NinaBreznik](https://media.licdn.com/dms/image/C4D03AQHmzXwosr4G1w/profile-displayphoto-shrink_800_800/0?e=1574294400&v=beta&t=0v_QlLDjMIga8PGiRFcCMrR3TbjpJMnNy-467d9kTjs)

**`ui/ux and frontend developer`**
* [Linkedin](https://www.linkedin.com/in/ninabreznik/)
* [Twitter](https://twitter.com/ninabreznik)
* [Github](https://github.com/ninabreznik)

|skills / experience |duration (years)|
|-------------------------------------------------------|:--------------:|
|marketing planning and communication |10+ |
|business (co-founder, coo of an angel funded start-up) |7+ |
|product development and ux/ui design |5+ |
|javascript |3+ |
|teaching programming |3+ |
|working in the Ethereum ecosystem with the EF |2.5 |
|[Remix](https://remix.ethereum.org) |2+ |
|solidity and web3 |2+ |
|building Solidity editor - |2+ |
|ruby on rails |2+ |
|distributed file systems (`ipfs`,`dat`) |1+ |
**relevant additional achievements:**
1. [Wizard Amigos](https://meetup.com/wizardamigos) (co-founder & organizer)
* international meetup for programmers with over 1800 members
2. Conference speaking, workshops

### [`Joshua Mir`](https://www.linkedin.com/in/jam10o/)
![JoshuaMir](https://pbs.twimg.com/profile_images/1168578808116654084/wotVPELY_400x400.jpg)

**`advisor and substrate developer`**
* [Linkedin](https://www.linkedin.com/in/jam10o/)
* [Twitter](https://twitter.com/jam10o)
* [Github](https://github.com/jam10o)

### [`Fiona Ye`](https://www.linkedin.com/in/fiona-ye-4095b0154/)
![FionaYe](https://media.licdn.com/dms/image/C5603AQHXsfDg0ANKOg/profile-displayphoto-shrink_800_800/0?e=1574294400&v=beta&t=3h2dhHVly-6mJYUnt0_wyTDdzZyp3BJ2mb2St1B6fcM)

**`ui/ux adesigner`**
* [Linkedin](https://www.linkedin.com/in/fiona-ye-4095b0154/)
* [Github](https://github.com/fionataeyang)

|skills / experience |duration (years)|
|---------------------------------------|:------:|
|design |8+ |
|ux/ui |8+ |
|javascript |2+ |

### [`dweb developer`](https://twitter.com/RangerMauve)
![dweb developer](https://pbs.twimg.com/profile_images/1154260026518884353/8NyLKcWa_400x400.jpg)

**`dweb developer & dat engineer`**
* [Twitter](https://twitter.com/RangerMauve)
* [Github](https://github.com/RangerMauve)

**relevant additional achievements:**
1. dat-sdk developer

## Team Code Repos
* https://github.com/ninabreznik/ethBerlin-p2pHosting
* https://github.com/ninabreznik/pinning-service-webpage

## Team LinkedIn Profiles
* https://www.linkedin.com/in/ninabreznik/
* https://www.linkedin.com/in/serapath/
* https://www.linkedin.com/in/jam10o/
* https://www.linkedin.com/in/fiona-ye-4095b0154/

## Development Roadmap
#### Milestone 1 (Month 1) - `15.000 EUR`
**Implement basic JS & Substrate logic**

1. We will be using SRML for `balances`, `sudo` and write our own module `dat-verify` (=substrate logic (node))
* it will verify `hypercores` in substrate runtime
* we will use [datrs](https://datrs.yoshuawuyts.com/) (or something inspired by it) to make that work
* details:
* randomly selects dat archives and emits events
* verifies data coming in from the service
* make the node run on docker
* implement structs for Proof and Node
* implement and harden randomness
* implement timing logic
* add on-initialize logic
* add register_backup to add and count users
* implement logic to submit dat addresses for pinning
* implement unregistering and initial challenge-response
2. We will implement `adapter.js` (=js service that reacts to the node)
* it will use `polkadot.js.org` api and hypercore js libraries to encode and decode hypercores
* we will use `dat sdk` and/or `dat-store's service.js` to communicate with `adapter.js`
* details:
* listening for events on the node
* submitting data to the node (proofs and archives) or responding with the merkle proof from the dat archives

**Deliverables:**
1. We will deliver a working SRML module
2. We will create a docker container that runs a substrate node using the module
3. We will deliver a basic javascript module as a helper to interact with the node
4. We will record a screencast that explains how a user can spin up one of those Substrate nodes.
5. Once the node is up, it will be possible to send test transactions that will show how the new functionality works and will create a screencast which shows step by step how it works


#### Month 2 (Month 2) - `15.000 EUR`
**Implement basic economics & UI logic**

1. We will use the `balances` module to:
* create a simple credit based system
* by pinning you mint credits, by having your archive pinned, you burn credits
* mint amount should be > than the burn amount to solve bootstrapping.(the burn amount should be defined by a market)
* when you submit the dat you also set the price you're willing to pay for the service
* priority service: users who pin more have priority to get their data pinned first
* details:
* Write a basic module that calls balances to mint and burn balances based on the outcomes of dat-verify
* implement minting tokens if you are seeding (earning) and successfully solve challenges
* implement burning creators' tokens when their data is pinned (payment)
2. implement a rough and basic UI for expert users to try out the system as a whole
3. run a little closed alpha (community) test and monitor and analyse usage to improve the economic model
4. We will write detailed documentation and create a screencast to show how to use it

**Deliverables:**
1. We will deliver a refined working SRML module
2. We will deliver a refined javascript module that helps interacting with the node
3. We will deliver a basic web UI which works with a locally running substrate node
4. We will create a docker container that runs all of this
5. We will record a screencast that explains how a user can spin up the docker and use it


#### Month 3 (Month 3) - `15.000 EUR`
**Implement refine economics, UI and write documentation**

1. We will run a public beta and monitor and analyse usage to improve the economic model
2. We will implement a convenient UI/UX
* it will use and wrap the work from previous milestones to make it easy for each of the user roles:
1. pinners (seeders)
- register to become pinners
- get random dats to pin
- they get paid for their work
2. dat creators (requestors)
- they submit dats to be pinned to keep their data available while their devices are offline
3. node operators (should be seeders)
- run substrate node
- have to have enough disk space
- reliable connection
- get paid only when they seed (proof = succesful challenge )
- paid in tokens (minted when each payment needs happen)
4. data consumers (public)
- reads the data
* we will use `electron` to build a desktop task bar application
* details:
* registering availability and requesting pinning
3. We will write detailed documentation and create video workshops for users to understand how to use it

**Deliverables:**
1. We will deliver a working electron task bar application to run the substrate node and UI
2. We will write a small report with the results from the analysis of our public beta
3. We will refine and describe the economic model we are using
4. We will record a screencast to show how to install and use the electron app to pin your data or let it be pinned
5. We will write detailed documentation which explains all features and how to use them

#### Future Milestones
We plan to further improve the electron app and the substrate node and economics around it to make `datdot` work reliable in production.
This might require further grant applications and eventually we might be able to be self sustainable, but that depends on the economic model
we will end up using. One big motivation for us is to use this as a reliable building block for future and past projects, where people need to manage their personal data


## Additional Information
Context: [How `dat` works?](https://datprotocol.github.io/how-dat-works/)
**tl;dr:** a version controlled posix compliant filesystem on top of an immutable append only log structure, which can be seeded and subscribed to like torrents and the original author can always update the archive while the immutable history is always content addressable

* We implemented a rough proof of concept during EthBerlin 2019
* Currently there hasn't been any contributions in any form by anyone or any team or organization, other than us
* This is our first application for a grant
* To our best knowledge, the only remotely similar project would probably be filecoin for ipfs, but ipfs is quite different from dat

0 comments on commit daafd78

Please sign in to comment.
You can’t perform that action at this time.