How the desktop app works

zk.money Desktop is a locally-running version of zk.money. The zk.money website is the hosted wallet you reach in a browser at the zk.money domain.

zk.money Desktop runs the same wallet on your own computer, using the passkey you already created on the website, so your funds stay reachable while the website is down.

Launching the app starts a local web server and opens a dedicated Chrome profile, and closing the wallet window shuts both down. The profile, which holds your wallet data, and the app's certificate stay in the app's data folder for the next launch. There is nothing you need to configure.

Why zk.money Desktop serves the wallet at wallet.zk.money

A passkey belongs to the site that created it. Yours belongs to auth.zk.money, which publishes a short list of the zk.money sites allowed to use it. The wallet at wallet.zk.money is on that list. Chrome offers your passkey only to a site on the list, which stops any other site from asking for it.

zk.money Desktop serves the wallet at wallet.zk.money from your own computer. It also serves the passkey list from auth.zk.money on the same local server. That list allows only the wallet.

Chrome uses the local server for both hostnames inside the profile that zk.money Desktop opens.

What zk.money Desktop does at launch

  1. Issues an HTTPS certificate for wallet.zk.money and auth.zk.money. zk.money Desktop creates and keeps the certificate in its local data folder.
  2. Tells Chrome to trust that one certificate, by its fingerprint, rather than turning certificate checking off.
  3. Starts a web server for the bundled wallet. The server accepts connections from your own computer only.
  4. Serves the wallet over that certificate, so the connection is real HTTPS rather than a warning you click through.
  5. Resolves both hostnames to that server inside the dedicated Chrome profile, so Chrome loads the wallet and its passkey list from your computer.
  6. Opens a dedicated Chrome profile, which starts without your extensions, cached files, cookies or old service workers. Signing it in to Google can bring your extensions in; see How to run the desktop app. Your wallet data lives in this profile, separate from your normal browsing.
  7. Shuts the server down when you close the window. Nothing keeps running in the background.

What reaches the internet

Every page, script and image comes from the copy bundled inside zk.money Desktop, and no website assets are fetched from the internet.

An internet connection is still needed for the wallet to do its actual job of reading your balances and sending transactions on the network. At launch zk.money Desktop also asks the zk.money website for its configuration (which contracts to talk to), but every build ships with a copy of that configuration, and falls back to the bundled copy when the website is unreachable.

One check still goes through the zk.money website. Before a deposit from an Ethereum wallet or a withdrawal to an Ethereum address, the wallet screens that address with Predicate, and zk.money Desktop sends that check to wallet.zk.money. While the website is down, the check fails and the wallet does not start the deposit or withdrawal, so no money moves.

zk.money Desktop never handles your passkey

Your passkey never leaves where it is kept, whether that is Apple Passwords, Google Password Manager, 1Password or a security key. The wallet asks your authenticator for the same operation the zk.money website asks for, and your authenticator applies the same checks it always does. Like the website, the app keeps your secret key in its own browser storage until you sign out.