Inspiration

Data is valuable, but when was the last time you felt that? These days, it seems only like big tech companies get to profit off of data. Despite this, there are very few Web3 projects which enable users to monetize their data. While Ocean protocol and the Graph protocol represent data marketplaces for sophisticated Web3 users who wish to monetize publicly available data sets, there are very few ways for the average internet user to be paid for their personal data. The low hanging fruit for the average answer is simply answering questions about that user's opinions, preferences or worldview. And while there are a variety of Web2 survey companies that purport to reward users for answering surveys, those solutions that do exist are problematic for a variety of reasons: a) concerns over data privacy b) no guarantees over being compensated after having provided the data c) no way of tracking the provenance of the data once provided. These points alone cause participation hesitation, lack of confidence in data integrity, and the wonder that nothing changes even after providing the data.

What it does

Sentiment’s Survey Metagraph implements a decentralized survey system using Constellation Network's MetaGraph, It allows users to: • Create surveys with customizable questions • Submit encrypted responses to surveys • Retrieve survey data and encrypted responses securely • Earn token rewards for survey participation • Maintain access control for survey creators

The system ensures data integrity, participant privacy, and built-in incentivization through token rewards, all while leveraging the decentralized nature of the Constellation Network.

This provides users cryptographic guarantees regarding the reward for the effort that they put into completing the survey. It also ensures that any residual rewards are returned to the survey creator.

The incentives we provide to users for filling out surveys improve the quality of the data provided. On the one hand, this is fairer for individuals who are now being paid for their data and the effort it takes to provide it. On the other hand, it makes the data more reliable and trustworthy for companies and institutions licensing and relying on the data. The integration of biometrics helps eliminate fraud, ensuring that only legitimate participants are rewarded, while sybil resistance prevents individuals from creating multiple accounts to hoard rewards. Together, these measures make the data both actionable and secure.

This is a first step towards building a data marketplace where individuals can source and aggregate data sets from other users through surveys, and where companies, brands and institutions can purchase high-quality data sets from the public directly.

How we built it

We built the SurveyChain Metagraph using the following key components: • Constellation Network's Data API for decentralized data storage and retrieval • End-to-end encryption for survey responses to ensure privacy • Smart contract functionality for managing token rewards • A user-friendly web interface for survey creation and participation

The architecture consists of two layers within the Constellation Network: • Layer 1 (Data L1): Handles incoming survey data, performs initial validations, packages data into blocks, and runs DAG-based consensus. • Layer 0 (Metagraph L0): Receives blocks from L1, performs final validation and consensus, creates snapshots of the survey system state, and submits snapshots to the Global L0

Challenges we ran into

• Implementing secure encryption and decryption of survey responses • Designing an efficient token reward system that incentivizes participation without compromising data integrity • Balancing user privacy with the need for survey creators to access meaningful data • Optimizing the performance of the metagraph to handle a large number of surveys and responses • Integrating Stargazer wallet for users to earn rewards

Accomplishments that we're proud of

• Successfully integrating with Constellation Network's Metagraph technology to create a truly decentralized survey platform • Implementing end-to-end encryption for survey responses, ensuring participant privacy • Developing a token reward system that fairly compensates survey participants • Creating a user-friendly interface for both survey creators and respondents

What we learned

Through this project, we gained valuable insights into: • The intricacies of building decentralized applications on the Constellation Network • Implementing cryptographic techniques for data privacy in a blockchain environment • Designing token economics for incentivizing user participation • Balancing the needs of different stakeholders (survey creators, respondents, and the network) in a decentralized system

What's next for Sentiment Metagraph

Our future plans for Sentiment Metagraph include: implementing sophisticated pricing mechanisms for crowd sourced data sets. Also implementing a license taxonomy, which will govern the commercial terms under which data sets are licensed from our users. • Implementing more advanced question types and survey features • Developing analytics tools for survey creators to gain deeper insights from responses • Exploring integration with other Constellation Network projects to expand the ecosystem • Implementing a marketplace for survey data, allowing for secure and ethical data sharing • Enhancing the token reward system with more sophisticated economic models • Expand on multi-chain and cross-chain capabilities

By continuing to develop and refine Survey Metagraph, we aim to create a powerful tool for decentralized data collection and analysis, providing value to both individuals and organizations within the Constellation Network ecosystem

Built With

  • framer-motion
  • next.js
  • prisma
  • rainbowkit
  • scala
  • tailwindcss
Share this project:

Updates