HorizonDEX Testnet Tutorial

HorizonDEX
4 min readJun 26, 2023

--

HorizonDEX is poised to become a pioneering DeFi project on the revolutionary Layer 2 network, Linea Chain.

Prior to the official launch, we want to ensure everything operates smoothly and users enjoy the best possible experience on our decentralized exchange (DEX). To accomplish this, we will be conducting a testnet period. In this article, we will guide you through the necessary steps to utilize HorizonDEX on the Linea Chain Testnet.

Before testing out HorizonDEX, you need Linea Testnet Ethereum on your wallet. If you don’t know how to get them, visit our explanatory article on how to get Linea Testnet Ethereum:

How to get Linea Testnet Ethereum

Swap

HorizonDEX has an easy-to-navigate website and our Swap tool is highly user-friendly with its basic design. Users can easily swap and exchange their cryptocurrencies on the swap tool.

You need to connect your wallet to the protocol by clicking the Connect Wallet button on the top right side of the screen. HorizonDEX offers its users a rich selection of popular wallets, including Metamask, WalletConnect, Coin98, LEDGER, Brave Wallet, and Coinbase Wallet.

Now you are connected and ready to use the swap. You can select the tokens from the dropdown menu on the right side of the swap box.

HorizonDEX allows you to set your slippage tolerance for the trade, HorizonDEX will offer 0.5 % as default.

Once you submit the order and get approved, the transaction should be confirmed quickly.

Pools

Pools section is the place where you can see the full list of the liquidity pools, add liquidity to existing pools and create your own liquidity pool. There are currently ETH/Dai Mock ETH/USDC and ETH/USDT Mock pools. You can swap your Testnet Ethereum to Dai Mock, USDC mock or USDT Mock on the swap tool and then add them into the pools.

Adding Liquidity

You can simply click on the Add Liquidity button on the right side of the pools. Then you will be prompted to select your preferred price range for concentration. We made it easy and provided you with pre-made settings and custom settings.

You will see the following options;

Active, Passive, Custom

Active and Passive options are pre-made settings. So users doesn’t have to adjust price range and it will be automatically be adjusted. The difference between Active and Passive options is the yield/risk ratio. Active options offers higher yield and higher risk while Passive offers lower yield and lower risk. If you prefer to make your own setting, you can Select Custom to enter the price range.

Before adding liquidity, firstly you will need to approve the tokens to be spent. If you have ETH and would like to add liquidity to zk.USDT-ETH pair, you will need to wrap it for WETH from Swap page first.

The fee tier defaults at 0.3%. For the testnet we only have 1 fee tiers, but we will have much more for the mainnet.

Your Liquidity

On this tab, you can see the pools that you have contributed. Your position will appear under ‘My Liquidity’ section where you can remove your liquidity or increase the amount.

About HorizonDEX

HorizonDEX is the first Concentrated Liquidity DEX built on ConsenSys’ Linea Layer 2. Unlike traditional Automated Market Makers, HorizonDEX liquidity pools utilize invested capital with greater efficiency — resulting in greater returns for liquidity providers.

HorizonDEX is driven to deliver an unrivalled trading experience with superior DeFi liquidity efficiency — achieving this via its concentrated liquidity protocol and series of affiliate interoperable functional modules.

To learn more, follow us on Medium or see horizondex.io .

TwitterGitHubDocsDiscordTelegram

--

--

HorizonDEX

Non-custodial, Liquidity Hub and Hyper-efficient DEX powered by #Linea|Swap, LP and Staking | Testnet live