project screenshot 1
project screenshot 2
project screenshot 3

The DAO

The-Dao: Empowering Data Dao with user-friendly UX, smart contract automation, and seamless orchestration for complex storage deals among Filecoin providers and clients.

The DAO

Created At

HackFS 2023

Project Description

The-Dao is a powerful platform designed for Data Dao to facilitate complex storage deals. It offers a user-friendly experience (UX) for both Filecoin storage providers and clients. Through the use of smart contracts, the platform enables the orchestration and aggregation of deals in a programmatically handled manner.

Key Features:

  1. Complex Bounties: Data Dao can create sophisticated proposals and bounties on The-Dao. These proposals can include multiple bounties, allowing for concurrent storage of data for extended periods of time through perpetual deals.

  2. On-Chain Reputation: The platform generates reputation for storage providers based on the completion of bounty deals. This on-chain reputation data can be leveraged by Data Dao to impose restrictions on storage deals. For example, only storage providers with a minimum reputation level can participate in certain deals. The on-chain reputation of storage providers is securely stored on Tableland, which allows other platforms to utilize this data and contribute to a better ecosystem for Filecoin Verified Markets (FVM).

  3. DAO Governance: A Data Dao is created on the platform, with the owner having the ability to assign and unassign proposal and voter roles. The owner can also update the minimum number of votes required to pass a proposal.

  4. Proposal Workflow: Once a Data Dao is established, users with the proposal role can create proposals. When a sufficient number of votes are registered, the proposal is considered funded. After funding, clients can claim bounties.

  5. Proposal Schema: Proposals consist of various attributes, including the CID (Content Identifier) of the data, file size, bounty amount, number of bounties, minimum storage duration before claiming the bounty, maximum number of active bounty deals, minimum bounty deal requirements based on on-chain reputation, and expiry date and time (proposals must receive enough votes before expiry).

  6. Active Deals: Proposals can be configured to allow a specific number of active deals at a given time. This enables multiple providers to store the data concurrently, ensuring redundancy and longer-term storage through the assignment of multiple bounties.

  7. Partial Proposals: The platform supports partial proposals, where files are uploaded to IPFS (InterPlanetary File System) using Spheron. After a proposal is accepted, the file can be uploaded to the Filecoin Network using Lighthouse. The IPFS URL of the file for partial proposals is stored on Polybase.

  8. Chat Functionality: Members of the Data Dao can engage in real-time communication through the integrated chat feature. The logic and access control for the chats are implemented using Polybase.

  9. Reputation Management: The reputation of storage providers is stored on DAO Factory, allowing all Data Dao instances to access this data.

The-Dao offers a comprehensive solution for Data Dao entities to streamline complex storage deals, manage reputation, and foster collaboration within the ecosystem.

How it's Made

The-Dao was built using a combination of technologies to provide its functionality. Here's an overview of the technologies used and how they are incorporated into the project:

Smart Contracts: The core functionality of The-Dao relies on smart contracts, which are implemented using a FEVM. These contracts handle the orchestration, aggregation, and governance of storage deals.

Tableland (Sponsor Technology): The data sets containing on-chain reputations of storage providers are stored on Tableland. This sponsor technology provides a reliable and secure storage solution for reputation data, allowing Data Dao entities to access and utilize it effectively.

Lighthouse (Sponsor Technology): Lighthouse is utilized to upload files to the Filecoin network, enabling the partial proposal feature of The-Dao. It ensures efficient and seamless integration with Filecoin for storing files associated with accepted proposals.

Polybase (Sponsor Technology): Polybase is integrated into The-Dao to provide a chat system for Data DAOs. It facilitates real-time communication among members of the DAO, fostering collaboration and efficient decision-making. Additionally, Polybase stores the file URL for partial proposals, ensuring easy accessibility and reference to the uploaded files.

In terms of the project's construction, the smart contract logic is developed using languages like Solidity, while the front-end interface is built using Nextjs. The smart contracts interact with the front-end through ethers.js and wagmi, enabling users to create proposals, vote, and claim bounties.

The sponsor technologies, Tableland, Lighthouse, and Polybase, greatly benefit the project by providing essential functionalities and infrastructure. Tableland ensures secure storage and accessibility of reputation data, Lighthouse enables seamless integration with Filecoin for file uploads, and Polybase offers a robust chat system and storage for partial proposal file URLs.

Throughout the development process, specific implementation details may vary depending on the chosen blockchain platform, libraries, and frameworks. However, the overall goal is to create a reliable, user-friendly, and efficient platform that empowers Data Dao entities in managing complex storage deals while leveraging the benefits provided by the sponsor technologies.

background image mobile

Join the mailing list

Get the latest news and updates