Swap WETH or USDC on Ethereum without revealing trade direction, size, or price limit publicly.
Use the chain view mode to independently verify exactly what an outside observer can see.
Run the permissionless keeper service to settle epochs and net opposing trades.
Deploy and test the confidential contracts against a local Nox stack in Docker.
| tang-vu/veilswap | 0xradioac7iv/tempfs | 7vignesh/pgpulse | |
|---|---|---|---|
| Stars | 0 | 0 | 0 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | hard | moderate | moderate |
| Complexity | 5/5 | 3/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Node 22+, pnpm, and a running Docker engine to boot the local Nox test stack.
VeilSwap is a privacy layer for token swaps built on top of Ethereum, using confidential smart contracts from a system called iExec Nox. A user deposits WETH or USDC, and from that point their trading activity becomes hidden: how much they are trading, in which direction, and at what price limit are all kept secret inside a protected hardware environment called an Intel TDX enclave. Opposite trades from different users are matched and cancelled out against each other privately, so only whatever is left over after that matching, called the residual, actually gets traded on the real public Uniswap market, and it happens as a single combined swap once per time period called an epoch. The project includes a dashboard with a chain view mode that lets anyone check the privacy claim for themselves. Switching to that mode shows exactly what an outside observer watching the blockchain can see, which turns out to be very little: an epoch number, an index, and an address, but no direction, size, or price limit for any trade. The system is designed so that no one, including the project's own operators, controls it: settling each epoch is open to anyone, the reference price comes from the public market itself, and every value that gets revealed comes with a cryptographic proof checked on chain. A helper service called a keeper can trigger settlement, but it has no special power over the system. The privacy mechanism works by keeping balances and trade details encrypted the entire time, only combining and netting them together while still encrypted, and revealing just two total numbers per epoch, the combined amount bought and sold on each side, because the leftover trade has to be a plain number to execute on Uniswap. This gives every trader a form of safety in numbers, since an observer only learns that some number of trades happened and what the total side amounts were, not who did what. The code is organized into Solidity smart contracts, a set of tests that run against a real local test version of Nox in Docker, a keeper service, and a React based frontend. It is currently deployed and demoed live on the Ethereum Sepolia test network, not on the real Ethereum mainnet.
A confidential token swap protocol that hides trade size and direction using encrypted smart contracts, settling only net leftovers on Uniswap.
Mainly TypeScript. The stack also includes Solidity, TypeScript, React.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.