Asset Chain Documentation
  • INTRODUCTION
    • 🔵Introducing Asset Chain
    • 🕔Quick Start
    • ✅Dev Onboarding Checklist
  • TECHNOLOGY
    • ⏩Overview
    • 2️⃣ 2️⃣ Lachesis aBFT
    • 🍃Proof of Stake
    • 💱Transaction Fees
    • 🏆Block Finality
    • ⛽Gas
  • GENERAL INFO
    • 🟩Network Details
    • 🦊Add Asset Chain
    • 💡Contract Addresses
    • 👀Contract Verification
    • 🍂Staking
    • Security
  • TOOLS
    • 🏗️Operate a Node
    • 🧱RPC
    • 🌉Bridge
    • ♻️Swap
    • 🗂️Indexer
    • 💼Wallets
    • 🚰Faucets
    • 🔍Block Explorers
  • 👷‍♂️Liquidity Mining
  • 🏫Asset Chain Academy
  • ™️Branding Guideline
  • 🔗Official Links
  • 🛡️Audits
Powered by GitBook
On this page
  1. TOOLS

♻️Swap

Get started with swapping tokens on Asset Chain

PreviousBridgeNextIndexer

Last updated 6 months ago

CtrlK
  • Smart Contract
  • How to Swap
  • Locking Liquidity Positions

Smart Contract

A direct fork of Uniswap-V3 exchange on the Asset Chain blockchain, implementing the constant product market maker (CPMM) curve.

The official documentation for Uniswap explains all you need: https://docs.uniswap.org

Official Deployments:

Mainnet

Contract
Address

SwapRouter

0xec2b2209d710d4283b5d1e29441df0dbb9cee5c3

NonFungiblePositionManager

0x8804e26B04f52B0183ECE80b797d1c1079956E56

UniswapV3Factory

0xa9d53862d01190e78ddaf924a8f497b4f8bb5163

Liquidity Locker

0xbaF9841A79f038d99bB8bBF26Cc6ab9cAF552b24

Testnet

Contract
Address

SwapRouter

0x365C8Bd36a27128A230B1CE8f7027d7a9e5A8f82

NonFungiblePositionManager

0x7EA8E1240762AC24A599Ab4eD86E39f989BC78A9

UniswapV3Factory

0xf509c3FbbBa099cD5D949C6621C218B3E52670F8

Liquidity Locker

0x8a7AE2D2b29b3737CA37b2f2a6406A0533015990

How to Swap

Users can decide to swap token on Mainnet or Testnet. Swapping on Testnet will use the supported test Tokens.

Click the links below to get started.

Mainnet:

Testnet: https://swap-testnet.assetchain.org/

  1. Once you visit the links above, you'll see a screen similar to the one below. Enter your intended amount to swap, then select a suitable slippage.

  1. Click on the approve button, to approve the contract to spend your token on your behalf.

  1. After confirming the transaction in your wallet, you should see a similar screen below. Approval was successfull. Next up is actual swapping.

  1. Click on the swap button, and sign the transaction. You should see a modal similar to the one below, if successful.

Congratulations! You've swapped your token successfully.

Locking Liquidity Positions

When you provide liquidity on AssetChain Swap application, you also have the option to lock that liquidity position for a period of time. In this period of time, you don't have the permission to perform any actions on your liquidity position.

The following are steps to lock liquidity position on the AssetChain Swap application

  1. View Liquidity Positions

View Liquidity Positions
  1. Single positions. This page has the 'Lock Liquidity' button below for positions that are not locked.

Lock Liquidity
  1. Choose lock period. This is the number of days in which you cannot perform any functions like closing position or decreasing liquidity in your position.

Choose lock period
  1. Locked Position.

Locked position page

Congratulations! You've locked liqudity successfully.

For supported Testnet tokens, just reach out to the team here