# Add/Remove Whitelist

Whitelist on PinkSale is list of administrator-approved addresses whereby, only these addresses can participate in the presale. The whitelist function can be both enabled/disabled during creating presales on Solana, prior to the beginning of the presale and during an ongoing presale.

### Overview <a href="#overview" id="overview"></a>

* Enable the whitelist during presale creation or afterwards via the Owner Zone.
* Disable the whitelist at any time (even mid-presale) to open participation to the public.
* Add approved wallet addresses individually or in batches via the "Update Whitelist Users" function.
* Remove previously added addresses using the same "Update Whitelist Users" function.
* All changes related to enabling/disabling the whitelist or updating the user list typically require a transaction confirmation in your wallet.

### Steps <a href="#steps" id="steps"></a>

Here’s how to manage your Solana presale whitelist on Pinksale:

#### Enable Whitelist <a href="#enable-whitelist" id="enable-whitelist"></a>

You can activate the whitelist restriction in two ways:

1. **During Creation:**

   * While configuring your presale (likely in the "DeFi Launchpad Info" step), find the **Whitelist** section.
   * Select the **Enable** option.

   ![Enable Whitelist - Option During Presale Creation](/files/SX3M4EmwSXlx76V03CSI)

   * After successful creation, the pool should indicate "Whitelist Only" as the Pool Type.
2. **After Creation:**

   * If you didn't enable it initially, go to your presale pool page.
   * In the **Owner Zone**, click the button labeled **Whitelist Only**
   * Your Solana wallet will prompt you to confirm the transaction.

   ![Enable Whitelist - Button in Owner Zone After Creation](/files/OC7bdEIdkhWzWzVvRqiV)

#### Disable Whitelist <a href="#disable-whitelist" id="disable-whitelist"></a>

To remove the whitelist restriction and allow public participation:

1. Go to your presale pool page.
2. In the **Owner Zone** or near the "Pool Type" display, click the option labeled **Public**. This likely toggles the state from "Whitelist Only" to "Public".
3. Your Solana wallet will prompt you to confirm the transaction.

   ![Disable Whitelist - Setting Pool Type to Public](/files/zS73ueZLR6oIj147htvX)

> **Note:** You can disable the whitelist even while the presale is actively running. Doing so immediately makes it a public sale.

#### How to Add Whitelists <a href="#how-to-add-whitelists" id="how-to-add-whitelists"></a>

Add approved Solana wallet addresses at any time (before or during the presale):

1. Navigate to the **Owner Zone** on your presale pool page.
2. Click the **Update Whitelist Users** button.

   ![Add Whitelist - Update Whitelist Users Button](/files/iwqrkIIMXD5F15Km0Pe3)
3. A pop-up or interface section will appear for managing addresses.
4. Paste the Solana addresses you want to add into the provided text area.
   * **Format:** One address per line. **Do not use commas** or other separators.
   * **Example Addresses:**

```
        EM9j4D1irvYQ4gmo11urWH7QP2wWQuZVWCz8odzeXCed
        J1o3EHVsa39QmQDxovEdueMyXiZ6p3tNCJBMv9bubtNj
        5MWTgABCgz8WfU2N4JSMQ5J7Z9GGgpLkEJR4HMdJtH7T
        BDNNbrKcNRXscKB8ptGsyHEDLYTJYRYSDJVLFwokq7mT
```

5. Click the **Update users** button.
6. Confirm the transaction in your Solana wallet.

#### How to Remove Whitelists <a href="#how-to-remove-whitelists" id="how-to-remove-whitelists"></a>

Remove previously added wallet addresses:

1. Navigate to the **Owner Zone** on your presale pool page.
2. Click the **Update Whitelist Users** button (same button as adding).

   ![Remove Whitelist - Update Whitelist Users Button](/files/EgOT5jmIDkzwZ96XcxHB)
3. In the pop-up or interface showing the list of currently whitelisted addresses, locate the address(es) you want to remove.
4. **Delete** the entire line(s) containing the unwanted address(es) from the text area.

![](/files/hoVwMxkAASwCVjonvaGI)

5. Ensure the remaining addresses still follow the one-address-per-line format without commas.
6. Click the **Update users** button.
7. Confirm the transaction in your Solana wallet.

### Q\&A <a href="#qa" id="qa"></a>

* **Q1:** Can I enable the whitelist after my presale has already started?
  * **A:** Yes, the document indicates you can enable the whitelist via the Owner Zone even during an ongoing presale.
* **Q2:** What happens if I disable the whitelist while the presale is live?
  * **A:** The presale immediately becomes public, allowing any wallet to contribute (subject to contribution limits and the hard cap), not just the previously whitelisted addresses.
* **Q3:** What is the correct format for adding multiple addresses at once?
  * **A:** List each Solana wallet address on its own separate line in the text box. Do not use commas or any other separators between them.
* **Q4:** How do I remove specific addresses without affecting others?
  * **A:** Access the whitelist management interface via "Update Whitelist Users", find the addresses you want to remove in the list, delete those specific lines entirely, and then click "Update users" to save the changes.
* **Q5:** Is there a limit to how many addresses I can add/update in one transaction?
  * **A:** While the previous EVM guide mentioned an 800-address limit per transaction, this Solana guide doesn't specify one. However, large updates might consume more gas or face transaction size limits. It might be prudent to update very large lists in reasonable batches if you encounter issues.

### Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

* **Q:** I can't find the "Whitelist Only" or "Public" toggle buttons.
  * **A:** Ensure you are connected to the presale page with the owner wallet and looking in the correct administrative section (Owner Zone or near the Pool Type display).
* **Q:** The "Update Whitelist Users" transaction failed.
  * **A:** Check for sufficient SOL in your wallet for transaction fees. Verify the addresses you added/removed are valid Solana addresses and correctly formatted (one per line, no commas). If adding a very large number of addresses, try a smaller batch. Check Solana network status.
* **Q:** I clicked "Public" to disable the whitelist, but it still seems restricted.
  * **A:** Ensure the transaction to change the status to "Public" was successfully confirmed in your wallet and on the blockchain. There might be a slight delay for the interface to update; try refreshing the page.
* **Q:** I added an address, but the user still can't contribute.
  * **A:** Confirm the transaction adding the address was successful. Double-check you added the *exact* correct Solana address for the user. Ensure the whitelist feature itself is currently enabled for the pool.


---

# 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://docs.pinksale.finance/solana/add-remove-whitelist.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.
