Skip to main content
You are on the Vanna testnet. Assets and transactions here have no real value. Use the faucet in the top navigation bar to get test tokens.

Before you start

  • Margin Account created - see Open a Margin Account if you haven’t done this yet.
  • Wallet connected - your wallet must be connected to approve the transaction.
  • Assets to deposit - have XLM or USDC available in your wallet.

What counts as collateral

You can deposit XLM and USDC as collateral. vTokens (vXLM, vUSDC) are not accepted as collateral - they remain in the Earn pool and cannot be used to back borrowed positions in your Margin Account.

Steps

1

Go to the Margin tab

Click Margin in the top navigation bar. Your Margin Account metrics panel is shown at the top of the page.
2

Open the deposit panel

Click the Deposit & Borrow tab or button in the Margin interface. The deposit and borrow panel opens, showing fields for both depositing collateral and entering a borrow amount.
3

Select WB (wallet balance)

Make sure the WB toggle is selected at the top of the deposit section. WB stands for wallet balance - this moves assets from your wallet into your Margin Account. The MB toggle (margin balance) is used for repositioning assets that are already inside your Margin Account, not for adding new collateral from your wallet.
4

Choose an asset and amount

Select the asset you want to deposit from the asset selector (for example, USDC). Enter the amount you want to deposit, or click MAX to deposit your full available balance of that asset.
5

Review the preview

The panel updates to show a preview of your position after the deposit. Check the updated Health Factor and the new Net Available Collateral figure to confirm the deposit improves your borrowing capacity as expected.
6

Confirm the transaction

Click the deposit button to proceed. Your wallet opens a confirmation prompt. Review and confirm to sign and broadcast the transaction.
7

Confirmed

Once the transaction is confirmed, your collateral balance updates in the Margin metrics bar. Your Net Available Collateral increases, and you can now borrow against the deposited assets.
You can deposit multiple asset types as collateral. Depositing more collateral improves your Health Factor and increases your Net Available Collateral, giving you more room to borrow without approaching the liquidation threshold.

Just depositing - no borrowing?

If you want to deposit assets into your Margin Account to use for trading (spot swaps, farm strategies) but do not want to borrow, set your leverage to . At 1× leverage, you are using only your own deposited capital with no borrowed funds - giving you full control without any liquidation risk from borrowing.
  • Borrow - use your collateral to borrow assets.
  • Health Factor - understand how your collateral value affects your position health.