Skip to the content
Velumbot
Reading HyperliquidOpen App

Not audited

Four layers,
and what each leaves bare.

Nobody outside Velumbot has reviewed these contracts or the circuit. Read this page as a description of what the code is meant to do, tested by its authors, and nothing more.

Proof of innocenceThe aliasThe nullifierZero knowledge
  1. Proof of innocence

    A private spend must prove its deposit's label is in the approved set: the deposits that did not come from a blocked address.

    The set is Velumbot's own list, kept by one key. It can leave a deposit out. That deposit still goes back to the wallet that made it, in public, and no key can stop that.

  2. The alias

    Your trading account obeys a key made in your browser from one signature of your wallet. The server is never told which wallet an alias belongs to.

    Lose the browser's storage without a backup and the key is gone. With the wallet, the same signature makes it again.

  3. The nullifier

    Spending a note publishes a number that only that note produces. The pool refuses it a second time, so a note cannot be spent twice.

    It does not hide that a spend happened, or when, or how much left.

  4. Zero knowledge

    The proof shows that some note in the tree is being spent correctly. It does not show which one, so the spend cannot be tied to a deposit.

    It cannot hide what is public anyway: the deposit itself, and everything the trading account does on Hyperliquid.

What stays public.

Written first, because it is the part a privacy product is tempted to leave out.

Your deposit
The wallet that deposits, the asset, the amount and the time are on Elysium for anyone to read.
Your trading account
It is an ordinary Hyperliquid account. Its positions, orders, fills and balance are public there, like every account's.
The funding of that account
The amount is one of a few fixed sizes and it leaves in a batch, but that a Velumbot box paid that account, and when, is public. Relay, the bridge in between, sees both ends.
A withdrawal
The address that receives, the asset, the amount and the time are public.
That you use Velumbot
Every address that touches the pool can be seen to have done so.

What is hidden

Which deposit paid for which trading account
A zero knowledge proof shows that a note in the pool is being spent and that it was never spent before. It does not show which note.
Which deposit a withdrawal came from
The same proof. The withdrawal can also be sent by a relayer, so your wallet does not appear as its sender.

Who holds which key.

No owner or admin key can trade for a user or take a user's funds. This is what each key that exists can do.

Your wallet
Deposits, and takes an unapproved deposit back. It signs one message from which your trading key is made.
Your trading key
Lives in your browser. It signs every order, every plan, every movement of funds of your trading account, and releases the funding meant for it.
An agent's key
Signs orders inside limits you signed. Nothing else.
The owner's wallet, through a 48 hour timelock
Changes limits, lists and addresses, two days after asking, in public. It cannot move a note or an account's funds. The pool, the gate and the account code cannot be replaced at all.
The server's wallet
Pauses deposits and new funding, blocks addresses, posts the approved set, sends what users signed, and carries out stops. It cannot stop a withdrawal, a public exit, a cancel, a closing order or any way out of an account.
Relay
A third party between Elysium and Hyperliquid. Funds pass through it. It can be late or refuse; it sees both ends of a transfer.

What stops when the server stops.

Stop losses, take profits and stealth orders are not resting orders on Hyperliquid: a contract cannot place those. Velumbot's guardian robot sends them when their moment comes. If the server is down, they do not fire. A watchdog restarts the robot when it has been silent for more than two minutes, and its state is shown in the app and on the Proof page. Your position can always be closed by you with an ordinary order, whether the robot runs or not.

Reading the guardian robot's state

Why the limits are small.

A fault in the circuit or the pool could lose every note. Until there is an audit, the most that can be at risk is 50 dollars a wallet and 1,000 dollars in all, at no more than 5x.