> For the complete documentation index, see [llms.txt](https://docs.slerf.tools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.slerf.tools/en/multisender/multi-collector-solana.md).

# Tutorial on Batch Collection (Many-to-One) for Solana

{% hint style="success" %}
Batch Collection on Solana | Multi-Account Fund Recovery | Efficient Fund Management

Conveniently and quickly consolidate tokens dispersed across multiple accounts into a single main account. This improves the efficiency of fund management while reducing transaction costs and time.
{% endhint %}

### How to Use the Solana Batch Collection (Many-to-One) Tool

1. Connect your wallet.
2. Enter the recipient address for collecting the tokens.
3. Select the token you want to batch collect.
4. Import the addresses that need to be collected (you can input manually or upload a file).
5. Set the amount of tokens to be collected.
6. Confirm the recipient address for collecting the tokens.
7. Verify the batch collection details.
8. Confirm and start the collection, then send the transaction to the blockchain and wait for the batch collection to complete.

### Preparation:

1. A computer or a smartphone
2. Solana Wallet (Phantom Wallet installation tutorial)
3. The recipient address for collecting the tokens
4. Private keys of the wallet addresses that need to be collected
5. Some SOL in the addresses to be collected for paying transfer GAS fees

#### Steps:

1. **Connect your wallet.**

Batch collection: <https://slerf.tools/en-us/multi-collector/solana>

Enter the SlerfTools batch collection page, and you can switch the language in the top right corner.

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

2. **Enter the recipient address for collecting the tokens.**

<mark style="background-color:orange;">Blockchain actions are irreversible, so be sure to double-check carefully.</mark>

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

3. **Select or search for the token to be batch collected using the token contract.**

<figure><img src="/files/9q8D0qRvg9l4Bd2PL8r5" alt=""><figcaption></figcaption></figure>

3. Import the wallet addresses that need to be collected, and select the wallet addresses for collection:

   * Manual Input: Copy and paste private keys from a spreadsheet or other source.
   * Upload File: Supported file types are Excel, CSV, TXT, and JSON. You can [download a template file](https://slerf.tools/demo/xlsx-demo.xlsx).

   <figure><img src="/files/3od3e7YRyOFNErn2etJ3" alt=""><figcaption></figcaption></figure>

   <figure><img src="/files/VMgwm7TsUAfo3F7pghOo" alt=""><figcaption></figcaption></figure>
4. **Set the amount of tokens to be collected:**

   * Entire balance
   * Retain a fixed balance
   * Custom amount

   <figure><img src="/files/ycCYruE8zykcsi8ZMpcr" alt=""><figcaption></figcaption></figure>
5. Confirm the recipient address for collecting the tokens once again.&#x20;

<mark style="background-color:orange;">Blockchain actions are irreversible, so be sure to double-check carefully.</mark>

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

7. **Enable advanced options and activate Jito tips to speed up the collection transaction on the blockchain (optional).**

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

7. **Verify the batch collection details.**

<figure><img src="/files/1g3iUBP67ZSrLNjYaj91" alt=""><figcaption></figcaption></figure>

7. **Confirm and start the collection, send the transaction to the blockchain, and wait for the batch collection to complete.**

{% hint style="danger" %} <mark style="color:red;">Safety Reminder:</mark>

1. **Protect Private Keys**: SlerfTools only performs calculations locally and is used to sign transactions. It never collects or uploads your private keys or sensitive information.
2. **Small Wallet Recommendation**: It is recommended to use wallets with small amounts for operations to avoid storing large funds.
3. **Safe Private Key Copying**: When copying private keys, scramble the order and copy in segments to prevent clipboard data from being monitored by malicious software.
4. **Official Will Not Request Private Keys**: SlerfTools will never ask you to provide private key information. Stay vigilant.
   {% endhint %}


---

# 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.slerf.tools/en/multisender/multi-collector-solana.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.
