> For the complete documentation index, see [llms.txt](https://doc.lockerprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.lockerprotocol.com/start-here/how-it-works.md).

# How it works in 60 seconds

Your computer shows a code, your Vault reads it and answers with another code. That is a signature.

Signing something with Locker Protocol is like passing notes through a window. Nobody ever hands over the key. Here is the whole trick, in four pictures.

{% stepper %}
{% step %}

### The extension shows an animated QR code

You click **Send** (or a website asks you to sign something). The browser extension turns that request into a QR code that flickers between several frames. It is a request, not a signature: at this point nothing has happened yet.

<figure><img src="https://3674012151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2jyfPJ4rcVavAvTU9nL%2Fuploads%2Fgit-blob-bef6d30f290b4c542500a30013d5c0caf342d883%2F01-extension-shows-qr.png?alt=media" alt="extension shows qr"><figcaption><p>The extension shows what it wants signed, as a moving QR code.</p></figcaption></figure>
{% endstep %}

{% step %}

### The Vault reads it and shows you what it means

You point the Vault's camera at your screen. The Vault decodes the request and displays it in plain words: how much, to whom, on which network. **Read this screen.** It is the only one you should trust.

<figure><img src="https://3674012151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2jyfPJ4rcVavAvTU9nL%2Fuploads%2Fgit-blob-fdf95bb044ce7d431ffe5ba94de0052b858948fd%2F02-vault-scans.png?alt=media" alt="vault scans"><figcaption><p>The Vault shows the request in its own words, before anything is signed.</p></figcaption></figure>
{% endstep %}

{% step %}

### You tap Sign, the Vault shows a new QR

If everything looks right, you tap **Sign**. The Vault signs with the key that never left it, and shows the *signed* result as a QR code on its own screen.

<figure><img src="https://3674012151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2jyfPJ4rcVavAvTU9nL%2Fuploads%2Fgit-blob-21baf0198aa309545394eacee89ce0b47a80e7be%2F07-signed-qr.png?alt=media" alt="vault shows signed qr"><figcaption><p>The signature, as a QR code. Still no key on the screen, only the signature.</p></figcaption></figure>
{% endstep %}

{% step %}

### The extension scans it back and sends it

You hold the Vault up to your computer's camera. The extension reads the signed QR and sends the transaction to the network. Done.

<figure><img src="https://3674012151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2jyfPJ4rcVavAvTU9nL%2Fuploads%2Fgit-blob-051fad32914d496b7a5416e0dc80bc23779636f8%2F04-extension-scans-back.png?alt=media" alt="extension scans back"><figcaption><p>The extension reads the signature and broadcasts the transaction.</p></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Why this is safe:** the Vault has no internet. The only things that ever cross between the two devices are pictures of QR codes: a *request* going one way and a *signature* coming back. Your secret key is never inside either of them.
{% endhint %}

{% hint style="warning" %}
**The golden rule:** what the *Vault* shows is the truth. If the Vault's screen and the computer's screen disagree, tap **Refuse** on the Vault.
{% endhint %}

{% hint style="info" %}
**The agent wallet works the same way.** With the Vault, `lpa` shows its requests as QR codes on a page of your computer and reads the Vault's answers with the webcam. For the agent wallet only, your browser extension or your mobile wallet can sign instead. The Vault stays the safest of the three, because its key never touches a device that is online. See [Three ways to sign](https://doc.lockerprotocol.com/hyper-agentic-trader/agent.md#three-ways-to-sign-for-your-account).
{% endhint %}

## Learn more

* [Set up in 3 steps](https://doc.lockerprotocol.com/start-here/set-up-in-3-steps.md)
* [Sign a transaction on the Vault](https://doc.lockerprotocol.com/vault/sign-a-transaction.md)
* [Security model](https://doc.lockerprotocol.com/reference/security-model.md)
