Log In

NFT AMM Explanation

NFT AMM pools (Non-fungible token Automated Market Maker pools) are a decentralized trading method based on blockchain technology. This type of transaction can increase the liquidity of the NFT market and eliminate the need for intermediaries and exchanges. The NFT AMM pool model is based on the automation of supply and demand and the price calculation to improve transaction efficiency and eliminate the need for price negotiation. This article will provide a detailed introduction to the main features and operations of this model:

Short Intro of EZ Swap:
EZ Swap is developing an NFT DEX protocol that enables games and utility NFTs to trade their NFTs using a native NFT DEX with NFT AMM, meeting games’ needs of market making. Currently, it supports Polygon, ETH, zkSync and Arbitrum.

Main features

  1. Pool types:

    1. Trade Pool: Third-party users can buy and sell NFTs through this pool, and the creator of the pool can earn fees from the trading activities of third-party users. This type of pool can provide a way for players holding a large number of NFTs to mine liquidity, create NFT-ETH trading pairs by providing liquidity for NFTs, earn transaction fees, provide a source of income for the big players in the NFT project, and capture better liquidity for the project side.

    2. Buy Pool: Deposit ETH and receive the NFT you want. This type of pool is used for intended buyers to offer for NFT series, and the corresponding NFT holders can sell NFTs to the pool for ETH at any time. Liquidity can be added by sending ETH to the created buy pool and creating new buy pools.

    3. Sell Pool: Deposit NFTs and exchange for ETH. NFT holders can sell their NFTs by listing them in this pool. Liquidity can be added by adding NFTs to the created sell pool and creating new sell pools to list NFTs.

  2. Price change model

    This model can automatically adjust the selling price of NFTs and the offer price, and can be easily used for batch selling NFTs and batch offering, and can adjust the price according to market conditions.

    1. Exponential: The price of the next NFT automatically changes exponentially after each transaction, and the price changes dramatically.

    2. Linear: The price of the next NFT automatically changes linearly after each transaction, and the price changes smoothly.

  3. Network support

    1. ETH Main

      Router Contract:0xb1d1aBE25073bf3EbA0AFd5381CDa0B2Bd61c8C0
      Factory Contract:0x2A95E4FDF5F12B9E9AC627fEcbF70420D3202db1
      Exponential Contract:0x4f65da64c4b1cad8f58fdf06a55bca73e6a840ec
      Linear Contract:0x20c318aa7c2ec1190f20d41eb6c6f3ec9f5955fe
      
    2. POLYGON

      Router Contract:0x3d51749Cb2Db7355392100BAc202216BE7071E66
      Factory Contract:0x353F4106641Db62384cF0e4F1Ef15F8Ac9A9fb4B
      Exponential Contract:0x20C318AA7c2eC1190F20D41EB6C6F3Ec9f5955fe
      Linear Contract:0x9Be2Dc731bFf38B0a5D893c7a5ECE8e170c67b86
      
    3. ARB Main

      Router Contract:0x2A95E4FDF5F12B9E9AC627fEcbF70420D3202db1
      Factory Contract:0x3d51749Cb2Db7355392100BAc202216BE7071E66
      Exponential Contract:0x20C318AA7c2eC1190F20D41EB6C6F3Ec9f5955fe
      Linear Contract:0x9Be2Dc731bFf38B0a5D893c7a5ECE8e170c67b86
      

      EOS Main

      Router Contract:0x3d51749Cb2Db7355392100BAc202216BE7071E66
      Factory Contract:0x353F4106641Db62384cF0e4F1Ef15F8Ac9A9fb4B
      Exponential Contract:0x20C318AA7c2eC1190F20D41EB6C6F3Ec9f5955fe
      Linear Contract:0x9Be2Dc731bFf38B0a5D893c7a5ECE8e170c67b86
      

      EOS Test

      Router Contract:0x9D79c95314eB049e1FAFEAf14bc7B221Baf95F81
      Factory Contract:0xe893287f3B0e5682e639caa51fdAfe9653AB4abf
      Exponential Contract:0xD7d30a3069E034558e2639325EB89f87E4fCB001
      Linear Contract:0x0d197261f32dd36B07cAFe633Af072B12832aA5a
      

      Manta Main

      Router Contract:0x3d51749Cb2Db7355392100BAc202216BE7071E66
      Factory Contract:0x353F4106641Db62384cF0e4F1Ef15F8Ac9A9fb4B
      Exponential Contract:0x20C318AA7c2eC1190F20D41EB6C6F3Ec9f5955fe
      Linear Contract:0x9Be2Dc731bFf38B0a5D893c7a5ECE8e170c67b86
      

      Manta Test

      Router Contract:0x28Fd27256d1E1CEaeB38a33A8C8945E4421f9EC3
      Factory Contract:0x86388a46f5e3dafbf815b7521e244930E0727eE3
      Exponential Contract:0x75f155c8F3AF789Ea05A1061467476b216F9102b
      Linear Contract:0xE567f07cD4aeC9AEDD8A54E4F2A4d24de204eB98
      
    4. zkSync Goerli

      Router Contract:0xC72564dCEe45a8DEf91dA25F875719c2f1Fa8fad
      Factory Contract:0xBcB7032c1e1Ea0Abc3850590349560e1333d6848
      Exponential Contract:0xd3e02292A7730560a1BaC2207642864A5F332C0c
      Linear Contract:0x4f639fE811181E9e11269fb66ffC9308de9A9Cd5
      
  4. Contract support

    1. ERC721
    2. ERC1155
  5. Full demo: https://github.com/EZswap-Labs/api-demo

  6. Demo presentation: https://ezswap-labs.github.io/api-demo/#/mathlib

  7. API address

Test domain: https://testapi.ezswap.io
Official domain: https://api.ezswap.io
  1. API address
Test domain: https://testapi.ezswap.io
Official domain: https://api.ezswap.io

install package

yarn add ezswap_math
https://ezonline.s3.us-west-2.amazonaws.com/apienglishliucheng.png