Docs

The mechanics, the fees and the contracts behind JPEGFloor.

New here? Start with How it works.

Core pieces

  • Vault. One per collection. It holds deposited NFTs and issues one vault token for each NFT it holds. Vault tokens are ordinary ERC-20 tokens.
  • Market. A vault token / ETH pool. It is created when the first NFTs are deposited, at an opening price per NFT chosen by the opener (at least 0.001 ETH).
  • Coin. An ERC-20 launched on the market and paired with the vault token. Many coins can share one market.

Opening a market

Opening a market needs at least one NFT from an allowlisted collection. The NFTs are deposited into the vault for good: they cannot be withdrawn, only redeemed at market price by whoever buys them out. In return, the opener receives 80% of the vault token pair’s trading fees and half of the redeem fees.

Trading

  • With ETH. The router swaps ETH into vault tokens and vault tokens into the coin in one transaction, and back when selling.
  • With NFTs. Deposit NFTs to receive vault tokens and swap them into a coin, or sell a coin and redeem specific NFTs from the vault. Redeeming costs a 2% fee in vault tokens.
  • Price impact. A new market holds only the NFTs deposited so far, so large trades move the price a lot. The trade box always shows the expected price impact before you sign.

Collections

Collections are added to an allowlist by the team. Some collections use transfer rules (ERC721-C) that only allow approved contracts to move their NFTs; if those rules would block a deposit, the collection is hidden until its creators allow JPEGFloor’s contracts.

Contracts

All contracts are deployed on Robinhood Chain (chain id 4663) and verified on Sourcify.

Risks

The contracts have not been audited. Coins can lose all of their value, NFT floors can fall, and deposited NFTs cannot be withdrawn. Only use funds you can afford to lose. Nothing on this site is financial advice.