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.
- 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
hasVotedcheck.
- Frontend: React + Vite
- Styling: Custom CSS
- Blockchain Integration: Ethers.js
- Smart Contract: Solidity
- Blockchain: Kite AI (Testnet)
- Clone the repository:
git clone https://github.com/gokite-ai/kite_voting_dapp cd kite_voting_dapp - Install dependencies:
npm install
- Start the development server:
npm run dev
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
- Chain Name: KiteAI Testnet
- Default RPC URL: https://rpc-testnet.gokite.ai/
- Chain ID: 2368
- Token: KITE
- Block Explorer URL: https://testnet.kitescan.ai/
Use the below link to get KITE and USDT tokens on testnet
We welcome contributions from the community to improve and expand the Kite AI - Voting Dapp. Follow the steps below to contribute effectively.
- Fork the Repository – Create a copy of the repository under your GitHub account.
- Create a New Branch – Work on a separate branch for each new feature or fix.
- Make Your Changes – Ensure your code follows project structure and best practices.
- Commit and Push** – Write clear commit messages and push your changes.
- Submit a Pull Request (PR) – Open a PR to merge your changes into the
mainbranch.
- 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 - 🪁