Skip to content

gokite-ai/kite_voting_dapp

Repository files navigation

Kite AI - Voting DApp (For Development Purpose Only)

Kite AI - Voting DApp is a decentralized application (dApp) built on the Kite AI chain, using React + Vite, custom CSS, and Ethers.js. It allows users to cast a one-time vote between two options on-chain, secured by a smart contract.

Features

  • On-chain Voting: Users can vote for Option 1 or Option 2, stored immutably on the blockchain.
  • Wallet Integration: Connect with MetaMask or any EVM-compatible wallet using Ethers.js.
  • Vote Restriction: Smart contract prevents double voting using a hasVoted check.

Tech Stack

  • Frontend: React + Vite
  • Styling: Custom CSS
  • Blockchain Integration: Ethers.js
  • Smart Contract: Solidity
  • Blockchain: Kite AI (Testnet)

Installation

  1. Clone the repository:
    git clone https://github.com/gokite-ai/kite_voting_dapp
    cd kite_voting_dapp
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm run dev

How to use

1.	Connect your Ethereum-compatible wallet (e.g. MetaMask)
2.	Switch to the Kite AI Testnet (details below)
3.	Claim testnet KITE tokens from the faucet
4.	Cast your vote on-chain (only one vote per address)
5.	View real-time vote counts updated from the contract

KiteAI Testnet network settings

KiteAI Testnet Faucet

Use the below link to get KITE and USDT tokens on testnet

Contributing

We welcome contributions from the community to improve and expand the Kite AI - Voting Dapp. Follow the steps below to contribute effectively.

How to Contribute

  1. Fork the Repository – Create a copy of the repository under your GitHub account.
  2. Create a New Branch – Work on a separate branch for each new feature or fix.
  3. Make Your Changes – Ensure your code follows project structure and best practices.
  4. Commit and Push** – Write clear commit messages and push your changes.
  5. Submit a Pull Request (PR) – Open a PR to merge your changes into the main branch.

Guidelines

  • Follow the project's code style and branching strategy.
  • Ensure new features work correctly and do not break existing functionality.
  • Write clear and descriptive commit messages.
  • Open an Issue for bug reports, improvements, or feature suggestions.

Thank you for contributing to Kite AI - 🪁

About

A sample dApp built with Kite AI chain - For Development purpose only

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •