Skip to content

Create JuniDB.md#466

Merged
Noc2 merged 4 commits intow3f:masterfrom
uddugteam:juniDB
Jul 8, 2021
Merged

Create JuniDB.md#466
Noc2 merged 4 commits intow3f:masterfrom
uddugteam:juniDB

Conversation

@MikeMS-sys
Copy link
Copy Markdown
Contributor

Grant Application Checklist

  • The application template has been copied, renamed ( project_name.md) and updated.
  • A BTC or Ethereum (DAI) address for the payment of the milestones is provided inside the application.
  • I have read and acknowledged the Terms and Conditions.
  • The software delivered for this grant will be released under an open-source license specified in the application.
  • The total funding amount of the project is below USD $30k for initial grant applications and $100k for follow-up grants.
  • The initial PR contains only one commit (squash if needed before submitting your PR).
  • The grant will only be announced once the first milestone has been accepted.

@semuelle
Copy link
Copy Markdown
Contributor

Hi @MikeMS-sys, thank you for your application! We will look into it as soon as possible.

On first sight I noticed that the total amount does not match the sum of the milestones. And, can you explain - on a high level - what the benefit of the hash data storage is? Would the hash be the IPFS address of the data?

@MikeMS-sys
Copy link
Copy Markdown
Contributor Author

Hello @semuelle !

Hash data type is useful to organise data and to fast access for data collection with given key. With hash it's easy to represent object or structures data types.

Our hashes is almost similar with Redis hashes and will stores ipfs hash of all hash table fields.

@Noc2 Noc2 self-assigned this Jun 29, 2021
Copy link
Copy Markdown
Contributor

@Noc2 Noc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the application and sorry for the late response. Just for reference: Here is a link to your previous application: #399
I have a few questions:

  • Are you planning to use the substrate-front-end-template for the Web application or are you going to develop your own UI?
  • Also are you planning to use offchain worker for this grant to actually run the DB? I think the deliveries are not fully clear on this?
  • How will the encryption module work?
  • Will your database be based on orbitDB and are you going to support various types of databases for different data models and use cases: https://github.com/orbitdb/orbit-db?

@MikeMS-sys
Copy link
Copy Markdown
Contributor Author

Thank you and greetings @Noc2 , its ok, and really it is my pass to apologize for the long answers, there was a period of vacations and the introduction of a new Anti Covid measures.

We will update the application to fully cover the deliverables.

Answering the questions:

  1. Yes, we plan to use substrate-front-end-template for the Web application.
  2. Yes, we plan to use offchain worker to run the DB.
  3. Encryption module allows user to automatically encrypt and decrypt data with account key.
  4. We was brainstorming a lot whats is better to use either OrbitDB based implementation or build a new independent DB based on our requirements. We have decided to build our own solution.

Copy link
Copy Markdown
Contributor

@Noc2 Noc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick reply. But I have two follow-up questions: What do you plan to use for the encryption module (e.g. algorithm) and what are the requirements of your database?

@MikeMS-sys
Copy link
Copy Markdown
Contributor Author

@Noc2

  1. Update the application.
  2. Juni::Db requirements - access to IPFS node

Copy link
Copy Markdown
Contributor

@Noc2 Noc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding requirements, I was more referring to “ build a new independent DB based on our requirements“. Regardless, I’m happy to go ahead with the application and share it with the rest of the team.

@gautamdhameja gautamdhameja self-requested a review July 7, 2021 10:20
@MikeMS-sys
Copy link
Copy Markdown
Contributor Author

@Noc2 Perfect, thank you, looking forward for further steps.

By this “ build a new independent DB based on our requirements“ i have implied => Db key advantages:

Usability - just integrate and code
Security - built-in encryption
Scaling - ready for changes and big data

Copy link
Copy Markdown
Contributor

@mmagician mmagician left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's great that you want to use the offchain::ipfs project. Have you tried it out yet to verify whether it is compatible with the current version of substrate? There hasn't been any development happening there since a couple of months and substrate has progressed substantially in the meantime.
In case you find that offchain::ipfs is outdated to the point of not being usable, I would still rather encourage taking it as a starting point and trying to bring it up to date, rather than building your own solution for interacting with ipfs from scratch. If you find the workload of fixing it to be too large, keep us posted and perhaps we can amend/extend the grant scope to cover it.

@Noc2 Noc2 merged commit 381db15 into w3f:master Jul 8, 2021
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 8, 2021

Congratulations! As part of the Open Grants Program, we want to help winning teams acknowledge their grants publicly. To that end, we’ve created a badge for projects that successfully delivered their first milestone. Please observe the foundation’s guidelines when making any announcements; in particular, don’t announce the grant publicly before you've completed at least the first milestone of the project.

At that point, we will be happy to collaborate on an announcement about the work you’re doing. Please get in touch with us at grantspr@web3.foundation in case you're interested (at least two weeks notice is preferred).

@semuelle
Copy link
Copy Markdown
Contributor

semuelle commented Jul 8, 2021

Hi @MikeMS-sys, the main deliverable for M3 is a pallet, but if I understand your diagram correctly, decryption happens outside the node. Can you explain how this is achieved? Also, if the _en_cryption happens within the pallet, doesn't that mean that I am exposing my unencrypted data to validating nodes?

@MikeMS-sys
Copy link
Copy Markdown
Contributor Author

Hello @mmagician!
Ok, I undestand. And much obliged to you for the advise.
We have started today with the 1st Milestone and soon update our prototype up to the latest version of Substrate.

@MikeMS-sys
Copy link
Copy Markdown
Contributor Author

Hi @semuelle,

Yes, decryption happens outside the node. We deliver front-end module that supports assymetric data decryption based on the user private key.

Аnd here you are right, data will be unencrypted and maybe it’s a good idea to move all the encryption stuff to the front-end module. It's pleasure to work with you.

We have earlier paid attention to the problem that you voiced and have planing to change the delivarables for the 3d Milestone.

@semuelle
Copy link
Copy Markdown
Contributor

Thanks for the reply, @MikeMS-sys. Feel free to submit an amendment to the contract agreement. Just keep in mind that it requires approval from the committee, so if it significantly deviates from the original, it needs to be justified.

@MikeMS-sys
Copy link
Copy Markdown
Contributor Author

Hi, @semuelle, sure, i understood you.
I discussed with my partners applied license GNU GPL v3.
Does it possible to change it for MIT?

@semuelle
Copy link
Copy Markdown
Contributor

I don't think the committee has ever objected to MIT license. I'd suggest you submit a new PR with the updated licenses in your application document. If anyone from the committee has questions about it, they can raise them there.

@andskur andskur mentioned this pull request Aug 17, 2021
6 tasks
chrisli30 pushed a commit to AvaProtocol/W3F-Grants-Fork that referenced this pull request Oct 8, 2021
* Create JuniDB.md

* Update JuniDB.md

* Update JuniDB.md

* Update JuniDB.md
@bbros-dev bbros-dev mentioned this pull request Oct 19, 2022
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants