project screenshot 1
project screenshot 2
project screenshot 3

Confido

Confido leverages FHE for confidential on-chain wage payments. Employers load recipient addresses and encrypted amounts in a FHE smart contract. Users can then perform partial or full withdrawals and add new recipient addresses they own to enhance privacy.

Confido

Created At

ETHGlobal Brussels

Project Description

Confido introduces a solution for on-chain organizations such as companies or DAOs to provide employees with greater wage confidentiality. With Confido, employees can receive payments on-chain without revealing their exact earnings to everyone.

The application leverages Fhenix's FHE technology to encrypt employee wages, enabling secure operations without exposing it.

Employers input recipient addresses and encrypted wage amounts into the application. Recipients can connect their wallets to withdraw partial amounts as needed, while the remainder of their balance stays securely encrypted within the smart contract.

Confido is compatible with traditional tokens and stablecoins, independent of FHE ERC20, facilitating seamless integration into existing ecosystems.

Recipients can also add additional addresses they control to distribute their entitlements across multiple destinations, further enhancing privacy and flexibility in payment processing. Currently, our smart contract design relies only on FHE in such a way that a link between all recipient addresses can still be made. Future iterations may explore integrating zk proofs to completely sever this link.

Looking ahead, our goal is to integrate the dApp with mainstream chains such as Arbitrum Nitro and Base for direct deposit and withdrawal operations, although this integration is not yet implemented.

How it's Made

The frontend of the application is made using NextJS, TailwindCSS and the fhenix.js library. It allows the application to interact with the smart contract deployed on the Fhenix Helium testnet

The data structure in the confidential smart contract has evolved through multiple iterations. The initial version used a mapping from plaintext addresses to encrypted amounts. The latest version maps plaintext addresses to encrypted indexes, which are then linked to encrypted amounts. This update allows recipients to add multiple addresses they own.

background image mobile

Join the mailing list

Get the latest news and updates