UI/UX
The User Interface is where the majority of our users will be placing trades. We have designed the UI to be as close to that of a Centralized Exchange as much as possible. This allows traders who have never used a DEX before to feel familiar and comfortable while also providing all of the functionality traditional CEXs provide.
Through the UI users are able to switch between different assets, view that asset's information, see the trading chart, look at the orders on the orderbook and past trades, and seamlessly place a variety of order types.
How it works
Connecting your wallet
When you come into the Exchange page, the first thing that needs to be done is to connect your wallet via Polygon PoS.
Registering Wallets
Once you've connected your wallet, you will need to register your wallet addresses for each network you would like to use. Registering your wallet requires pushing your wallet address for each network to the smart contracts. We recommend registering every wallet on every network. If you do not have a wallet on a certain network, you should make one and register it as soon as you can to avoid any problems in the future. To register your wallet simply copy and paste your wallet address for that network and submit the transaction. Please note that you will not be able to change your wallet address for that network once you have submitted it, make sure to check it twice before submitting.
Depositing Funds
Once you've registered your wallets, you will need to deposit funds into the exchange in order to start trading.
If you are depositing on an EVM network (e.g. Ethereum, Polygon, Arbitrum, Avalanche, etc.) simply click on the drop down menus to choose which asset on which blockchain you would like to deposit, write in the amount you would like to deposit, and click the Transfer & Deposit button. Once you have clicked that button your wallet provider will prompt you twice - once to transfer the funds to the exchange's MPC vaults, then again to record that deposit into the exchange's smart contracts. Please note that the "Balance in Exchange" section shows the funds that you have deposited within the exchange, not what you currently hold in your external wallet.
If you are not depositing on an EVM network you will need to transfer your assets to the address provided on the deposit module for that network. Once you have confirmed that the transfer has finalized on the blockchain you are transferring from, you may click the "Deposit" button in order to call the deposit function on the smart contracts.
Placing an Order
From now on, trading is as easy as it is on any other centralized exchange. In the Trading Widget, you'll be able to place limit, stop, and market orders. From there you'll also be able to turn margin trading on and off in order to margin or short the crypto of your choice!
Market Orders
When you place a market order, your order will match with the best priced trades according to your order. For example, if you place a market buy order, it will match with the lowest priced sell orders on the book. If you place a market sell order, it'll match with the highest priced buy orders on the book.
Limit Orders
A limit is an order to buy or sell at a specific price or better. For a buy limit order, the order will only execute at the limit price or lower; for a sell limit order, it will only execute at the limit price or higher. When you place a limit order it will be matched in the same manner as a market order. However, if there are no matching trades, it will be placed on the book as a "maker" order and remain there until an order that matches it comes in.
Stop-Loss Orders
A stop-loss order is an order to buy or sell once the price moves past a specified point, known as the stop price, which triggers the order to become a market order. For a buy stop order, it is placed above the current market price, and for a sell stop order, below the current market price, activating only when the stop price is reached or surpassed. For example, if you are holding long position of ETH that you bought at $3,000, it is now at $4,000, and you would like to secure profits at $3,800, you would place a stop sell order with a price of $3,800. If the price ever drops below $3,800 your position will automatically be sold.
After you place the order through the UI, the front end will first check that you have the required balances to place the trade you want to. Once that has been confirmed, the order will be sent to the Matching Engine to match. If the order matches it is a "taker" (orders that are taking orders off the book instead of putting them in), if it doesn't then it is a "maker" (orders that are making the book).
Because our matching engine and orderbook are off-chain, there is no gas-fee required to place orders. However, when an order matches and needs to be executed in the Exchange smart contract, the "taker" of that order needs to sign the transaction and pay the gas fees required to execute the trade on-chain.
Withdrawing
If you want to withdraw, you can head over to the same Deposit section you used to deposit funds. All you have to do is select which asset you would like to withdraw, input the amount you want to withdraw and click on the "Withdraw" button.
Please note that if you have any margin positions open, you can only withdraw up to your aggregate initial margin requirement.
Last updated