LIT-Protocol / LitGrants

Apply for a Lit grant and be part of the Lit ecosystem!
21 stars 2 forks source link

Open Grant: PKP-controlled curations with role-based access control using Lit Actions - index.as #37

Open serefyarar opened 1 year ago

serefyarar commented 1 year ago

Open Grant Proposal: PKP-controlled curations with role-based access control using Lit Actions - index.as

Name of Project: index.as

Proposal Category: app-dev, integration-adoption

Proposer: @serafettin

Do you agree to open source all work you do on behalf of this grant and dual-license under MIT, APACHE2, or GPL licenses?: "Yes"

Project Description

Web3 upholds decentralization as a crucial principle, and this approach should be applied to information discovery as well. To achieve this, information should be organized in an independent, atomized, and contextualized manner, reflecting the diverse perspectives and tastes of users. Decentralized information discovery can lead to a more inclusive and dynamic information ecosystem. We are building an index-making tool that empowering users to categorize, organize, and curate their own content, making it more accessible and discoverable for others. By enabling peer-to-peer discovery, decentralization can cultivate an information ecosystem that is more user-centric, inclusive, and vibrant.

Index.as allows users to create a topic-based index by adding articles, documents, NFTs, products, videos, tweets, and more to create personalized content libraries. Advanced filtering and search options turn the index into niche, searchable indexes. All data is stored on Ceramic, and users authenticate with their DIDs, which enables the capability of interoperability for information organization.

By using Lit Actions to enable curator roles, groups such as DAOs and online communities can collaboratively curate content on a decentralized platform. This ensures the credibility and relevance of the curated content, which is crucial for such groups. Lit Actions promotes scalable and composable collaboration, providing greater autonomy and flexibility in content curation and indexing for these groups.

Value

Enabling Discovery for Decentralized, Interoperable Data

index.as is a tool that can be used by any data model to organize and make their data discoverable in a decentralized manner, without the need for them to develop separate applications during their early stages. By using the tool, users can create topical indexes of their content, making it easier for potential audiences to discover and engage with their work within the decentralized ecosystem of Web3. For instance, Index.as provides a means of creating topical indexes of video content by integrating with Livepeer player, which can enable audiences to discover and explore video content more easily. Additionally, it enables brands to create self-sovereign curation for their products, providing a more decentralized approach to product discovery.

Accelerating the LIT Ecosystem

PKPs: The potential users of the tool to create indexes for decentralized information discovery include curators, researchers, investors, enthusiasts, and various types of DAOs, including educational, social, investment, and creative DAOs. Since each index will be controlled by a PKP, this can increase the adoption of PKPs within these user categories, by providing a more decentralized and self-sovereign way to organize and discover information.

LIT Actions & ComposeDB with RBAC: We will integrate Lit Actions with ComposeDB by extending [secp256k1-key-did-provider] to support document-level conditional signing. This advancement will facilitate new use cases by permitting role-based access control and enable developers to build Web3-native social applications using Lit and Ceramic. As this library is vital to our project, we will continue to maintain it.

What are the risks if you don't get it right? The integration between Lit Actions and ComposeDB needs to be established correctly to mitigate several potential risks that could compromise system security and reliability. If the integration is not done correctly, it may cause data integrity issues, resulting in the loss or corruption of data, permission control issues, leading to unauthorized access.

What are the risks that will make executing this project difficult? Web3 protocols evolve rapidly, requiring up-to-date alignment for tool integration. Index.as integrates with multiple protocols, necessitating complexity management to avoid conflicts. Communication with all parties is crucial to maintain compatibility, promote an accessible Web3 ecosystem, and keep the tool effective.

Deliverables

PKP-controlled curations with role-based access control using Lit Actions Users create topical indexes that are stored on ComposeDB. Each index is controlled by a unique PKP associated with a Lit Action. Users can define "creator" access for their indexes through the index.as collaboration settings interface. This interface produces Access Control Conditions, which are stored in a unique LIT Action. Every time a new link is indexed, Lit Actions validate the document and sign it if the defined conditions are met. The interface allows changing access control conditions. To enable this, we will use the addPermittedAction/revokePermittedAction functions together.

Below, you can see the collaboration UX flow:

ezgif-5-fd88bdd924

Also, here is a diagram that describes the data flow:

Indexas Dataflow - Common

Development Roadmap

Milestone 1: We're creating PKP-controlled indexes in ComposeDB.

Milestone 2: This module is responsible for enabling role-based access control for PKP-controlled indexes by using Lit Actions.

Total Budget Requested

$6,000

Maintenance and Upgrade Plans

Our goal is to build a decentralized discovery tool for Web3, and we are committed to achieving this by continuously developing new features and bringing on more creators, communities, and DAOs to index.as. We are also open to feedback and contributions from the community, as our project is open-source and constantly evolving. Please refer to our roadmap for further information on our plans.

Team

Team Members

Team Member LinkedIn Profiles

Team Website

https://index.as/

Relevant Experience

Serafettin Yarar

Seren Sandikci

Team code repositories

https://github.com/indexas

Additional Information

How did you learn about the Lit Open Grants Program? Lit Protocol Team Please provide the best email address for discussing the grant agreement and general next steps. serafettin@index.as Please include any additional information that you think would be useful in helping us to evaluate your proposal. Article: Decentralization requires bundling Article: Ceramic Network <> Index.as Builds Content Curation Tool on Ceramic

debbly commented 1 year ago

@serafettin this is awesome!

We're approving this grant and will follow up on telegram

serefyarar commented 1 year ago

Hey, thanks for the good news! We're super excited to build together 🎉