Loch
Install

Your wallet is public. The Loch is not.

A shielded balance inside Phantom, Solflare or Backpack. Pay from it, and your history stays behind.

The extension runs in Chrome, Brave and Edge. The app is in the Solana dApp Store on Seeker, and on any Android phone.

v0.2, on mainnet. Read the cautions before you dive in.

The extension’s popup, drawn here with example figures. The extension is an early alpha.
Scroll

Dive in, send privately, surface.

Three steps, inside the wallet you already have. Its keys come from one message that wallet signs, so there is no new seed phrase.

  1. 1Dive in

    Move SOL from your public wallet into the Loch. A screening authority checks where it came from and co-signs the deposit.

    An observer sees your address, the amount, the time, and that it went into the Loch.

    From
    Fh3q…Tz8K
    To
    The Loch
    Amount
    5.000SOL
    Time
    14:02 UTC
  2. 2Send privately

    Pay any other Loch balance. A zero-knowledge proof shows the payment is valid without showing who paid whom, or how much.

    An observer sees a proof, two nullifiers, two new commitments and the relayer’s fee. No sender, no recipient, no amount.

    From
    Not on the chain
    To
    Not on the chain
    Amount
    Not on the chain
    Relayer’s fee
    0.0014SOL
  3. 3Surface

    Withdraw to any Solana address, yours or someone else’s. Nothing ties it to a particular deposit.

    An observer sees an address receive an amount from the Loch, and when. Not which deposit it came from.

    From
    The Loch
    To
    9fRk…2mVd
    Amount
    2.000SOL
    Which deposit
    Not on the chain

Each record is an example of what the chain keeps at that step. A bar stands for something the chain is never given.

Take a sounding of your own wallet.

Paste any Solana address. The leak scanner reads the history anyone can read, and tells you what it gives away. You get a privacy score out of 100.

The scan runs in your browser and reads public chain data from rpc.lochlayer.com. That endpoint learns which address you looked up. Nothing asks you to connect a wallet, sign anything or type a seed phrase.

This page is being shown inside another page, so the live scan is switched off. Open it in a tab of its own.

More takes longer: on a slow endpoint about two minutes for 100.

Use your own RPCDefault: rpc.lochlayer.com

Point the scan at a node or a provider you trust. Its address is kept in this browser only, in localStorage, and is sent to nobody.

The page reloads so that its security policy allows this endpoint and no other. Use https, or http for a node on this machine.

Who learns which address you looked up

By default, the Loch RPC proxy, which this project runs, and the RPC provider behind it. The proxy sees the address together with your IP address while it answers, and keeps no log of either. The provider sees the address, coming from the proxy, and not your IP address. It can keep what it sees.

If that is more than you want to tell anyone, use your own RPC. Once the source code is published, you will be able to run the same scanner on your own machine.

See an example reportAn invented wallet, scored 49 of 100

Example report

This wallet is invented. The findings and their wording are the scanner’s own. Scan an address and its report takes this one’s place.

Privacy score

49of 100

Shallow water. Most of this wallet’s story can be read from the surface.

Leak report for Fh3q…Tz8K. 300 transactions scanned, 412 transfers.

Privacy score 49 of 100, drawn as a stepped bedPrivacy score 49 of 100 for Fh3q…Tz8K. A wallet with no leaks starts at 100. Funding source is public: less 10, leaves 90. Recurring counterparties: less 16, leaves 74. Your time zone is guessable: less 10, leaves 64. Exact amounts passed straight through: less 10, leaves 54. Balance is visible to everyone: less 5, leaves 49.No leaks100startFunding90−10Payees74−16Hours64−10Amounts54−10Balance49−5Privacy score 49 of 100, drawn as a stepped bedPrivacy score 49 of 100 for Fh3q…Tz8K. A wallet with no leaks starts at 100. Funding source is public: less 10, leaves 90. Recurring counterparties: less 16, leaves 74. Your time zone is guessable: less 10, leaves 64. Exact amounts passed straight through: less 10, leaves 54. Balance is visible to everyone: less 5, leaves 49.No leaks100startFunding90−10Payees74−16Hours64−10Amounts54−10Balance49−5Privacy score 49 of 100, drawn as a stepped bedPrivacy score 49 of 100 for Fh3q…Tz8K. A wallet with no leaks starts at 100. Funding source is public: less 10, leaves 90. Recurring counterparties: less 16, leaves 74. Your time zone is guessable: less 10, leaves 64. Exact amounts passed straight through: less 10, leaves 54. Balance is visible to everyone: less 5, leaves 49.No leaks100startFunding90−10Payees74−16Hours64−10Amounts54−10Balance49−5Privacy score 49 of 100, drawn as a stepped bedPrivacy score 49 of 100 for Fh3q…Tz8K. A wallet with no leaks starts at 100. Funding source is public: less 10, leaves 90. Recurring counterparties: less 16, leaves 74. Your time zone is guessable: less 10, leaves 64. Exact amounts passed straight through: less 10, leaves 54. Balance is visible to everyone: less 5, leaves 49.No leaks100startFunding90−10Payees74−16Hours64−10Amounts54−10Balance49−5Privacy score 49 of 100, drawn as a stepped bedPrivacy score 49 of 100 for Fh3q…Tz8K. A wallet with no leaks starts at 100. Funding source is public: less 10, leaves 90. Recurring counterparties: less 16, leaves 74. Your time zone is guessable: less 10, leaves 64. Exact amounts passed straight through: less 10, leaves 54. Balance is visible to everyone: less 5, leaves 49.No leaks100startFunding90−10Payees74−16Hours64−10Amounts54−10Balance49−5Privacy score 49 of 100, drawn as a stepped bedPrivacy score 49 of 100 for Fh3q…Tz8K. A wallet with no leaks starts at 100. Funding source is public: less 10, leaves 90. Recurring counterparties: less 16, leaves 74. Your time zone is guessable: less 10, leaves 64. Exact amounts passed straight through: less 10, leaves 54. Balance is visible to everyone: less 5, leaves 49.No leaks100startFunding90−10Payees74−16Hours64−10Amounts54−10Balance49−5Privacy score 49 of 100, drawn as a stepped bedPrivacy score 49 of 100 for Fh3q…Tz8K. A wallet with no leaks starts at 100. Funding source is public: less 10, leaves 90. Recurring counterparties: less 16, leaves 74. Your time zone is guessable: less 10, leaves 64. Exact amounts passed straight through: less 10, leaves 54. Balance is visible to everyone: less 5, leaves 49.No leaks100startFunding90−10Payees74−16Hours64−10Amounts54−10Balance49−5
A wallet with no leaks sits 100 deep, out of sight. Each finding takes depth away, and the hatching is what it cost. Where the bed ends up is the score.

The same, as a statement

  1. A wallet with no leaksEvery scan starts here and loses depth for each thing the public history gives away.100
  2. MediumFunding source is publicFirst funds came from 5tzF…uAi9. Anyone can follow this link back.−10
  3. MediumRecurring counterparties4 addresses interact with you 3 or more times (top: 9fRk…2mVd ×14, Bq7T…e1Lw ×9, H2xD…pK4s ×6). Regular payments reveal employers, clients or friends.−16
  4. MediumYour time zone is guessableAlmost no activity between 22:00 and 04:00 UTC. That is likely your sleep window.−10
  5. MediumExact amounts passed straight through2 outgoing transfers matched an incoming amount within 10 minutes. This links the sender to the final recipient.−10
  6. LowBalance is visible to everyone41.207 SOL and 6 token accounts are public. Anyone you pay can look.−5
  7. Privacy scoreWhat helps: a fresh address for each payer, no forwarding of exact amounts, and savings kept in a shielded balance.49of 100

When it is active, and who it deals with

Transfers by hour of day, UTC412 transfers by hour of day, UTC. Busiest hour 16:00, 39 transfers. Almost nothing from 22:00 to 04:00 UTC (3 of 412): that is probably when the owner sleeps, which gives away a time zone.000612182439Quiet 22:00 to 04:00Transfers by hour of day, UTC412 transfers by hour of day, UTC. Busiest hour 16:00, 39 transfers. Almost nothing from 22:00 to 04:00 UTC (3 of 412): that is probably when the owner sleeps, which gives away a time zone.0006121824 UTC39Quiet 22:00 to 04:00Transfers by hour of day, UTC412 transfers by hour of day, UTC. Busiest hour 16:00, 39 transfers. Almost nothing from 22:00 to 04:00 UTC (3 of 412): that is probably when the owner sleeps, which gives away a time zone.0006121824 UTC39Quiet 22:00 to 04:00Transfers by hour of day, UTC412 transfers by hour of day, UTC. Busiest hour 16:00, 39 transfers. Almost nothing from 22:00 to 04:00 UTC (3 of 412): that is probably when the owner sleeps, which gives away a time zone.0006121824 UTC39Quiet 22:00 to 04:00Transfers by hour of day, UTC412 transfers by hour of day, UTC. Busiest hour 16:00, 39 transfers. Almost nothing from 22:00 to 04:00 UTC (3 of 412): that is probably when the owner sleeps, which gives away a time zone.0006121824 UTC39Quiet 22:00 to 04:00
Transfers by hour of day, UTC. Deeper is busier. The hatched shoal, where almost nothing happens, is likely when the owner sleeps.
Who this wallet deals withThis wallet has dealt with 291 addresses in 412 transfers. 9fRk…2mVd: 14 transfers. Bq7T…e1Lw: 9 transfers. H2xD…pK4s: 6 transfers. 5tzF…uAi9: 4 transfers (funded this wallet). 287 other addresses, 379 transfers between them.9fRk…2mVd×14Bq7T…e1Lw×9H2xD…pK4s×65tzF…uAi9×4funded this wallet287 othersWho this wallet deals withThis wallet has dealt with 291 addresses in 412 transfers. 9fRk…2mVd: 14 transfers. Bq7T…e1Lw: 9 transfers. H2xD…pK4s: 6 transfers. 5tzF…uAi9: 4 transfers (funded this wallet). 287 other addresses, 379 transfers between them.9fRk…2mVd×14Bq7T…e1Lw×9H2xD…pK4s×65tzF…uAi9×4funded this wallet287 othersWho this wallet deals withThis wallet has dealt with 291 addresses in 412 transfers. 9fRk…2mVd: 14 transfers. Bq7T…e1Lw: 9 transfers. H2xD…pK4s: 6 transfers. 5tzF…uAi9: 4 transfers (funded this wallet). 287 other addresses, 379 transfers between them.9fRk…2mVd×14Bq7T…e1Lw×9H2xD…pK4s×65tzF…uAi9×4funded this wallet287 othersWho this wallet deals withThis wallet has dealt with 291 addresses in 412 transfers. 9fRk…2mVd: 14 transfers. Bq7T…e1Lw: 9 transfers. H2xD…pK4s: 6 transfers. 5tzF…uAi9: 4 transfers (funded this wallet). 287 other addresses, 379 transfers between them.9fRk…2mVd×14Bq7T…e1Lw×9H2xD…pK4s×65tzF…uAi9×4funded this wallet287 othersWho this wallet deals withThis wallet has dealt with 291 addresses in 412 transfers. 9fRk…2mVd: 14 transfers. Bq7T…e1Lw: 9 transfers. H2xD…pK4s: 6 transfers. 5tzF…uAi9: 4 transfers (funded this wallet). 287 other addresses, 379 transfers between them.9fRk…2mVd×14Bq7T…e1Lw×9H2xD…pK4s×65tzF…uAi9×4funded this wallet287 others
Who this wallet deals with. A heavier line is more transfers.

What keeps it private.

Six ideas do the work. Each sets what anyone can see beside what only you can.

The extension’s popup, drawn here with example figures. The extension is an early alpha. It is on the Chrome Web Store, and an app for Seeker is in the Solana dApp Store.
  • Sealed notes

    Your shielded balance is a handful of notes. The chain is given a fingerprint of each note, never the note.

    In the docs: notes and commitments

    An observer sees one fingerprint for each note. It says nothing about the amount or the owner.

    Only you see what each note holds, and that it is yours.

  • A proof in place of the details

    Your device proves the notes you spend exist, are yours and add up. Solana checks the proof and learns nothing more.

    In the docs: the proof

    An observer sees a proof, 256 bytes long, and that the program accepted it.

    Only you see which notes you spent, who you paid and how much.

  • A tag for every spent note

    Spending a note publishes a tag, and a tag is refused the second time, so no note is spent twice.

    In the docs: nullifiers

    An observer sees two tags with every payment.

    Only you see which of your notes each tag cancels.

  • Sealed for the recipient

    A new note travels with the payment, encrypted so that only the person it is for can open it.

    In the docs: encrypted notes

    An observer sees 87 bytes they cannot read, beside each new fingerprint.

    Only the recipient sees the amount they were sent.

  • Carried by a relayer

    A relayer puts the payment on Solana and pays the network fee, so your public wallet is not on it. It does see your IP address and when you sent.

    In the docs: the relayer

    An observer sees the relayer’s address and its fee.

    Only you see which wallet is behind the payment.

  • Keys from the wallet you have

    Your wallet signs one message, and your shielded keys are made from it. Sign that message nowhere but in Loch.

    In the docs: keys

    An observer sees nothing. Signing a message is not a transaction.

    Only you see the keys, and with them your shielded balance.

Read the cautions before you dive.

A chart prints its warnings in magenta, where the navigator cannot miss them. These are ours, followed by what we have committed to.

Cautions

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.

Commitments

Withdrawals can never be paused
The program’s pause switch stops new deposits and nothing else. It has no instruction that stops you surfacing. The program itself can still be upgraded by its admin key.
Open source
The extension is open source, under the GNU General Public License, at github.com/lochlayer/loch-extension: you can read it, build it yourself and change it. The circuit, the program, the services and this site are not published yet. Until you can read them, you are taking them on trust.
No analytics
This site sets no cookies and loads nothing from anyone else’s server: no trackers, no scripts, no fonts. The only request that leaves it is the one you start: a scan. The extension sends no telemetry.
The $LOCH token
This is our token’s contract address: CYGidBuS8WwUXfZCmb98LnLGL9Mx8SvhdqA6t3xTLoch. A token at any other address is not ours.
Product before token
The work in front of us is a wallet that keeps a balance private, then two audits. That comes first.