Cross-Chain Perpetuals

Powered by LayerZero

Lynx utilizes an innovative cross-chain trading system to support decentralized perpetuals trading on any blockchain, regardless of block rate, gas costs, or EVM compatibility. Lynx's cross-chain system lets users interact with the perpetual exchange from any supported origin chain while settling transactions on one of Lynx's engine chains.

Origin chains are the blockchains on which users hold their assets, connect their wallets, and do their normal business (eg. trading, supplying liquidity). Engine chains are where Lynx settles transactions, regardless of which origin chain they come from. Lynx's engine chains possess fast block rates, cheap gas prices, and all the infrastructure needed to make them highly suitable for perpetual trading applications.

Currently Lynx utilizes Fantom, Boba, and Sonic as engine chains. Each acts as the settlement layer for designated origin chains.

Chips: Lynx Utility Tokens

Before using Lynx, users are required to deposit funds into their Lynx accounts. Under the hood, this performs a lock-and-mint bridge using LayerZero's cross-chain messaging protocol: the users' assets are locked on the origin chain from which they deposited while Lynx issues them 'chips' to their wallet on the corresponding engine chain. These chips serve as the currency for all interactions within the Lynx ecosystem.

Chips are simple ERC-20 tokens designed to facilitate transactions in Lynx's cross-chain trading system. They act as Lynx's internal accounting system by representing the liquidity held by a trader on the origin chain. Each collateral asset listed on Lynx is represented by its own chip; for instance, users depositing DAI receive DAI-chips on the corresponding engine chain. As users engage with Lynx from their origin chain, chips are moved accordingly between the users' wallets and the appropriate Lynx contracts on the engine chain. At any point in time, users can redeem their chips and receive their assets back on the origin chain.

Note: Chips are designed for use within Lynx, enabling them to be transferred between contracts on the engine chain without prior approvals. Chips are not meant to have utility outside of Lynx.

Non-Custodial Trading Solution

Depositing funds to a user's Lynx account mimics the user experience on a centralized exchange but in a fully decentralized manner. Instead of transferring assets to a CEX and getting credits within their servers, users transfer assets to a Lynx smart contract and get tokens to their wallets on the engine chain. While CEXs rely on private, internal accounting to track the movement of credits on their exchange, Lynx leverages the transparent, decentralized nature of blockchain and smart contracts to account for the movement of chips. Doing so ensures Lynx remains a non-custodial, decentralized exchange where users retain full ownership over their funds at all times.

Benefits of Cross-Chain Design

1) Reduced Operational Gas Costs

Decentralized perpetual protocols carry significant expenses due to their gas-intensive nature. The gas required by complex contract logic and frequent oracle updates trickles down to users, resulting in transactional costs ranging from $1 to $5 per trade on cost-effective chains and soaring up to $100 on pricier chains such as Ethereum. As a result, smaller traders can get priced out and certain strategies such as high-frequency trading become unviable.

Lynx's use of more affordable engine chains as settlement layers significantly reduces operational costs for the protocol, bringing costs to a range of $0.01 to $0.50 per trade - regardless of which chain it originates on. (Note: Lynx's gasless trading abstracts away all gas fees on behalf of users; learn more in Intent-Based Order System).

2) Highly Scalable Solution

Decentralized perpetual protocols require heavy infrastructure such as dedicated RPC endpoints (+ back-ups), trigger bots, intent solvers, and more. Additionally, they can have hundreds of parameters that need constant monitoring and tuning. As a result, deploying and maintaining multiple instances of a perpetuals protocol across different chains demands significant resources and attention.

Lynx, however, capitalizes on its cross-chain architecture to expand to new chains while maintaining a modest footprint. With core smart contracts and complex logic centered predominantly on a few engine chains, Lynx can extend perpetuals trading to other chains rapidly with basic contract deployments. This approach significantly enhances accessibility for traders across diverse blockchain ecosystems, regardless of EVM-compatibility or associated gas costs.

Last updated