zkApe
Search
K

ApeX

zkApe AMM-Dex

What is ApeX

ApeX Automated Market Maker(AMM) - or ApeX for short - is an AMM protocol built on zkSync that facilitates NFT-to-token swaps (and vice versa) using customizable binding curves. ApeX supports ERC721 NFTs, as well as all ETH and ERC20 tokens.
Liquidity Providers (LPs) can deposit assets into one-sided buy and sell pools, or two-sided trading pools that buy and sell NFTs with optional spreads for transaction fees.
Similar to other floor NFT protocols, ApeX does not distinguish between different ERC721 IDs. Pools willing to buy or sell NFTs will return the same price regardless of which NFT is sent to or from the collection.

How Does ApeX Work?

ApeX is an AMM protocol for NFTs, which means that users buy from or sell into liquidity pools instead of directly trading between themselves. If you're familiar with Uniswap, it's a similar concept but for NFTs.
Here's how it works:
1. Liquidity providers deposit NFTs and/or ETH (or an ERC20 token) into liquidity pools. They choose whether they would like to buy or sell NFTs (or both) and specify a starting price and bonding curve parameters.
2. Users can then buy NFTs from or sell NFTs into these pools. Every time an item is bought or sold, the price to buy or sell another item changes for the pool based on its bonding curve.
3. At any time, liqudity providers can change the parameters of their pool or withdraw assets.

What Is A Liquidity Pool?

A pool, or liquidity pool, is a smart contract that allows you to instantly swap between two assets. On ApeX, the most common type of pool is an NFT<>ETH pool, which means that anyone holding NFTs from that collection can instantly swap them for ETH, or vice versa.
Pools use a bonding curve to determine the relative price at which one asset is traded for another. The more an asset is bought from the pool, the more expensive it becomes. Conversely, the more an asset is sold to the pool, the cheaper it becomes.
Ideally, a pool contains some amount of both assets, enabling users to swap back and forth between them. However, it's also possible to create a pool with just one asset, meaning that users will only be able to buy that asset from the pool.
A bonding curve is a mathematical formula which defines the relationship between an asset's price and its supply. Bonding curves are a key feature of automated market makers since they are used to algorithmically adjust asset prices.
At launch, ApeX supports two types of bonding curve: linear and exponential.

Linear

With a linear rise, the price of an NFT is increased by a flat amount (called rise) every time an item is bought from the pool. Conversely, the price of the NFT is decreased by that same flat amount every time an item is sold to the pool.
For example, a liqudity provider may create an NFT<>ETH pool with a Start Price of 1 ETH and a rise of 0.1 ETH. Assuming they provide enough liquidity, the price of an NFT will increase to 1.1 ETH after one item is purchased from the pool. After a second item is purchased, the price will increase to 1.2 ETH, and so on and so forth. At any point, if an NFT is sold to the pool, the price will decrease by 0.1 ETH.

Exponential

With an exponential rise, the price of an NFT is increased by a certain percentage (also called rise) every time an item is bought from the pool. Conversely, the price of the NFT is decreased equivalently every time an item is sold to the pool.
To calculate the equivalent decrease, convert the the percentage to a decimal index (e.g. for 50%, the index would be 1.5) and divide the price by this number.
For example, a liquidity provider may create an NFT<>ETH pool with a Start Price of 2 ETH and a rise of 50%. Assuming they provide enough liquidity, the price of an NFT will increase to 2 + 50% = 3 ETH after one item is purchased from the pool. After a second item is purchased, the price will increase to 3 + 50% = 4.5 ETH, and so on and so forth. At any point, if an NFT is sold to the pool, the price will be divided by 1.5.

ApeX Bonus programme

ApeX is the first AMM protocol for NFTs on zkSync, countless projects and traders will trade on ApeX. ApeX will charge 0.3% fee for every transaction, this is mandatory, 95% will allocate to zkApe NFTs holders, 5% is for technology development. Meanwhile, we can use the income to buyback zkApes NFTs, but we will not burn them.