> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rails.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Deposit & Withdraw

> Guide on how to deposit & withdraw funds on Sandbox for testing

To begin trading on the Rails platform, you must first deposit funds into your account. Sandbox runs on the [Stellar](https://stellar.expert/explorer/testnet/) testnet, and deposits and withdrawals are made in **USDT** ([`USDT-GBKQC2DYQSYAYSZGPMGK226QDEYU3HNTOBKQW3V2S2T7US5LJIN6TKLW`](https://stellar.expert/explorer/testnet/asset/USDT-GBKQC2DYQSYAYSZGPMGK226QDEYU3HNTOBKQW3V2S2T7US5LJIN6TKLW)) through the [Freighter Wallet](https://www.freighter.app/) from Stellar.

<Note>
  Please contact [institutions@rails.xyz](mailto:institutions@rails.xyz) and provide your wallet address to receive test USDT funds for Sandbox deposits.
</Note>

## Connect Your Wallet

First, click the **Connect Wallet** button in the top right corner of the Rails UI.

<img src="https://mintcdn.com/railsxyz/oR5LhwSoJqm4JROA/latest/screenshot/deposit-withdraw/connectButton.png?fit=max&auto=format&n=oR5LhwSoJqm4JROA&q=85&s=a58a9dac354e3a2bcba9cf9866c9d2fe" alt="Connect Wallet button in the top right corner" width="796" height="112" data-path="latest/screenshot/deposit-withdraw/connectButton.png" />

The Connect Wallet modal will appear. Select and connect your **Stellar wallet**.

<img src="https://mintcdn.com/railsxyz/oR5LhwSoJqm4JROA/latest/screenshot/deposit-withdraw/connectModal.png?fit=max&auto=format&n=oR5LhwSoJqm4JROA&q=85&s=930b9790cf01bff41023e4fb9fecf091" alt="Connect Wallet modal with Stellar wallet option" width="1196" height="734" data-path="latest/screenshot/deposit-withdraw/connectModal.png" />

## Deposit

Once your wallet is connected, a **Deposit** dropdown button appears in the top right corner. Click it to open the deposit view.

<img src="https://mintcdn.com/railsxyz/oR5LhwSoJqm4JROA/latest/screenshot/deposit-withdraw/depositDropdown.png?fit=max&auto=format&n=oR5LhwSoJqm4JROA&q=85&s=22894d43152adf27b245e9212af8e868" alt="Deposit dropdown view" width="636" height="668" data-path="latest/screenshot/deposit-withdraw/depositDropdown.png" />

On Stellar, a wallet can only receive tokens for which a **trustline** has been established. If you have not already added the USDT trustline, click the **Add trustline** link to add it.

Once the trustline is in place, click **Deposit** and follow the guide in the modal to complete the process.

When the deposit is complete, your funds appear in the **Account Summary** section in the bottom right of the Rails UI.

<img src="https://mintcdn.com/railsxyz/oR5LhwSoJqm4JROA/latest/screenshot/deposit-withdraw/accountSummary.png?fit=max&auto=format&n=oR5LhwSoJqm4JROA&q=85&s=ca668818a7d88dd5b8b217ad335f901d" alt="Account Summary showing deposited funds" width="672" height="530" data-path="latest/screenshot/deposit-withdraw/accountSummary.png" />

## Withdraw

To withdraw, click the **Withdraw** button next to the Deposit button and follow the guide in the modal to complete the process.
