All pages
Powered by GitBook
1 of 4

Loading...

Loading...

Loading...

Loading...

Getting Started

To begin your journey with Mars Protocol, you'll need to create and fund your account with USDC or other supported assets. If you're coming from an EVM-compatible chain, USDC is the simplest and fastest option. You can transfer it from a centralized exchange (CEX) like Coinbase or any blockchain that supports native USDC. For a step-by-step guide on how to get started, check out these helpful tutorials:

How to set up a WalletConnect your walletUsing a Credit Account

These tutorials will guide you through the process of setting up your wallet, acquiring USDC, and creating your Credit Account at Mars Protocol.

Connect your wallet

Connect your wallet to the Mars Protocol

Connecting to Mars Protocol

Follow these steps to connect your wallet to the Mars Protocol app.


1. Visit the App & Click “Connect Wallet”

  • Open your browser and go to:

  • In the top-right corner, click Connect Wallet.


2. Agree to the Terms of Service

  • A modal will appear with a link to Mars Protocol’s Terms of Service.

  • After you read through them, click Agree & continue.


3. Select & Approve Your Wallet

  • Choose your wallet from the list (e.g., Keplr Wallet, Leap Wallet, etc.).

  • Your wallet extension will open, showing a transaction to approve the connection on the current chain (Osmosis or Neutron).

  • Review and click Approve in your wallet popup.


4. Proceed to Create a Credit Account

You’ve successfully connected your wallet! Next, head over to the page to begin depositing and managing assets.

app.marsprotocol.io
Create a Credit Account
Using a Credit Account
Mars Protocol toolbar with “Connect Wallet” button on the right.
“Master the Red Planet” modal with “Agree & continue” button.
Wallet selection list.

Using a Credit Account

A Credit Account on Mars Protocol lets you deposit collateral and borrow or trade on margin with leverage. This tutorial will walk you through creating your first Credit Account.

Introduction

In order to interact with Mars Protocol V2 and access all features (see Credit Accounts) you must first create a Credit Account.


1. Create & Fund an Account

If you don’t yet have a Credit Account, you’ll be taken straight to the Create and Fund a Credit Account page:

Create and Fund a Credit Account
  • Optionally connect an EVM wallet to deposit USDC from an Ethereum or L2 chain

  • Select your collateral assets

    • Click Select Assets + to open the asset selector.

    • Whitelisted collateral appears at the top and non-whitelisted assets appear below (see the page).

  • Choose deposit amounts and click Fund Account.

    • After confirming the on-chain transaction, you’ll be redirected back to the app and see your new Credit Account in the navbar:


2. Create Additional Accounts

To open more than one Credit Account:

  1. Click the Credit Account dropdown in the navbar.

  2. Click Create + and you will be forwarded to the page.


3. Manage Your Credit Accounts

Once you have one or more Credit Accounts, you can Fund, Withdraw, or Delete any of them from the same navbar dropdown:

3.1 Fund an Existing Account

  • Open the Credit Account dropdown and click Fund.

  • In the Fund Credit Account modal, select assets and amounts (same flow as initial funding) and click Fund Account.

3.2 Withdraw from Your Account

  • From the Credit Account dropdown, click Withdraw.

  • In the Withdraw modal, choose asset and amount (use slider or MAX) and then click Withdraw →.

3.3 Delete a Credit Account

  • Open the Credit Account dropdown and click Delete.

  • If you have outstanding debt or open Perps positions, you’ll first see a Repay Debts prompt:

  • Once clear, you’ll see your remaining assets summary, click Delete Account to withdraw them back to your wallet and close the account:

Lending & Borrowing
Create & Fund
Asset selector modal

How to set up a Wallet

Step-by-step guide on how to create a wallet

Introduction

Since the Mars Protocol is a Cosmos-based app, users need a Cosmos-compatible wallet. In this guide, we’ll focus on creating a new wallet from scratch.

Some supported options include:

  • Keplr

  • (former XDEFI)

  • (via the Leap Cosmos Snap integration)


1. Install a Wallet Extension

  • Open the Extension Store

    • In Chrome or Brave, go to the (or Brave Extension Store) and search for your chosen wallet (e.g., “Keplr Wallet”).

    • In Edge, enable Allow extensions from other stores in Settings, then visit the Chrome Web Store page for your wallet.

  • Add to Browser


2. Open the Wallet Extension and Create a New Wallet

  • Launch the Extension

    • Click the puzzle-piece (đź§©) icon in your toolbar, then select your wallet.

  • Choose a Setup Option

    • Create a new wallet


3. Back Up Your Secret Recovery Phrase

  • Reveal the Phrase

    • Click Show my phrase to display your 12 (or 24) secret words.

  • Store It Securely

    • Write down


Next Steps

Your new Cosmos-compatible wallet is ready. Now proceed to our guide:


Video Tutorial

  • Click “Add to Chrome” (or equivalent) and confirm any prompts.

  • Verify Installation

    • You should see the wallet’s icon in your browser’s extensions area.

  • (via Recovery Phrase or Google account)
  • Import an existing wallet (via Recovery Phrase, Private Key, or Google account)

  • Connect a hardware wallet (Ledger or Keystone)

  • Select “Create New Wallet”

    • Choose Create new wallet, then Create new recovery phrase to generate a brand-new Secret Recovery Phrase.

  • every word in order on paper or another secure offline medium.
  • Do NOT share this phrase—anyone with it can access your funds.

  • Confirm the Phrase

    • Click Next, then re-enter or re-select the words in the correct order to verify your backup.

  • Leap
    Cosmostation
    Ctrl
    MetaMask
    Chrome Web Store
    Connect your wallet
    Connect your wallet
    Learn how to set up the Keplr Wallet extension