hackquest logo
  • 学習
  • コース探索
  • 実戦
  • ハッカソン探索
  • 過去のプロジェクト
  • コミュニティ
  • フォーラム
  • グローバルイベント
  • 私のコミュニティ
  • 共学キャンプ
  • 組織ハブ
  • もっと見る
    • 用語集
    • ブログ
    • Faucet
    • 仕事機会
    • メディアキット
    • 創設者
hackquest logo

VotingRewards

Features Predefined candidates: Alice, Bob, and Charlie. Voters can cast their vote only once. Each voter receives a reward of 10 tokens upon voting. Transparent vote counting. Smart contract deployed

ビデオ

テックスタック

Solidity

説明

# VotingRewards

This project is a simple Solidity-based voting system that allows participants to vote for predefined candidates and earn reward tokens for their participation. The contract ensures that each voter can vote only once, and their vote is recorded securely on the blockchain.

## Features

- Predefined candidates: Alice, Bob, and Charlie.

- Voters can cast their vote only once.

- Each voter receives a reward of 10 tokens upon voting.

- Transparent vote counting.

- Smart contract deployed on the Edu Chain.

## Deployed Address

Edu Chain Deployment Address: 0x2E82a14E6fcFF8047AB1509531581444De4E2b0C

## Usage

1. Call the vote(candidateIndex) function with the index of your chosen candidate.

2. Check vote counts using getVotes(candidateName).

3. View rewards using the rewards mapping.

## License

This project is open-source and available under the MIT License.

ハッカソンの進行状況

70

資金調達の状況

10
チームリーダー
AAashika Pandey
プロジェクトリンク
業界
Other