> For the complete documentation index, see [llms.txt](https://docs.hipersnipe.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hipersnipe.com/features/wallet.md).

# Wallet management

Access via `/wallet` or **🏦 Wallets** from the main menu.

## Import wallet

Paste your Solana private key (base58). The key is encrypted and stored in `users.db`. Up to **3 wallets** per user (`MAX_USER_WALLETS` in `db/users_dao.py`).

## Generate wallet

Creates a new keypair. Fund it with SOL before trading. The bot shows the public address and optional QR code.

## Multi-wallet grid (W1 / W2 / W3)

Power users can maintain up to three wallets:

* Switch default wallet for trades
* Rename wallets for clarity
* Promo vault wallet (when configured) shown separately
* **Internal transfer** — move SOL between your own wallets without leaving the bot

## View balance

* SOL balance from RPC
* Refresh button for live update
* Copy public address (never private key)

## Withdraw SOL

Send SOL to a pre-configured withdraw address. Confirm amount in the UI flow.

## Burn empty token accounts (Dust-to-Gold)

Reclaim rent from empty SPL token accounts. Optional service fee may apply (`DUST_TO_GOLD_FEE_PCT`).

## Deposit awareness

`deposit_listener.py` watches for incoming SOL and updates deposit tracking so the bot can surface funding status.

## Security reminders

* Use a dedicated trading wallet
* Never share your private key in any chat
* Export wallet only through official bot flows (logged for audit)

## Related commands

| Command   | Action                                      |
| --------- | ------------------------------------------- |
| `/wallet` | Open wallet menu                            |
| `/assets` | Portfolio view with per-token trade buttons |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.hipersnipe.com/features/wallet.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
