- On mainnet, with real funds
- Loch v0.2 runs on Solana mainnet. What you dive in with is real SOL or USDC. One deposit can be at most 100 SOL or 10,000 USDC.
- Unaudited
- Neither the circuit nor the program has had an external audit. A flaw in either could lose everything in the pool.
- A one-person setup
- The proving keys of both pools come from development setups with a single contributor. Whoever ran them could forge proofs and drain the pools. A public ceremony with many contributors has not replaced them yet.
- Depth proofs have one too
- The key that checks depth proofs also comes from a development setup with a single contributor. Whoever ran it could fake a proof that a wallet holds more than it does. It cannot move anyone’s funds.
- Deposits are screened
- A screening authority must co-sign every deposit and can refuse one. It sees the address you deposit from. If you want a pool with nobody at the door, this is not it.
- One signature holds your keys
- Your shielded keys come from your wallet’s signature on one message, “Loch key derivation v1”. Anyone who gets you to sign that message gets the same keys, and with them your shielded balance. Sign it nowhere but in Loch.
- A small crowd
- A pool hides you only among the other people using it, and today that is a small crowd; the new pool started empty. If you surface the exact amount you dived in with, soon afterwards, anyone can pair the two and most of the benefit is gone. Leave time between them, and surface a different amount.
- Swaps are public in amount
- A swap inside the Loch goes through Jupiter. Its two tokens and both amounts are public; only who swapped is shielded. The relayer fetches the route, and it can keep the slippage you allowed.
- A token can be frozen
- Circle, which issues USDC, can freeze the pool’s USDC account, and so can the issuer of any token that kept that power. Then none of that token can surface from the Loch until the freeze is lifted.
- A token few hold hides you poorly
- Anyone can bring any token into the Loch, with no limit on how much. A token only a few people hold there hides you only among those few: if you were the one who brought it in, swapping or surfacing it can point straight back to you. Loch warns you before you move such a token. A token that Jupiter cannot sell for SOL cannot pay the relayer, so it cannot leave the Loch through it. Anyone can also give a token any name, so Loch shows the start of its address beside a name it does not know.
- Earning holds JitoSOL
- Earn swaps your SOL for JitoSOL, Jito’s staked SOL, through Jupiter, and back when you stop. While you earn you hold JitoSOL, not SOL: it carries the risks of Jito’s stake pool, and its market price can sit below what the pool would pay for it. The yearly rate Loch shows is last epoch’s, read from the stake pool: an estimate, not a promise.
- Diving in and surfacing are public
- Every deposit and every withdrawal is an ordinary public transaction: the address, the amount and the time. Only what happens between them is shielded.
- Other chains go through a bridge
- Diving in from another chain or surfacing to one goes through Relay, a bridge this project does not run. For a second or two Relay holds what you send, and if it fails or refuses, what it holds is at its mercy. Relay decides where a bridged payment goes, by the quote it gave, and sees your IP address when the extension asks it for one.
- Pay links pass through our server
- A payment through a pay link is put together by Loch’s server, which sees the paying wallet and the link it pays. It keeps no record of either.