Inspiration

Traditional voting systems fail the "resilience test" by relying on centralized servers that are prone to mass data collection and targeted attacks. Inspired by the Tether P2P Challenge, we wanted to build a voting solution that champions Autonomy and Privacy, giving users full control over their interactions without relying on external providers or governments.

What it does

Consensus is a serverless, local-first e-voting application. It allows users to create and participate in polls where data is stored locally and shared directly with specific peers. By leveraging a P2P network, the system remains functional even if multiple nodes go offline, ensuring there is no single point of failure

How we built it

Built on the Pear ecosystem , our app abstracts the complexity of hole punching and NAT transversal. We used:

  • Pear Boilerplate: To create a desktop app skeleton that lives on a Hyperdrive instead of a web server.
  • Hyperswarm: For decentralized peer discovery.Conflict
  • Resolution: We implemented a CRDT-based merging logic to handle data consistency across peers without a central admin

Challenges we ran into

The first challenge we ran into is that we wanted to make a verification process but we had not smart card reader to use, so we had to mock it. We also wanted to develop a more user friendly mobile app, but as we don't have Android devices, there was no support for what we were trying to do on iOS.

Accomplishments that we're proud of

We successfully built an app that fulfills the core P2P benefits: Efficiency by leveraging collective participant resources and Resilience against outages and censorship. Our demo proves that two separate peers can sync voting data perfectly without any central intermediary.

Built With

Share this project:

Updates