---
description: You can Swap $RICH for $ICP and visa versa without leaving the RE environment.
---

# Swap $RICH🔁$ICP In-App

{% hint style="warning" %}
You'll need a a bit of ICP in your **RE Wallet** for gas to use Swap.

**Go here ->** [<mark style="color:red;">**How to Transfer $ICP from your ICP Wallet to your RE Wallet**</mark>](transfer-usdicp-icp-wallet-re-wallet)
{% endhint %}

## Preswap & Swap Commands

The <mark style="color:red;">**/preswap**</mark> command allows you to view the outcomes before performing a swap.&#x20;

The Preswap function pulls up the current ICP/RICH exchange rate for your review before you swap.

Let’s take a look at the <mark style="color:red;">**/preswap**</mark> and <mark style="color:red;">**/swap**</mark> commands.

<figure><img src="https://miro.medium.com/v2/resize:fit:514/0*3hxddzs-GIvI8VIj" alt="" height="262" width="514"><figcaption></figcaption></figure>

## Swap $ICP -> $RICH In-app <a href="#id-8e81" id="id-8e81"></a>

**Preswap Command:**

Type <mark style="color:red;">**/preswap**</mark>

<figure><img src="https://miro.medium.com/v2/resize:fit:528/1*g9LLGVMGo08Vp2yYU22QUg.png" alt="" height="221" width="528"><figcaption></figcaption></figure>

I want to swap 0.5 ICP for some $RICH.

_How many $RICH can I get for 0.5 ICP?_

Let’s check.

<figure><img src="https://miro.medium.com/v2/resize:fit:274/0*rVBa12khDpz5Yt96" alt="" height="57" width="274"><figcaption></figcaption></figure>

Here are the outcomes returned:

<figure><img src="https://miro.medium.com/v2/resize:fit:529/0*1Lpxx9R7VshxtBKi" alt="" height="537" width="529"><figcaption></figcaption></figure>

Ok, I’ll take **49072.81** $RICH for **0.05** $ICP.

Let's swap.

<figure><img src="https://miro.medium.com/v2/resize:fit:244/0*iYX1ejCkzS7F92Ec" alt="" height="53" width="244"><figcaption></figcaption></figure>

Immediately I receive confirmation that my $ICP has been swapped for $RICH.

<figure><img src="https://miro.medium.com/v2/resize:fit:379/0*BgpTRzq1TgY86stp" alt="" height="70" width="379"><figcaption></figcaption></figure>

## Swap $RICH->$ICP In-app <a href="#id-1ba5" id="id-1ba5"></a>

If I want to swap $RICH for $ICP, it is very similar, but with no need to add “ICP” to the swap commands.

I want to swap 1000 $RICH for ICP.

_How much ICP can I get?_

Let’s check.

<figure><img src="https://miro.medium.com/v2/resize:fit:541/0*G27X8mTXxIx_8qdJ" alt="" height="600" width="541"><figcaption></figcaption></figure>

Looks fine, let’s swap!

<figure><img src="https://miro.medium.com/v2/resize:fit:351/0*VzxggqBMjSHxx9dS" alt="" height="141" width="351"><figcaption></figcaption></figure>

{% hint style="info" %}
**REMEMBER:** You can always check your new wallet balance by typing command <mark style="color:red;">**/wallet**</mark>
{% endhint %}
