Skip to content

Running the unlink daemon

Withdrawals are proven where your keys are. In the browser that means the tab must be open when a withdrawal is due. The CLI daemon does the same on a machine that stays on.

Install

Download the binary for your platform from CLI and check its SHA-256. It is a single file; the Lean planner binary sits next to it.

Run

leanpool shield 3.7 --keypair ~/.config/solana/id.json
leanpool plan 3.7 --burners 4 --speed balanced --save
leanpool unlink --daemon

The daemon:

  • reads the encrypted queue from ~/.leanpool/, asking for the password once,
  • sleeps until the next withdrawal is due,
  • builds the proof locally and sends it through the Privacy Cash relayer,
  • logs only the step number and the transaction signature, never keys or notes.

Stop it with Ctrl-C. Remaining steps stay in the queue.

Options

FlagMeaning
--rpc URLuse your own RPC instead of the default
--jsonprint machine-readable lines
--oncerun what is due now, then exit (for cron)

Running it on a server

Anything that can run a Linux x64 binary works. Use a machine you control, and remember that the server then holds your encrypted notes and seed.