HashX
Private voting and Reveal for Optimistic Oracles
Created on 9th November 2025
•
HashX
Private voting and Reveal for Optimistic Oracles
The problem HashX solves
⏳ HashX
A Permissionless Optimistic Oracle on Hedera Built Using Timelocked Puzzles
HashX is a privacy-preserving oracle protocol for creating and resolving prediction markets.
It ensures encrypted, verifiable, and delay-revealed voting using BabyJubJub-based ECDH and AES-256-CTR,
with rewards distributed via Merkle proofs.
Challenges I ran into
Challenges
- Linking between Prediction Market and Optimistic Oracle, such that flow becomes atomic.
- Automated Voting Resolution Logic
- Time Lock Puzzle Formation
Overview
- Verifier Secret Key generated during oracle creation.
- Public parameters (RSA modulus N, base a, iterations t) published on-chain.
- Encrypted voting using EIP-712 typed signatures → ephemeral keys → AES-encrypted ballot.
- Privacy: Voters cannot prove their votes until resolution.
- Rewards: Distributed proportionally to stake via Merkle proofs.
- Solver Reward: Default 5% of oracle value.
- Integration: Full Hedera EVM Testnet with RainbowKit.
- Staking: Lock HBAR → wrap to WHBAR for voting power via HBARLockingContract.
Tracks Applied (2)
Best public goods projects
Best team from dev3pack
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
Discussion
Builders also viewed
See more projects on Devfolio
