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

# Hyperliquid

> Learn how to start trading on Hyperliquid using Flipsuite.

## Overview

Flipsuite is integrated with [Hyperliquid](https://app.hyperliquid.xyz/trade) to provide more trading features across the board,
enabling perpetual and spot trading using your Flipwallet.

## What is Hyperliquid?

[Hyperliquid](https://hyperfoundation.org/) is a performant blockchain built with the vision of a fully onchain open
financial system. Liquidity, user applications, and trading activity synergize on a unified platform that will
ultimately house all of finance. Its state execution is split into two broad components:

1. **HyperEVM**
2. **HyperCore**

### HyperEVM

HyperEVM integrates the general-purpose smart contract capabilities common to Ethereum into the Hyperliquid blockchain.
HyperCore's performant liquidity and financial primitives are exposed as permissionless building blocks for all users and
developers on HyperEVM. Users can utilize the full range of Flipsuite features on HyperEVM.

### HyperCore

HyperCore includes fully onchain perpetual futures and spot order books. Every order, cancel, trade, and liquidation
happens transparently with one-block finality. HyperCore is designed primarily for trading, so a Flipsuite reward
system is not available on HyperCore.

## Trading on Hyperliquid

Trading on Hyperliquid is done on HyperCore, so you need to get your funds there first.

### How to get funds on HyperCore?

The best way to get your funds to HyperCore from other chains is to have some gas tokens available (like `ETH`, `POL`, or `SOL`)
and bridge them into HyperCore's `USDC` token by using the [/swap tokens](/modules/trading/commands/swap) command or by asking [Flippy](/flippy/introduction).

<Frame caption={"Example swap from Arbitrum to HyperCore"}>
  <img src="https://mintcdn.com/flipsuite/5JmtiyWRpOW7Hj4M/images/modules/trading/hyperliquid-bridge-quote.png?fit=max&auto=format&n=5JmtiyWRpOW7Hj4M&q=85&s=69e4a7d470aea983cf1326ee528c51f4" className="rounded-lg" width="484" height="594" data-path="images/modules/trading/hyperliquid-bridge-quote.png" />
</Frame>

Once you have some `USDC` on HyperCore you can start trading!

<Warning>
  Make sure to have more than 10 USDC in your Flipwallet on HyperCore, as Hyperliquid won't let you place orders
  that are worth less than \$10 to prevent spam.
</Warning>

You can also transfer certain tokens that are deployed (and linked) on both HyperEVM and HyperCore between these
two chains. To do so simply use the [/swap tokens](/modules/trading/commands/swap) command and specify the desired token as both source
and destination token like this:

<Frame caption={"Example HyperEVM <> HyperCore token transfer"}>
  <img src="https://mintcdn.com/flipsuite/3NPkqtLtEVXfOW7V/images/modules/trading/hyperliquid-transfer.png?fit=max&auto=format&n=3NPkqtLtEVXfOW7V&q=85&s=ae04be4f3cb18f88aceee6432c8486c5" className="rounded-lg" width="618" height="111" data-path="images/modules/trading/hyperliquid-transfer.png" />
</Frame>

### Placing market spot orders

To place spot market orders using your HyperCore `USDC`, simply use the [/swap tokens](/modules/trading/commands/swap) command
in Discord, or ask Flippy to place them for you like this:

> Hey **@Flippy** swap 50 USDC to HYPE on Hyperliquid

<Frame caption={"Placing a spot market order on Hyperliquid"}>
  <img src="https://mintcdn.com/flipsuite/CcQ2ViFu3KwM13l8/images/modules/trading/hyperliquid-spot-order.png?fit=max&auto=format&n=CcQ2ViFu3KwM13l8&q=85&s=664f28439ed17e78ae9a4f5e0d86acc5" className="rounded-lg" width="441" height="514" data-path="images/modules/trading/hyperliquid-spot-order.png" />
</Frame>

### Placing limit spot orders

To place spot limit orders using your HyperCore `USDC`, simply use the [/limit buy](/modules/trading/commands/buy) and
[/limit sell](/modules/trading/commands/sell) commands in Discord, or ask Flippy to place them for you like this:

> Hey **@Flippy** buy me \$100 BTC once it drops below 110k

<Frame caption={"Placing a spot limit order on Hyperliquid"}>
  <img src="https://mintcdn.com/flipsuite/CcQ2ViFu3KwM13l8/images/modules/trading/hyperliquid-spot-limit-order.png?fit=max&auto=format&n=CcQ2ViFu3KwM13l8&q=85&s=cdce797e081b700d7ce11e2082d3a875" className="rounded-lg" width="422" height="538" data-path="images/modules/trading/hyperliquid-spot-limit-order.png" />
</Frame>

### Opening market perp positions

To open long and short positions using your HyperCore `USDC`, simply use the [/perp long](/modules/trading/commands/long)
and [/perp short](/modules/trading/commands/short) commands in Discord, or ask Flippy to place them for you like this:

> Hey **@Flippy** open BTC long with 15x leverage and \$20 margin, and set stop loss at 110k

<Frame caption={"Opening a perp position on Hyperliquid"}>
  <img src="https://mintcdn.com/flipsuite/5JmtiyWRpOW7Hj4M/images/modules/trading/hyperliquid-open-position-query.png?fit=max&auto=format&n=5JmtiyWRpOW7Hj4M&q=85&s=acdc0d2a3e625aca1c5121e3ba10bd9e" className="rounded-lg" width="828" height="499" data-path="images/modules/trading/hyperliquid-open-position-query.png" />
</Frame>

### Opening limit perp positions

If you prefer to open a position only once a certain price target is hit:

> Hey **@Flippy** open ETH long with max leverage and \$50 margin once it drops by 2%

<Frame caption={"Opening a limit perp position on Hyperliquid"}>
  <img src="https://mintcdn.com/flipsuite/5JmtiyWRpOW7Hj4M/images/modules/trading/hyperliquid-open-limit-position-query.png?fit=max&auto=format&n=5JmtiyWRpOW7Hj4M&q=85&s=6856d1e9b4a6ff0e675c5ab1bff1baab" className="rounded-lg" width="738" height="462" data-path="images/modules/trading/hyperliquid-open-limit-position-query.png" />
</Frame>

### Setting multiple SL and TP levels

You can set multiple stop loss and take profit targets for your perp positions like this:

> Hey **@Flippy** open HYPE long with max leverage and \$50 margin, set 50% TP at 10% gain, and 25% TP at 20%

<Frame caption={"Placing multiple take profits on a perp position"}>
  <img src="https://mintcdn.com/flipsuite/5JmtiyWRpOW7Hj4M/images/modules/trading/hyperliquid-partial-close-order.png?fit=max&auto=format&n=5JmtiyWRpOW7Hj4M&q=85&s=4bf5bde4c96431aa476c6454bb2dcc64" className="rounded-lg" width="881" height="484" data-path="images/modules/trading/hyperliquid-partial-close-order.png" />
</Frame>

### Sharing your perp positions

You can ask Flippy to share one of your perp positions in the chat:

<Frame caption={"Sharing your Hyperliquid position in the chat"}>
  <img src="https://mintcdn.com/flipsuite/CcQ2ViFu3KwM13l8/images/modules/trading/hyperliquid-shared-position.png?fit=max&auto=format&n=CcQ2ViFu3KwM13l8&q=85&s=ffd5876b538247600b15659bc3c728a7" className="rounded-lg" width="600" height="532" data-path="images/modules/trading/hyperliquid-shared-position.png" />
</Frame>

### Closing your perp positions

You can fully or partially close your perp positions by asking Flippy to do so:

> Hey **@Flippy** cancel X% of my HYPE position

<Frame caption={"Closing a position partially"}>
  <img src="https://mintcdn.com/flipsuite/CcQ2ViFu3KwM13l8/images/modules/trading/hyperliquid-partial-position-close.png?fit=max&auto=format&n=CcQ2ViFu3KwM13l8&q=85&s=6efb0e4ab97a89671573405f00bc6e8f" className="rounded-lg" width="598" height="374" data-path="images/modules/trading/hyperliquid-partial-position-close.png" />
</Frame>

### Trading leaderboard

All perpetual trades you execute on Hyperliquid using your Flipwallet are tracked on the trading leaderboard. Each week,
the top 3 traders and the lowest-ranking trader (person at the bottom of the leaderboard) receive a reward proportional
to the generated trading fees in that week. You can access the trading leaderboard at any time by asking Flippy:

<Frame caption={"Hyperliquid trading leaderboard"}>
  <img src="https://mintcdn.com/flipsuite/CcQ2ViFu3KwM13l8/images/modules/trading/hyperliquid-trading-leaderboard.png?fit=max&auto=format&n=CcQ2ViFu3KwM13l8&q=85&s=a2656008ea86475ec30fc9927afa18ab" className="rounded-lg" width="600" height="678" data-path="images/modules/trading/hyperliquid-trading-leaderboard.png" />
</Frame>

### Margin modes

When opening a perp position on Hyperliquid, you can choose between two margin modes:

1. **Isolated**
2. **Cross**

#### Isolated margin

Isolated margin restricts the collateral for a position to a single asset.

* **Risk Isolation:** Losses are limited to the margin allocated to that specific position. Liquidations in an isolated position do not affect your other trades.
* **Manual Adjustments:** You can manually add or remove margin from an open position to adjust your liquidation price (except for "strict isolated" assets).
* **PnL Handling:** Unrealized profits are applied directly to the position as additional margin.

#### Cross margin

Cross margin is designed for maximum capital efficiency.

* **Shared Collateral:** All cross positions share the same collateral pool. This allows profits from one position to support the margin requirements of another.
* **Liquidation Risk:** Since margin is shared, a significant loss in one position can potentially lead to the liquidation of all other cross positions in your account.
* **Automated PnL:** Unrealized profits are automatically available as initial margin to open new positions.

<Tip>
  While Hyperliquid defaults to cross margin, Flippy uses isolated mode by default to protect your balance and ensure
  one position's risk doesn't affect your other assets.
</Tip>
