> For the complete documentation index, see [llms.txt](https://docs.libertyswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.libertyswap.finance/how-to/protect-your-trading-privacy-with-libertyswap/use-private-swap.md).

# Use Private Swap

This page provides guidance on using LibertySwap’s Private Swap effectively while maintaining your privacy and protecting your trades.

## First Thing First: Prepare a Railgun supported Wallet

To use Private Mode, you need a wallet that supports RAILGUN and 0zk addresses. RAILGUN is a third-party protocol; review its documentation and audits before use.&#x20;

{% hint style="info" %}
Check out a list of RAILGUN powered wallets [here](https://www.railgun.org/wallets.html).
{% endhint %}

Shielded balances are chain-specific. A shielded balance on Ethereum is distinct from shielded balances on PulseChain or other networks.

### RAILGUN → PulseChain

#### Step 1: Initiate an Intent to Receive WETH (PulseChain) in Liberty Swap

Within the Liberty Swap interface:

1. Connect your wallet
2. Select **Private Mode**.
3. Choose the supported private route (ETH → WETH).
4. Specify the amount to swap (subject to current private route limits).
5. Fill in the Destination Address.
6. Click \[**Swap**] then \[**Next**].
7. Copy LibertySwap’s given Railgun ZK address.

#### Step 2: Transfer ETH to the Liberty Swap Routing Address

&#x20;Within the RAILGUN-powered wallet:

1. Ensure you are operating on the **ZK (shielded) side**.
2. Initiate a transfer from your ZK address to Liberty Swap’s ZK address by pasting the Liberty Swap’s given ZK address into the Recipient box.
3. Enter the same amount as filled in the Liberty Swap interface in the previous step.

#### Step 3: Include the Private Memo

1. Copy the memo provided by LibertySwap.
2. Paste it into the **optional private memo field** in your RAILGUN wallet.
3. Generate the ZK proof.
4. Submit the transaction in your wallet.
5. Then confirm the transaction on the Liberty Swap side.

This memo enables Liberty Swap’s relay to correctly attribute and settle the incoming shielded transfer.

#### Step 4: DONE

The relayer executes the settlement and delivers WETH on PulseChain to the destination address. Delivery usually takes a few minutes but is not guaranteed.

{% embed url="<https://x.com/LibertySwapFi/status/1998089117532573756>" %}

### PulseChain → RAILGUN

#### Step 1: Initiate an Intent to Receive ETH (Ethereum) in RAILGUN

Within the Liberty Swap interface:

1. Connect your wallet
2. Select **Private Mode**.
3. Choose the supported private route (WETH → ETH in this example; USDC routes are also supported).
4. Specify the amount to swap (subject to current private route limits).
5. Fill in the Railgun Private 0zk Address.
6. Click \[**Swap**] then \[**Confirm**].

#### Step 2: Sign the Intent

Sign the intent as shown in your connected wallet.

#### Step 3: DONE

The relayer executes the settlement and delivers ETH (RAILGUN) to the recipient. Delivery usually takes a few minutes but is not guaranteed.

{% embed url="<https://x.com/LibertySwapFi/status/1998089231407759485>" %}
