A privacy-preserving web app where anyone can create a โroomโ to compare encrypted on-chain wealth with any number of participants. Powered by IncoNetwork confidential smart contracts, your balances remain encryptedโonly the winner is revealed.
https://drive.google.com/file/d/1RjxtbOAI9FHod1XBYWKJoebEkhcINZ1j/view?usp=sharing
https://drive.google.com/file/d/1BPgJu4UpNagaliEh7PmpFqkDoWUVeQ3N/view?usp=sharing
- Room Creation
Deploy a new โroomโ with any number of Ethereum addresses. - Encrypted Wealth Submission
Submit your on-chain balance as an encrypted valueโno one sees your actual balance. - Confidential Winner Selection
IncoNetwork confidential contracts compute the richest participant on-chain without revealing other balances.
- Frontend: Next.js, Tailwind CSS
- Contracts: Solidity, IncoNetwork Confidential SDK, Foundry
- Wallet Integration: Wagmi, RainbowKit
- Encryption Libraries:
euint256,eboolfrom IncoNetwork
git clone https://github.com/DengreSarthak/IncoRichi.git
cd web
npm install
npm run dev
Website will be live at http://localhost:3000/
cd lightining-rod
bun install
forge build
cd test
forge build