๐Ÿ”„hSwap v1

Direct Link to hSWAP V1

hSwap is the native exchange protocol on Haven1 Testnet that empowers users to trade cryptocurrencies directly from their decentralized wallets, eliminating the need for traditional centralized exchanges. By leveraging an automated market maker (AMM) system, hSwap enables instantaneous and efficient trading of digital assets, without relying on traditional order books.

The power of liquidity pools

At the heart of hSwap lies its ingenious use of liquidity pools. These pools are a collection of funds contributed by users, designed to facilitate seamless trading. Each pool typically contains two assets, such as ETH, and a specific token like USDC. All transactions within hSwap are securely and automatically executed through smart contracts, ensuring transparency and trust.

How hSwap's AMM works

hSwap's AMM model utilizes a constant product formula to maintain balance within the liquidity pools, enabling smooth and frictionless trades. When a trade is executed, the smart contract automatically adjusts the asset prices based on the trade size and the reserves in the liquidity pool. This ensures that the trading pair's value remains balanced, providing a stable environment for traders. Learn more about the AMM Model.


Executing trades on hSwap

Step 1: Accessing hSwap

  1. Via Haven1 ecosystem: Access through the Haven1 Ecosystem page.

  2. Direct access: Visit the hSwap protocol website directly.

Step 2: Trading process

  1. Select tokens: In the 'From' field, choose the token you want to exchange (e.g., H1), and in the 'To' field, select the token you want to receive (e.g., ETH).

  2. Enter trade amount: Input the amount in the 'From' field. hSwap will automatically show the estimated amount of the second token you will receive.

  1. Set slippage tolerance: Adjust the slippage tolerance to set the maximum acceptable price difference during the trade.

  2. Review and confirm: Double-check the trade details, including the token pair, trade amount, and slippage tolerance.


Adding liquidity on hSwap

  1. Access the pool: Navigate to the 'Pool' tab on hSwap and select your desired token pair (e.g., H1/ETH).

  2. Add liquidity: Click 'Add Liquidity' and input the amounts of each token you want to contribute, ensuring balanced values.

  3. Review and confirm: hSwap will show the number of LP tokens youโ€™ll receive. Review and click 'Supply' to proceed.

  1. Confirm transaction: Approve the transaction in your wallet, checking the gas fee.

  2. Liquidity added: Once confirmed, youโ€™ve successfully added liquidity. Check your liquidity position in the 'Your Liquidity' section.

hSwap is a powerful tool for trading cryptocurrency and liquidity provision on the Haven1 network. By following this guide, users can effectively engage in trading activities and contribute to liquidity pools, benefiting from the platformโ€™s innovative features and efficient trading mechanisms.

Last updated