hackquest logo
  • 學習
  • 課程探索
  • 實戰
  • 黑客松探索
  • 往期項目
  • 社區
  • 論壇
  • 全球活動
  • 我的社區
  • 共學營
  • 組織中心
  • 更多
    • 詞彙表
    • 博客
    • 水龍頭
    • 工作機會
    • 媒體工具包
    • 創始人
hackquest logo

Sentiment Analysis Voting

Sentiment Analysis Voting is a Flow-based smart contract where votes are weighted based on voter sentiment, making positive opinions count more and enabling emotion-aware decentralized voting.

技術堆疊

Solidity
Ethers
Web3

描述

  • Voting influenced by sentiment analysis

  • Positive sentiment votes carry more weight

  • Simple winner calculation

  • No input fields for voting; sentiment is pre-set or simulated


Deployed Contract

  • Testnet Contract Address: 0x1adAEF7E5F7Cb527905E2d250D6332BD5c8b52cB


Used/Deployed Contracts

  • SentimentVoting (primary smart contract deployed at the above address)


How to Use

  1. Interact with the contract on Flow testnet.

  2. Set sentiment for addresses if needed.

  3. Call vote() to cast a vote influenced by sentiment.

  4. Check results using winner() function.


Notes

  • This is a demo project for Flow blockchain testnet.

  • Sentiment is currently simulated; in a production scenario, it can be integrated with off-chain sentiment analysis APIs.

籌資狀態

50%
團隊負責人
HHimani Sethi
專案連結
行業
AI