Iceberg.trade — One-click private trading, best price, self-custody.
Live demo: http://34.238.154.20/
Iceberg.trade is a one-click privacy trading protocol that protects sensitive on-chain information—such as wallet addresses, order sizes, and portfolio holdings—without compromising execution speed, price, or usability.
Today, traders face growing risks due to the public nature of blockchain. On-chain surveillance tools and MEV bots actively monitor trading patterns to front-run orders, copy trading behaviors, and extract value. For example, large wallets (often called "smart money") are constantly watched by bots that replicate or front-run their trades, leading to degraded execution, larger slippage, and strategic leaks. Yet despite these risks, there’s no easy-to-use tool that protects both execution quality and privacy—especially not one that works with a single click.
Iceberg.trade solves this by combining:
Stealth trades: breaking the link between wallet deposits, trading addresses, and final holdings
Best prices: 1inch smart routing - ensuring best execution and minimized slippage
Instant execution: trades are filled immediately
One-click simplicity: no setup, no custody wallets, no advanced knowledge required, as simple as a regular swap.
Under the hood, Iceberg uses zero-knowledge proofs to anonymize asset swaps and prevent double-spending:
Users deposit with a cryptographic commitment into the Iceberg contract. The commitment is generated using a secret and a nullifier. This hides the user's identity while enabling future verification.
Iceberg retrieves a real-time quote from the 1inch API and prepares the corresponding swap calldata.
This architecture ensures that each trade is unlinkable, each withdrawal is untraceable, and no third party ever gains control of user funds.
Compared to existing solutions like Tornado Cash (which offers privacy but no trading), Railgun (which requires more complex setup), or HoudiniSwap (which relies on third-party custody), Iceberg.trade is the only solution designed for real-time, non-custodial, high-speed privacy trading.
Iceberg.trade is built as a modular privacy trading protocol using zero-knowledge proofs, smart routing APIs, and non-custodial infrastructure.
Here’s how it works under the hood:
Smart Contracts: The core contracts are written in Solidity and deployed on EVM-compatible chains. The main contract manages user commitments, nullifier tracking for double-spending prevention, and interaction with external DEX contracts (like 1inch).
ZK Commitments: We use Poseidon hash for efficient on-chain hashing of commitments (Hash(nullifier, secret)), and store them in a Merkle tree to enable scalable inclusion proofs. Nullifiers are tracked to ensure one-time usage. Withdrawals require a zkSNARK proof that validates knowledge of a valid (nullifier, secret) pair included in the tree.
Zero-Knowledge Proofs: We built custom zk circuits using circom and snarkjs. These circuits validate:
The knowledge of (nullifier, secret) that hashes to a stored commitment
The uniqueness of the nullifier (preventing reuse)
The correctness of the withdrawal target and amount (optional constraints)
Smart Routing Integration: We integrate with 1inch API on the backend. Upon user request, we fetch real-time quotes and return the calldata required for the swap. This ensures optimal price execution while keeping the logic off-chain for gas efficiency.
Backend/Relayer: A lightweight backend service acts as a coordination layer. It fetches swap quotes, constructs calldata, and optionally relays transactions on behalf of users (using sponsored gas or stealth relays for extra privacy). This backend is built in Node.js and uses ethers.js for chain interaction.
Frontend: The UI is built with React + Next.js, and connects directly to wallets via WalletConnect and MetaMask. The commitment and proof generation happens client-side to ensure that secrets never leave the user’s device.
Hacky highlight: To avoid deploying a new wallet or contract per user, we designed a stateless interaction model using ephemeral commitments. This allows stealth execution without per-user addresses or trusted relayers. We also patched snarkjs to support custom witness generation optimizations, reducing client-side proof time significantly.
Partner Technologies Used:
1inch API — for price discovery and calldata generation
Circom / SnarkJS — for ZK proof generation and verification
Ether.js / Hardhat — for contract development and deployment
Poseidon / circomlib — for efficient hash and Merkle tree support