How to trade on YFX V2?

Currently, YFX V2 is deployed on zkSync Era. If you do not have assets on zkSync Era, please use cross-chain bridges to transfer your USDC and ETH assets onto zkSync Era first.

zkSync cross-chain bridge link: https://bridge.zksync.io/​​

YFX V2 on zkSync link: https://zks-v2.yfx.com/​​

Connect Wallet

Add zkSync network nodes:

Information on zkSync network nodes can be viewed in zkSync official docs. Here is the link: https://era.zksync.io/docs/dev/fundamentals/interacting.html#connecting-to-zksync-era-on-metamask​​

Mainnet network info

  • Network Name: zkSync Era Mainnet

  • RPC URL: https://mainnet.era.zksync.io

  • Chain ID: 324

  • Currency Symbol: ETH

  • Block Explorer URL: https://explorer.zksync.io/

  • WebSocket URL: wss://mainnet.era.zksync.io/ws

Or you can visit https://chainlists.org and search for zkSync. Click [Add to MetaMask] to add the zkSync network node to your MetaMask wallet.

Then click "Connect Wallet" on the page to connect to MetaMask. When connecting the wallet, if no network node is added, the system will automatically guide you to add it.

Deposit & Withdraw Funds

You need to make a deposit before trading on YFX. All assets are safe and locked within the smart contract. zkSync now supports USDC and ETH transactions.

  1. On the Trading page or the Asset page, click "Deposit"

  2. Enter the amount within the pop-up window, and then click "Deposit" and approve on MetaMask to make a deposit. (If it is the first time, you must authorize the transaction on MetaMask first).

  3. If you want to withdraw your funds to your wallet, click "Withdraw" and approve on MetaMask.

Add Liquidity

You can add liquidity to fund pools to earn transaction fees and profit from selling LP tokens at a higher price. There is no fee for you to add liquidity to fund pools.

  1. On the Fund Pools page, find the fund pool you want to deposit funds in and click "Add."

  2. Enter the amount to add to the fund pool.

​​

Remove Liquidity

When you want to remove your funds from the fund pool, click "Remove." Then, the funds will be credited to your account balance. You need to withdraw to get the funds back into your wallet.

Place a Market Order

You can place a market order to open a position. Choose your desired leverage, enter the margin for the position, then click "Buy/Long" or "Sell/Short" to open a position.

Place a Limit Order

You can set a specific price for a limit order. If the current price crosses the set price, the limit order will be executed as a market order.

Set Up a Take-profit & Stop-loss Order

You can set take-profit and stop-loss prices for each position. The entire position will be closed when the take-profit or stop-loss order is triggered.

Add Margin to a Position

You can add margin to your existing position to reduce leverage. This way, your position is less likely to get liquidated when the market moves against you.

Invite Friends

You can invite your friends to trade on YFX and receive a 20% rebate on transaction fees. Go to https://zks-v2.yfx.com/#/en/invite to get your referral link. Please copy the link and share it with your friend. When a user clicks on your link, your referral code will be bound to the user's account. When the user makes a trade, you will earn a 20% rebate from their transaction fees in real time.

Dernière mise à jour

CopyRight @YFX.COM