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

# Account and wallet

> How you log in, who owns your wallet, and how you deposit, withdraw and export your key.

LP-Mimic uses Privy for your login and for your wallet. You log in with an email code. Your wallet is a Solana wallet that you own.

## Log in

1. Type your address in **Email**.
2. If a security check shows, complete it. The check comes from Cloudflare.
3. Press **Send code**.
4. Type the code from the email in **Code**, then press **Log in**.

Some addresses are refused before a code is sent:

| You see | Why |
| - | - |
| Remove the part after "+" from your address. | The address has a `+` tag. |
| Use a permanent email address, not a disposable one. | The address is from a throwaway mail service. |

If you see "The security check did not load. Turn off ad blockers for this site, then reload the page.", do what it says.

### Approval

Each new login waits for our approval. Until then, the login screen says "Your login is waiting for approval." When we approve it, the login screen shows **Set up your wallet**. Follow the [Quick start](https://docs.lpmimic.com/quickstart.md) from there.

### Sessions

A login session ends 7 days after you log in. It also ends after one day without use. Then the console says "This login has ended. Log in again."

## Your wallet

The wallet page creates the wallet in your browser, through Privy. You own the wallet. Only you can export its private key.

LP-Mimic trades from your wallet with its own **trading permission**. The trading permission works only within fixed rules. Privy holds these rules and refuses any transaction outside them.

```mermaid theme={null}
flowchart TD
    You["You<br/>own the wallet"]
    Bot["LP-Mimic<br/>trading permission"]
    Rules["Fixed rules at Privy"]
    Wallet["Your Solana wallet"]
    Key["Private key<br/>shown only in Privy's screen"]
    Out["An address you hold"]
    You --> Wallet
    Bot --> Rules
    Rules -->|"allowed transactions only"| Wallet
    Wallet -->|"export, by you"| Key
    Wallet -->|"withdraw, signed by you"| Out
```

### What the trading permission can do

* Open, change and close positions on Meteora DLMM.
* Swap tokens through Jupiter, for example to buy a pool's token for a copy, or to sell it after a close.
* Pay the network fees.
* Move SOL to your own wallet or to your wallet's wrapped SOL account.
* Make small SOL payments, capped at 0.001 SOL each, to a service that delivers transactions to Solana.
* Create, empty and close token accounts that belong to your wallet. The rent from a closed token account goes back to your wallet.

Full list: [Security](https://docs.lpmimic.com/security.md#what-the-rules-allow).

### What the trading permission cannot do

* It cannot sign a plain token transfer to another address.
* It cannot sign a withdrawal. You sign every withdrawal yourself.
* It cannot export your private key. LP-Mimic never sees the key.

The rules at Privy check which programs a transaction uses. They cannot read every detail inside a Jupiter swap. Our server checks each swap before it signs: the swap must pay into your own accounts, spend the planned amount, stay within the slippage limit and take no extra platform fee. Read [Security](https://docs.lpmimic.com/security.md).

### Only you and LP-Mimic

During setup, the wallet page removes any other access from the wallet. After setup, only you and LP-Mimic can use it.

### More than one wallet

One login can own up to 5 wallets. Each wallet has its own copies and settings. To add one, open the wallet menu and press **Add wallet**. To switch, pick the wallet under **Your wallets** in the same menu.

![The wallet menu: Your wallets, the free SOL of the wallet, its tokens, the Deposit button with the Withdraw, Clean up wallet and Export private key buttons beside it, and the support email, Discord and Log out at the bottom.](https://mintcdn.com/lp-mimic/yaeZM2WG3CFYdzJ3/images/wallet-menu.png?fit=max\&auto=format\&n=yaeZM2WG3CFYdzJ3\&q=85\&s=77e1284c82c8e0a417096577a8b7e0cd)

## Deposit

1. Open the wallet menu. It is the button in the console header that shows your free SOL.
2. Press **Deposit**.
3. Copy the **Wallet address**, or scan the QR code.
4. Send SOL on Solana to that address. After you paste the address, check its first and last groups.

![The Deposit dialog: a QR code of the wallet address, the address in groups of four characters with a Copy button, Free SOL, Put in so far, and a note to send SOL only.](https://mintcdn.com/lp-mimic/yaeZM2WG3CFYdzJ3/images/deposit-dialog.png?fit=max\&auto=format\&n=yaeZM2WG3CFYdzJ3\&q=85\&s=6bfa61968d8784e39603b6463162d7d4)

Example only. Do not send SOL to this address.

The dialog also shows:

* **Free SOL**: the SOL the wallet holds outside positions. A deposit shows here after the next wallet check.
* **Put in so far**: your deposits less your withdrawals.

> [!WARNING]
>
> Send SOL only. A token sent on its own is not counted as a deposit, so the profit figures count it as profit.

## Withdraw

You can withdraw **free SOL** only. Free SOL is the SOL the wallet holds outside positions, less the network fee. SOL inside open positions cannot be withdrawn. Tokens and wrapped SOL do not count. Your **Wallet reserve** also stays in the wallet while Copying is on for any wallet, or while a position, a kept token or a transaction is open. To withdraw everything, turn off **Copying** for every wallet, then wait for open copies to close.

![The Withdraw dialog: Withdrawable with a Max button, Minimum withdrawal, Network fee, the Amount and To address fields, and the Withdraw button.](https://mintcdn.com/lp-mimic/yaeZM2WG3CFYdzJ3/images/withdraw-dialog.png?fit=max\&auto=format\&n=yaeZM2WG3CFYdzJ3\&q=85\&s=8d21f27f55ab5f97c4970cddacbbc8af)

1. Open the wallet menu and press **Withdraw** (the arrow-up button).
2. Check **Withdrawable**. Press **Max** to take all of it, or type an **Amount**.
3. Type the **To address**. This must be a Solana address that you hold.
4. Press **Withdraw**, then **Continue on the wallet page**.
5. On the wallet page, log in with a new email code.
6. Check the amount and the address. Press **Confirm** only if both are correct.
7. When the page says "The transaction is ready. Approve it to send the SOL.", press **Approve**.
8. Wait for "Done. The SOL is sent." The page links to the transaction on Solscan.

Limits:

* The **Minimum withdrawal** is 0.01 SOL.
* The **Network fee** is at most 0.000025 SOL. The wallet pays it on top of the amount.
* You can have one open withdrawal at a time.
* You cannot send to your LP-Mimic wallet itself, or to a program address.
* Withdraw everything, or leave at least 0.00089088 SOL in the wallet. A smaller remainder is refused.
* Each step on the wallet page has 5 minutes. The page shows the time left. After that, the withdrawal expires and you ask again.

Before you can approve, the wallet page checks that the transaction matches your withdrawal. If it does not match, the page does not approve it.

> [!WARNING]
>
> You can cancel a withdrawal until you press **Approve**. After that, the transaction is on its way. A Solana transfer cannot be undone. Check the first and last characters of the address before you approve.

If a copy uses the SOL before your withdrawal is sent, the withdrawal is refused. Ask again for a smaller amount.

## Export your private key

You can export the private key of your wallet. The key shows only in Privy's own screen. The wallet page and LP-Mimic never see it.

1. Open the wallet menu and press **Export private key** (the key button). You can also open **Settings** → **General** and press **Export** next to **Private key**.
2. On the wallet page, log in with a new email code.
3. Read the warning, then press **Export key**. Privy's screen shows the key.

> [!WARNING]
>
> A copy of this key can move the funds outside LP-Mimic. Keep it secret: anyone who has it can move the funds. LP-Mimic keeps its trading permission after the export, so it still trades.

## If the trading permission is removed

If LP-Mimic's trading permission is removed from your wallet, LP-Mimic cannot trade from it any more:

* All trading on that account is paused.
* LP-Mimic cannot close your open positions. To close them, [export your private key](https://docs.lpmimic.com/account-and-wallet.md#export-your-private-key), import it into a Solana wallet app, and close the positions on Meteora.
* The wallet menu shows "No trading permission" for that wallet.

To get trading back, email support. To stop copying, turn off the **Copying** switch. Read [Managing copies](https://docs.lpmimic.com/copy-trading/managing-copies.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.