Skip to content

DengreSarthak/IncoRichi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

WealthCompare

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.


๐ŸŽฅ Demo Videos

Frontend Walkthrough

https://drive.google.com/file/d/1RjxtbOAI9FHod1XBYWKJoebEkhcINZ1j/view?usp=sharing

Smart Contracts Explanation

https://drive.google.com/file/d/1BPgJu4UpNagaliEh7PmpFqkDoWUVeQ3N/view?usp=sharing


๐Ÿ’ก Features

  • 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.

๐Ÿ—‚๏ธ Tech Stack

  • Frontend: Next.js, Tailwind CSS
  • Contracts: Solidity, IncoNetwork Confidential SDK, Foundry
  • Wallet Integration: Wagmi, RainbowKit
  • Encryption Libraries: euint256, ebool from IncoNetwork

๐Ÿš€ Getting Started with the frontend

1. Clone the repo

git clone https://github.com/DengreSarthak/IncoRichi.git

cd web

npm install

npm run dev

Website will be live at http://localhost:3000/

๐Ÿš€ Getting Started with the contracts

cd lightining-rod

bun install

forge build

To run Solidity checks

cd test

forge build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors