> For the complete documentation index, see [llms.txt](https://banana-gun.gitbook.io/banana-gun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://banana-gun.gitbook.io/banana-gun/get-started/wallet-setup.md).

# Wallet Setup

How to setup a wallet.

Banana Gun lets you create, import, and manage both **SOL** and **EVM** wallets from the same bot.&#x20;

## You can set up wallets in two ways:

* Create a wallet in Banana Gun.
* Import an existing wallet using a private key.

<figure><img src="https://2721983577-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbJwF8I0xl6xfT3mvMxHd%2Fuploads%2FdmcVxAt0Mzz4Am77dyW6%2Fimage.png?alt=media&amp;token=270d5dca-d19e-435f-b247-64274d86bf3e" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** When you create or import an EVM wallet, the same wallet address is used on all EVM chains supported by Banana Gun (ETH, BASE, BNB, MEGAETH, ARC, STABLE, and ROBINHOOD).
{% endhint %}

### How to Create a New Wallet

<table data-header-hidden><thead><tr><th valign="top"></th><th align="center"></th></tr></thead><tbody><tr><td valign="top"><ol><li>Select either <strong>EVM</strong> or <strong>SOL</strong>.</li><li>Click <strong>Wallet Setup</strong>.</li><li>Click <strong>Create Wallet</strong>.</li><li>Enter a name for your new wallet.</li><li>Save your private key in a secure location. It will only be shown once!</li></ol><p></p><p></p><p></p><p></p><p></p></td><td align="center"><img src="https://2721983577-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbJwF8I0xl6xfT3mvMxHd%2Fuploads%2FZ2o3YznmfvBvIpmKm9wo%2FSol%20wallet%20create.gif?alt=media&amp;token=47380cf4-aa3a-44db-a7b8-101136f8b8c0" alt="" data-size="original"></td></tr></tbody></table>

{% hint style="danger" %}
**Important:** Sharing your private key is the same as handing over your wallet and all your funds. Never share it with anyone!
{% endhint %}

### How to Import an Existing Wallet

<table data-header-hidden><thead><tr><th valign="top"></th><th align="center"></th></tr></thead><tbody><tr><td valign="top"><ol><li>Select either <strong>EVM</strong> or <strong>SOL</strong>.</li><li>Click <strong>Wallet Setup</strong>.</li><li>Click <strong>Import Wallet</strong>.</li><li>Enter a name for your imported wallet.</li><li>Enter the private key for the wallet you want to import (e.g., Phantom, MetaMask).</li></ol><ul><li>Existing positions from the imported wallet will appear in the <strong>Positions</strong> panel.</li></ul></td><td align="center"><img src="https://2721983577-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbJwF8I0xl6xfT3mvMxHd%2Fuploads%2Fy6wYIcUE0NIrl6r8dmZF%2Fwallet%20creation.gif?alt=media&amp;token=856fcfaf-0bc5-4651-94bf-f84cd43a36cc" alt="" data-size="original"></td></tr></tbody></table>

### How to Export Private Keys from Phantom

1. Open your Phantom wallet.
2. Click the account icon button in the top-left corner of the wallet menu.

<figure><img src="https://2721983577-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbJwF8I0xl6xfT3mvMxHd%2Fuploads%2Fa03pjFKRgelA9FFxN1bu%2Fimage.png?alt=media&amp;token=88809175-42a6-4f35-8801-c68b23cee131" alt="" width="340"><figcaption></figcaption></figure>

1. Scroll to the bottom and click the pencil icon, **Manage Accounts**.

<figure><img src="https://content.gitbook.com/content/bJwF8I0xl6xfT3mvMxHd/blobs/zLojCbDPOMuyZuZsGq6c/image.png" alt=""><figcaption></figcaption></figure>

4. Select the account you wish to export the private key from.
5. Click **Show Private Key**.

<figure><img src="https://content.gitbook.com/content/bJwF8I0xl6xfT3mvMxHd/blobs/x5OnDFg2ZBX6kslzHGVq/image.png" alt=""><figcaption></figcaption></figure>

6. Enter your wallet password to continue.
7. Copy your private key and follow the instructions in [How to Import an Existing Wallet](#sol-wallet-info).
