MONTELVAYDocs Open Montelvay →

Owner Proof

A session token alone must never be enough for an action that can end in lost money. If a session were stolen, the thief would still need the client's key.

What requires it

  • Showing the backup of the PIN.
  • Registering the keys of the private receiving addresses for the first time.
  • Setting the bank details shown to the client.
  • Replacing the passkey of the account, after a recovery.

How it works

The owner signs, with a wallet signature or a passkey confirmation, a message that names three things:

  1. the action, in plain words, for example «Show my PIN»;
  2. the exact request: the hash of its content;
  3. a challenge issued by the server, valid once.
Montelvay - confirm this action

<action>
Request: <keccak256 of the request>
Challenge: <single-use challenge>

The server checks the signature against the owner of the account, checks that the request it received is the one that was signed, and consumes the challenge. A proof made for one request cannot be used for another, and a used proof cannot be replayed.

Passkeys sign a flat challenge: the hash of the same message.

The code is in lib/proof.js, shared by the server and the web application.

Operations

Operations that move assets are not covered by owner proof, because they are signed by the owner's key in the first place. For those, the browser compares the operation before and after the paymaster step and signs only what it built itself. See the Technical Walkthrough.

Last updated: 22 November 2026

Montelvay AG, Grafenaustrasse 11, 6300 Zug, Switzerland · Terms and Conditions · Privacy Policy · Legal notice
For information only. Nothing in this documentation is an offer, a solicitation, or investment, legal or tax advice.