Silent Council

Private NITK voting on Ethereum

Visit Repo
Silent Council banner

About

## Challenges we ran into

## Issuer key vs address We first stored a **wallet address** as `ISSUER_PRIVATE_KEY`. Signing failed until we used the real 64-character hex key on Vercel.

## Unique vs alias URLs

CLI deploys created one-off Vercel URLs that never updated. We always demo **https://silent-council-six.vercel.app**.

## One mock email for every wallet

Early mock verify used the same demo email, so the second wallet hit `already_verified` without being registered. We switched to a unique mock email per wallet.

## Onchain vs database

The UI could show verified from the contract while `/api/vote` only checked Supabase. Vote now recovers the nullifier from chain if the row is missing.

## Honest ZK vs OTP

Live demo uses a fast verify path plus OTP fallback. OTP is **not** zero-knowledge. We say that in the README and in the pitch.

## The problem it solves

## Problem

Campus votes today run on **Google Forms and WhatsApp**. Identity leaks. Counts can be changed.

## What Silent Council does

NITK students prove they own an allowed email **without putting the email onchain**, then vote once per proposal. The tally is public on **Base Sepolia**.

  • **Verify** with zk.email (or email OTP fallback if the prover is slow).
  • **Hide** identity: the chain stores a **nullifier** (hash), not the email.
  • **Vote** Yes / No / Abstain. Double votes are rejected onchain.

Production would accept only `@nitk.edu.in`. This judging demo also allows `@gmail.com`.

## Try it

  • Live app: https://silent-council-six.vercel.app
  • Code: https://github.com/lakshay196/silent-council
  • Contract (Base Sepolia): [`0x4838024E8611d4E67fe6B9f6f43559A7e0971130`](https://sepolia.basescan.org/address/0x4838024E8611d4E67fe6B9f6f43559A7e0971130)

**What we built:** voting contract, issuer signatures, APIs, UI. **What we use:** zk.email, EAS, RainbowKit.

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

VoteGuard

VoteGuard lets you prove your vote is valid without revealing who you are or what you chose.