# Lighter

Connecting to the Lighter Exchange

### Prerequisites&#xD;

Before connecting, make sure you have:

* An installed crypto wallet (Trust Wallet, OKX Wallet, MetaMask, etc.);
* Funds in the wallet for transactions.

{% stepper %}
{% step %}

### Step 1: Connecting your wallet to the exchange

On the Lighter trading platform's main page, click the **"Connect Wallet"** button in the upper right corner of the screen.

<figure><img src="/files/t7oxt2pFjQ5xmIF3kO0I" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Step 2. Selecting a wallet

In the window that opens, select your crypto wallet from the list of available ones:

* **Trust** (recommended)
* **Coinbase** (recommended)
* **OKX Wallet** (recommended)
* **MetaMask** (recommended)
* **Binance Wallet** (recommended)
* **Rabby** (recommended)

If your wallet isn't listed, click **"View all wallets"** to see all available options (over 600 wallets).

{% endstep %}

{% step %}

### Step 3: Switch to API Key Management

In the top menu, click **"Tools".** Select **"API Keys"** from the drop-down menu.

{% endstep %}

{% step %}

### Step 4. Generating an API key

On the API Key Management page, click the **"Generate API Key"** button.

> **⚠️ IMPORTANT:** API keys are required for programmatic access to your account and trading operations.

<figure><img src="/files/DglBNXcPHmh29GtdmKQL" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Step 5: Configuring API Key Parameters

In the window that opens, specify the **API Key Index**—the numeric index for your key:

* Indices **0 (Desktop), 1, 2, and 3 (Mobile)** are reserved by the system and cannot be used;
* Indices **4-254** are available for use;
* You can create up to 251 keys per account;

If necessary, check the **"Maker Only"** box to limit the key to maker orders only.

<figure><img src="/files/MmoAQoEXq4KUTBuFCz6o" alt=""><figcaption></figcaption></figure>

Click the **"Generate"** button.
{% endstep %}

{% step %}

### Step 6. Confirm key generation

In the window that appears, select **"Generate Keys".** If you need to change the public key, select **"Change public key".** Confirm the transaction in your wallet:

* Check the network (e.g., **Arbitrum One**);
* Make sure the correct wallet is selected;
* Click the **"Confirm"** button.

> **⚠️ IMPORTANT:** To confirm the transaction, you will need to sign the transaction in your wallet.

<figure><img src="/files/3vrnFperICq662xDmRXW" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Step 7. Saving generated keys

After successful generation, you will see a window with your API keys:

* **API Key Index** - your key index;
* **Public Key** - your public key;
* **Private Key** - your private key.

> <mark style="color:$danger;">**⚠️CRITICALLY IMPORTANT:**</mark>
>
> * <mark style="color:red;">**The Private Key is displayed ONLY ONCE!;**</mark>
> * Be sure to copy and save your private key in a safe place;
> * Use the copy icons to the right of each field;
> * After closing this window, your private key will no longer be accessible;
> * If you lose your Private Key, you will have to generate a new API key.

Copy all three values: **API Key Index, Public Key, and Private Key.**

<figure><img src="/files/RxHr2FbLJ580HMhixUWe" alt=""><figcaption></figcaption></figure>

Click the **"X"** button to close the window.
{% endstep %}

{% step %}

### Step 8. Setting up a connection in the terminal

Launch the Tiger.com terminal and select **File → Connections → Configure** from the main menu. In the window that opens, click **"Create a new connection"** and select **Lighter** from the list. Fill in the appropriate fields:

* **View-only mode** (optional) - enable the toggle if you only want to view data without trading capabilities;
* **Auth Type** - select "API Private Key" from the drop-down list;
* **API Private Key** - paste your Private Key copied in step 7;
* **Wallet Address** - enter your wallet address;
* **API Key Index** - enter the key index you specified during generation.
  {% endstep %}

{% step %}

### Step 9. Completing the connection

Click the **"Connect to Lighter"** button. Wait for confirmation of a successful connection.
{% endstep %}

{% step %}

### Additional information: Making a deposit

### Step A. Select a deposit method&#xD;

On the trading panel, click the balance or deposit button. In the **"Deposit USDC Perps"** window, select the destination token, **USDC**. Select a deposit method:

* **Use Crypto** - deposit cryptocurrency;
* **Use Cash** - deposit fiat;
* **Transfer Crypto** - transfer cryptocurrency from another wallet;
* **Connect Exchange** - connect to another exchange.

<figure><img src="/files/6hp4nW92gdY1fSLK4hzw" alt=""><figcaption></figcaption></figure>

### Step B. Transfer Cryptocurrency&#xD;

Select the **"Transfer Crypto"** option. In the **Tokens** section, select **USDC**. In the Chains section, select the blockchain to transfer to:

* **Arbitrum** - min. $3
* **Ethereum** - min. $10
* **Solana** - min. $10
* **BSC** - min. $3
* **Base** - min. $3
* **etc.**

> <mark style="color:$danger;">**⚠️ IMPORTANT:**</mark> Please note the minimum deposit amount for the selected network.

<figure><img src="/files/BnqLHN2QpYjy8KyPg5xu" alt=""><figcaption></figcaption></figure>

Scan the QR code or copy the wallet address for the transfer. Transfer funds from your wallet to the specified address.
{% 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://support.tiger.com/english/settings/connections/crypto-exchanges/lighter.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.
