> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jup.ag/llms.txt
> Use this file to discover all available pages before exploring further.

# Chat

> Send direct messages and join public channels on Offerbook

Chat is a built-in messaging feature on Offerbook that lets users communicate with each other directly inside the app. It supports public channels (open discussions) and direct messages (DMs) addressed by username or Solana wallet address.

Chat is accessed from the **floating green button** in the bottom-right corner of the interface. Opening it reveals a small menu with **Messages**, **Feedback**, and **Support**; click **Messages** to enter Chat.

<Note>
  You can **read public channels as a guest** without connecting a wallet. Authentication is only required to send messages, start direct messages, change settings, or take any action tied to your identity.
</Note>

<Note>
  Chat is independent from the rest of Offerbook. Authenticating to Chat requires a separate wallet signature, distinct from the wallet connection used to create or accept offers.
</Note>

***

## Connecting to Chat

You can browse public channels without signing in. To **send messages**, **start direct messages**, or **change settings**, you need to authenticate. The first time you take one of these actions, you are prompted to **Connect to chat** by approving a wallet signature. This signature only authenticates you with the chat service; no funds are moved.

Once signed, you are not asked again on the same device.

<AccordionGroup>
  <Accordion title="Software wallets (Phantom, Solflare, etc.)">
    1. Click the floating green button in the bottom-right corner, then choose **Messages**.
    2. Click **Connect to chat**.
    3. Approve the signature request in your wallet.

    Your messages then load. You can navigate between **All**, **Direct**, and **Channels** tabs at the bottom of the panel.
  </Accordion>

  <Accordion title="Hardware wallets (Ledger and others)">
    Hardware wallets cannot sign arbitrary messages. Chat sign-in for hardware wallets uses a **memo transaction signature** instead.

    To sign in:

    1. Open Chat and click **Connect to chat**.
    2. If the standard signature fails, the app displays a hint about Ledger mode and offers to switch to transaction-based authentication.
    3. Approve the memo transaction in your hardware wallet. The transaction is empty (no funds move) but requires a small SOL balance to pay the network fee.

    You are not asked again on the same device after signing in.
  </Accordion>
</AccordionGroup>

***

## Channels

Channels are **public discussion rooms** open to all connected users.

At launch, Offerbook ships with a single channel: **General** ("General discussion for everyone"). Additional channels may be introduced over time.

<AccordionGroup>
  <Accordion title="Viewing a channel">
    Open Chat → click the **Channels** tab at the bottom of the panel → select **General**.

    The channel header shows the channel name and the current number of online users. **Pinned messages** appear at the top of the channel and can be expanded by clicking the chevron.

    Scroll down to read recent messages, and use the input at the bottom to send your own.
  </Accordion>

  <Accordion title="Who can pin messages?">
    Only **Jupiter admins** can pin messages in channels. Regular users cannot pin or unpin.
  </Accordion>

  <Accordion title="Online indicator">
    The "N online" indicator next to the channel name reflects the number of users currently connected to Chat (not the total number of Offerbook users).
  </Accordion>
</AccordionGroup>

***

## Direct Messages

Direct messages (DMs) are private one-to-one conversations between two users.

<AccordionGroup>
  <Accordion title="Starting a conversation">
    1. Open Chat → click the **Direct** tab.
    2. Click **+ Start a conversation**.
    3. Enter the recipient's **username** (if they have set one) or their **Solana wallet address**.
    4. Send your first message.

    The conversation appears in the **All** and **Direct** tabs for both participants.
  </Accordion>

  <Accordion title="Who can DM whom?">
    Any connected user can DM any other connected user, as long as you know their username or wallet address. There is no friend request or approval flow.
  </Accordion>
</AccordionGroup>

***

## Sending an Offer in Chat

You can share one of your **open offers** directly in a chat message, both in channels and in DMs. The recipient sees a preview card and can open the full offer with one click.

<Steps>
  <Step title="Open the attachment menu">
    From any chat (channel or DM), click the **+** button on the left of the message input.
  </Step>

  <Step title="Choose Send an offer">
    Select **Send an offer** ("Browse your open offers"). A list of your currently open offers is shown.

    If you have no open offers, the panel displays "You have no open offers." Create or renew an offer first, then come back to share it.
  </Step>

  <Step title="Select an offer">
    Pick the offer you want to share. It is sent as a **preview card** in the conversation, showing the principal, collateral, APY, duration, and LTV.
  </Step>

  <Step title="Recipient interaction">
    Anyone who can see the message can click the preview card. Clicking opens the full offer page on the right side of the interface, with all the offer details and the actions available to them (accept, send a counter offer, etc.).
  </Step>
</Steps>

<Note>
  Sharing an offer in chat does **not** change the offer's visibility settings. The offer remains discoverable from the offerbook as usual, and the shared card is only a convenient shortcut to it.
</Note>

***

## Chat Settings

Click the **gear icon** at the top of the chat panel to open Chat settings.

The available option is **Display layout**, which controls how messages are rendered:

| Layout      | Description                                                                        |
| ----------- | ---------------------------------------------------------------------------------- |
| **Bubbles** | Messages are shown as full chat bubbles. Best for short, conversational exchanges. |
| **Compact** | Messages are shown as compact rows. Best for high-volume channels.                 |
| **Mixed**   | Bubbles for DMs, compact for channels. Recommended for most users.                 |

Click **Done** to save your choice. The setting applies across your sessions on the same device.

***

## Reporting & Moderation

Chat includes a built-in moderation system to keep public channels usable.

<AccordionGroup>
  <Accordion title="Reporting a message">
    Hover (or long-press on mobile) on any message and click the **⋯** menu, then **Report message**. A confirmation dialog opens:

    > Report this message? A moderator will review it shortly. The sender is not told who reported them.

    Click **Report** to submit. The report is sent to the Jupiter moderation team. The sender does not know who reported their message.
  </Accordion>

  <Accordion title="Anti-spam">
    To prevent flooding, Chat blocks sending the **same message** more than once within a short window. If you try to repost identical content, the message is rejected.

    This is enforced per user across all channels and DMs.
  </Accordion>

  <Accordion title="What gets moderated?">
    The moderation team reviews reports and takes action against messages that violate community guidelines: spam, scams, harassment, impersonation, and similar abuse. Actions can include message deletion or user restrictions, at the moderators' discretion.
  </Accordion>
</AccordionGroup>

***

## Use Cases

Chat is designed to support real interactions around lending and borrowing on Offerbook. A few common patterns:

<AccordionGroup>
  <Accordion title="Negotiate terms before sending a counter offer">
    Before formally proposing different terms on an open offer, you can DM the offer creator to discuss what you have in mind (LTV, APR, duration). If you reach an agreement, send a counter offer with the negotiated terms, or wait for them to update their offer.

    This reduces back-and-forth on counter offers that would not be accepted anyway.
  </Accordion>

  <Accordion title="Coordinate around an active loan">
    During the life of a loan, the borrower and lender may need to communicate: confirming early repayment, asking about collateral specifics, or coordinating a renewal. DMs are a direct way to do this on-platform, without leaving the app.
  </Accordion>

  <Accordion title="Promote your offer in the General channel">
    Lenders and borrowers can post in the General channel to bring attention to a specific offer (for example, "Looking for a 7-day lender on \$X collateral at Y% APR"). Sharing the offer card in the message makes it actionable in one click.
  </Accordion>

  <Accordion title="Get help with niche collateral">
    For unusual or hard-to-price collateral (illiquid tokens, RWAs, NFTs from smaller collections), the General channel is a place to ask lenders what terms they would consider before publishing the offer.
  </Accordion>
</AccordionGroup>

***
