# Researcher Flow (Claim)

The **Researcher Flow** describes how a whitehat receives a claim ticket and converts it into funds at a wallet of their choice.

## Flow Overview

> Receive ticket → Inspect → Pick wallet mode → Claim

{% stepper %}
{% step %}

### Receive the Ticket

The project sends you the claim ticket through your contact channel:

* Telegram or Discord direct message
* Email
* Signal or any other private channel

The ticket is an opaque base58 blob.
{% endstep %}

{% step %}

### Inspect the Ticket (No Transaction)

Visit `/claim` and paste the ticket into the input field.

Click **Inspect**:

* Cloak SDK calls `inspectClaimTicket()` locally
* The ticket is trial-decrypted in your browser
* The amount, label, and claim status appear

This step does **not** broadcast any transaction or call any RPC. It is purely local.
{% endstep %}

{% step %}

### Choose Wallet Mode

Pick where the funds should land.

<figure><img src="/files/BbpG88kdA9c1iGeJHWgF" alt="" width="563"><figcaption></figcaption></figure>

**Option A — Existing Wallet**

* Funds go to your connected Phantom or Solflare wallet
* Suitable for researchers who do not need maximum unlinkability
* Faster, simpler workflow

**Option B — Fresh Wallet (Maximum Privacy)**

* Tirai generates a brand-new keypair in your browser
* A non-dismissible save-key dialog blocks the claim until you confirm storage
* The fresh wallet has **zero on-chain history** — maximum unlinkability

If you select Fresh Wallet, this dialog will appear after you click Claim:

<figure><img src="/files/4aaZ2P6HNvKebBdjRUOJ" alt="" width="563"><figcaption></figcaption></figure>

The dialog cannot be dismissed without confirming you have stored the secret key — Tirai never persists it, so losing the key means losing the funds.
{% endstep %}

{% step %}

### Claim the Bounty

Click **Claim**:

* Cloak SDK calls `fullWithdraw()` with the chosen recipient
* The Groth16 withdrawal proof is generated in-browser
* The withdrawal transaction confirms on Solana
* Funds land at the chosen recipient address
  {% endstep %}

{% step %}

### Privacy Guarantees

When you claim, the funds settle through the Cloak Shield Pool — and the deposit ↔ withdrawal pair is cryptographically hidden.

What this means concretely:

* The project never sees your destination wallet
* A public observer sees only **Cloak Pool → Recipient**, with no link to the original deposit
* If you chose fresh-wallet mode, the destination has no traceable history

The on-chain payment edge between project and researcher **does not exist**.
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://moai-3.gitbook.io/tirai-frontier/how-tirai-works/researcher-flow-claim.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
