Hi, this is my first time posting but I have used GMX for a couple years now. Currently, I have a SmartContract I created that interfaces with V1 AVAX and a backend node.js app to manage my trades but due to lack of usdc/usdc.e liquidity I realize I need to make some changes. My question is what is my best course of action - do I just migrate my app to Arbitrum V1 or is it time to upgrade my code to V2 and if I am upgrading to V2 what are the primary differences in v1/v2 from a developer point that I need to make my v1 trading application work on v2. Thank you.
From a development perspective, migrating to GMX V2 means updating your smart contract to interact with the new isolated market structure rather than a shared GLP pool. Your backend Node.js app will need modifications to fetch market-specific liquidity and pricing while ensuring trade execution logic aligns with the new order types and fee model. Conditional and stop orders are also more reliable in V2, requiring updates to your order management system.
I appreciate your reply, thank you. I ended up deploying my contracts and migrating to Arbitrum V1 and I am very happy with the decision so far. I have been dreading the upgrade to V2, I am probably just over thinking it. I need to put the time in and study the ExchangeRouter.createOrder function and better understand the orderVault and isolated market structure. Should I consider upgrading to v2 high priority or do you think I could put it off for say another 6-12 months? -Thank you.
There are some key advantages to the GMX V2 model that make it worthwhile. Durgan highlighted some of them already. Whether you consider it high-priority is really up to you