# User Guide

ZDX Finance has the following four uses

1. Long

2. Short

3. Liquidity Provision

4. Lock ZDXT

5. **Long**

You can profit by swapping a synthetic asset (zAsset) linked to a stock or stock index, such as zSPY, for a stable coin, and then swapping it back into the stable coin after zSPY has risen in value. This is called a long position.

Click on the Trade tab in the header and enter the amount of zSPY you wish to buy or the amount of DAI you wish to use.

<figure><img src="/files/OfsfuCD0KQlUVSASf2r0" alt=""><figcaption><p>Swap</p></figcaption></figure>

After pressing the Swap button, the wallet will be activated and the transaction will be executed after confirming the gas fee etc. and pressing Confirm. When the green "Transaction Confirmed!" popup appears in the top right corner of the screen, your long position is complete.

2. **Short**

You can borrow zAsset as collateral to swap stable coins, and then buy back zAsset at a lower price after the zAsset price falls to repay the loan and make a profit. This is called a short position.

Open the Short page in the Earn tab of the header and press the Short button in the lower right corner.

<figure><img src="/files/Esvw2qaF7zkbxxangbs0" alt=""><figcaption><p>Short</p></figcaption></figure>

Enter the amount of DAI to be pledged as collateral and select the collateral ratio. Note that setting the collateral ratio too low will increase the risk of liquidation. After setting the conditions, press the short button at the bottom of the screen to activate the wallet. The rest of the process is the same as for a long position.

<figure><img src="/files/snbGmb2xLJvpxNjBn3h9" alt=""><figcaption></figcaption></figure>

If you hold a short position, ZDXT (Governance Token) rewards will accumulate over time and you can claim ZDXT from the Claimable Rewards box on the Short page.

3. **Liquidity Provision**

Pairs of zAsset/DAI and ZDXT/DAI can be used to provide liquidity to the DEX pool in order to earn swap fees and ZDXT rewards.

Visit the Add Liquidity page on the Earn tab of the header and press the New Position button.

<figure><img src="/files/c7tK2AqjFqKK24cHcaNG" alt=""><figcaption><p>Add Liquidity</p></figcaption></figure>

Then select the token pair you wish to provide liquidity for and enter the amount. You also select the price range within which you want to provide liquidity. The narrower the range, the more money you can make, but the higher the risk of impermanent loss.

Once you have entered the various conditions, click on the Add Liquidity button to proceed to the wallet screen.

<figure><img src="/files/gi74dWCopI5LQdpFI88Z" alt=""><figcaption><p>Select Price Range</p></figcaption></figure>

Once the liquidity provision is complete, an LP token will be issued. To confirm this, you have to go to the Farm page from the Earn tab. Click on the Stake button for the pool you have contributed liquidity to, and you will be able to stake LP tokens.

<figure><img src="/files/BjcHr3EBqHEKCsjVkcL5" alt=""><figcaption><p>Steke LP Token</p></figcaption></figure>

After staking LP tokens, you will be eligible to receive the ZDXT reward.

<figure><img src="/files/oNT12DZtuQ2hke48QAAc" alt=""><figcaption><p>Harvest LP Rewards</p></figcaption></figure>

If you wish to earn a swap fee and ZDXT reward by providing liquidity without the risk of zAsset price fluctuations, you can also provide liquidity by combining your borrowed zAsset with your own stablecoin holdings.

Select the Borrow tab from the header and click the Borrow button to the right of the zAsset you wish to borrow.

<figure><img src="/files/luaoqPV0s7vggoMp6rVr" alt=""><figcaption><p>Borrow</p></figcaption></figure>

Specify the amount of DAI to be pledged as collateral and the Collateral Ratio and press the Open Position button to proceed to the Wallet screen.

<figure><img src="/files/ZVu8EACYQ19h251vpwsU" alt=""><figcaption><p>Open Debt Position</p></figcaption></figure>

Once a borrowing position is created, liquidity can be provided from the Add Liquidity screen mentioned above. In this position there is certainly no risk of price fluctuation of the zAsset itself. However, by providing liquidity you may incur an impermanent loss and you should be aware of the risk that the amount of zAsset you originally borrowed may decrease. Of course, the same risk exists when providing liquidity in the form of a zAsset or ZDXT obtained through a swap.

Borrowed positions can be managed from the Borrow screen. There are four options: Deposit, Borrow, Repay and Withdraw.

<figure><img src="/files/IzLR3eZbeHvlsZWX9lMo" alt=""><figcaption><p>Manage Debt Position</p></figcaption></figure>

Pressing the Deposit button takes the user to a screen where additional collateral can be pledged. Increasing the DAI deposit amount here increases the collateral ratio of the debt position and reduces the risk of liquidation.

<figure><img src="/files/uZmtFJvx6qmYYhNNoQIx" alt=""><figcaption><p>Add Collateral</p></figcaption></figure>

The Borrow button allows additional borrowing of zAsset. Note that this operation reduces the collateral ratio of the debt position and increases the liquidation risk.

<figure><img src="/files/S1UH49IubHh4MOEJHIri" alt=""><figcaption><p>Additional Borrowing</p></figcaption></figure>

If you want to pay back the borrowed zAsset, simply press the Repay button.

<figure><img src="/files/yhfDaLbpZjkv0M1PTT47" alt=""><figcaption><p>Repay</p></figcaption></figure>

Pressing the Withdraw button will take you to a screen where you can withdraw the stable coins you have pledged. Again, it should be noted that withdrawing too many stable coins increases the risk of liquidation.

<figure><img src="/files/lhbUnQuBihzOghU5ZWWl" alt=""><figcaption><p>Withdraw</p></figcaption></figure>

4. **Lock ZDXT**

Locking ZDXT, the governance token for ZDX Finance, provides ZDXT rewards and governance voting rights. The reward amount and governance vote size are proportional to the amount of ZDXT locked and the duration of the lock.

Click on the Vest tab in the header, select the amount of ZDXT to lock and the lock period, then click on the Approve button to proceed to the wallet screen. It is also possible to claim ZDXT rewards from the same Vest screen.

<figure><img src="/files/ZxBlfT72Qx7rgSGljWot" alt=""><figcaption><p>Lock ZDXT</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zdxfi.gitbook.io/zdx-finance/protocol/user-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
