Everything You Need to Know About OraiDEX’s Zap

Oraichain Labs
OraiDEX
Published in
4 min readOct 1, 2024

In this article, we’ll explain the concept of our new Zap feature and how to use it to enhance your trading experience!

What is Zap?

Zap allows users to add liquidity using only one token and a single click, eliminating the need for manual swapping or token balancing.

- Add liquidity with only one token: You can contribute liquidity using just one token from the trading pair. Zap will automatically swap a portion of the provided token to balance the pair to a suitable ratio split with your chosen range before adding liquidity.

- Remove liquidity and select your preferred token: When withdrawing liquidity, Zap allows you to choose which token to receive. It will automatically handle swaps before returning your tokens.

Benefits of Zap

1. Convenience: Users no longer need to perform multiple transactions manually, saving time and reducing errors.

2. Lower Gas Fees: By combining multiple steps into one transaction, users save on gas fees.

3. User-Friendly: It simplifies the user experience, making it more accessible for newcomers unfamiliar with traditional liquidity provisioning methods.

4. Increased Liquidity Provision: Lowering the barrier to entry encourages more users to provide liquidity, thereby deepening the liquidity pools.

Overall, Zap makes adding liquidity more straightforward and efficient, attracting more participants and enhancing the trading experience on OraiDEX.

Enable Zap

By default, the Zap feature is enabled for all users. Currently, the Zap feature is free of charge, and all liquidity pools on OraiDEX’s AMM v3 are supported with a cap.

Zap In (Add Liquidity)

1. Visit the Pools V3 page and choose the “Add Position” button of the trading pair you want to provide liquidity for by picking two input tokens.

2. Scroll down and choose Zap tab instead of Manually Option, choose the token you want to zap, input your zap amount and wait for the result.

3. Click the “Zap In” button to proceed.

- If you have a balance of the token in the trading pair, the checkbox for that token will be automatically checked. If you have a balance of both tokens, both checkboxes will be checked.

Zap using one token:

You can add liquidity with only one token from the trading pair. Simply check the box for the token you wish to use. Zap will automatically swap half of the selected token into the other token in the pair before adding liquidity. A warning will indicate which token will be converted.

If the price impact is too high, Zap will warn you.

Proceed with Zap:

When you click “Supply,” the details of the Zap will be displayed for your confirmation:

- The number of LP tokens you will receive.

- The input token and the amount you are committing.

- How the input token is traded to match a suitable ratio split of your chosen range.

- All the fee info you have to pay (now just swap fee — the fee equals you swap manually)

Zap Out (Remove Liquidity)

Zap also allows you to receive a single token from the trading pair when removing liquidity.

1. Visit your position list

2. Click on a specific position, and click Remove Position

3. You will see two options, click on Zap Out, choose the token you want to receive. Wait for the simulation, and click Zap Out. You will receive the zap token you choose, two main amounts will automatically be changed to zap token but incentives are left.

In this example, you will receive 0.073265 USDT (from ORAI and AIRI) and 0.033068 AIRI incentive token

--

--