# Shield/Unshield assets between BNBChain and Railgun

#### Before you start

You will need:

1. An EVM wallet (Metamask, Rabby, Coinbase, etc.)
2. A Railgun private wallet (`0zk...`)

## Shield USDC (BNBChain ⇒ Railgun)

### Step 1: Connect Wallet

1. Open [Liberty Swap Finance](https://libertyswap.finance/)
2. Click **Connect Wallet**
3. Select your wallet
4. Make sure BNBChain is selected in your wallet

### Step 2: Select Shield Mode

On Liberty Swap Finance, choose **Shield Mode**

* This means you are depositing USDC into Ralgun's zero-knowledge privacy pool

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

### Step 3: Select Source

In the **You shield** field:

1. Select **USDC BNBChain**
2. Input the amount of USDC you wish to shield

### Step 4: Select Destination

In the **You receive** field:

1. Select **USDC RAILGUN (BNBChain)**
2. Check the amount of USDC you actually will receive

Then, input your **Railgun Private Address** (`0zk...`)

#### ⚠️ This is critical:

> This is NOT a normal EVM address (`0x...`)
>
> This is your zero-knowledge private wallet
>
> Only you can decrypt and access this balance

**If you enter the wrong 0zk address, your funds are permanently lost.**

### Step 5: Complete the transaction

1. **Double check** all input information, especially your Railgun Private Address
2. **Complete** the transaction

## Unshield USDC (Railgun ⇒ BNBChain)

### Step 1: Connect Wallet

1. Open [Liberty Swap Finance](https://libertyswap.finance/)
2. Click **Connect Wallet**
3. Select your wallet

### Step 2: Select Unshield Mode

On Liberty Swap Finance, choose **Shield on Menu bar**, then select **Unshield**

* This means you are withdrawing USDC from Railgun

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

### Step 3: Select Source

In the **You unshield** field:

1. Select **USDC RAILGUN (BNBChain)**
2. Input the amount of USDC you wish to unshield

### Step 4: Select Destination

In the **You receive** field:

1. Select **USDC BNBChain**
2. Check the amount of USDC you actually will receive

Then, input your **EVM Wallet address that you wish to receive funds**

### Step 5: Complete the transaction

1. **Double check** all input information, especially **the wallet address to receive funds**
2. **Complete** the transaction


---

# 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.libertyswap.finance/how-to/protect-your-trading-privacy-with-libertyswap/shield-unshield-assets-between-bnbchain-and-railgun.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.
