Yahoo Search Búsqueda en la Web

Resultado de búsqueda

  1. 1 de nov. de 2022 · Niftyswap — Buy and sell SFTs instantly. Provide liquidity to earn fees. Niftyswap is a decentralized (AMM) marketplace for semi-fungible tokens (SFTs) and web3 collectibles.

    • Overview
    • Description
    • Getting started
    • Differences with Uniswap
    • Contracts
    • Security Review
    • Dev env & release
    • LICENSE

    Niftyswap is a decentralized token swap protocol for ERC-1155 tokens on Ethereum. In other words, Niftyswap is Uniswap for ERC-1155 tokens.

    For detailed documentation on the Niftyswap Protocol and how to use it, please read the SPECIFICATION.

    Niftyswap is an implementation of Uniswap, a protocol for automated token exchange on Ethereum. While Uniswap is for trading ERC-20 tokens, Niftyswap is a protocol for ERC-1155 tokens. Both are designed to favor ease of use and provide guaranteed access to liquidity on-chain.

    Most exchanges maintain an order book and facilitate matches between buyers and sellers. Niftyswap smart contracts hold liquidity reserves of various tokens, and trades are executed directly against these reserves. Prices are set automatically using the constant product $x*y = K$ market maker mechanism, which keeps overall reserves in relative equilibrium. Reserves are pooled between a network of liquidity providers who supply the system with tokens in exchange for a proportional share of transaction fees.

    An important feature of Niftyswap is the utilization of a factory/registry contract that deploys a separate exchange contract for each ERC-1155 token contract. These exchange contracts each hold independent reserves of a single fungible ERC-1155 currency and their associated ERC-1155 token id. This allows trades between the Currency and the ERC-1155 tokens based on the relative supplies.

    For more details, see Specification

    Install

    yarn add @0xsequence/niftyswap or npm install @0xsequence/niftyswap

    There are some differences compared to the original Uniswap that we would like to outline below:

    1.For ERC-1155 tokens, not ERC-20s

    2.Base currency is not ETH, but needs to be an ERC-1155

    3.Liquidity fee is 0.5% instead of 0.3%

    4.All fees are taken from base currency (Uniswap takes trading fees on both sides). This will lead to some small inneficiencies which will be corrected via arbitrage.

    5.Users do not need to set approvals before their first trade

    NiftyswapExchange.sol: The exchange contract that handles the logic for exchanging assets for a given base token.

    NiftyswapFactory.sol: The exchange factory that allows the creation of nifyswap exchanges for the tokens of a given ERC-1155 token conract and an ERC-1155 base currency.

    Niftyswap has been audited by two independant parties and all issues discovered were addressed.

    •Agustín Aguilar**

    •Consensys Diligence

    ** Agustín was hired as a full-time employee at Horizon after the audit was completed. Agustín did not take part in the writing of Niftyswap contracts.

    This repository is configured as a yarn workspace, and has multiple pacakge.json files. Specifically, we have the root ./package.json for the development environment, contract compilation and testing. Contract source code and distribution files are packaged in "src/package.json".

    To release a new version, make sure to bump the version, tag it, and run yarn release. The release command will publish the @0xsequence/niftyswap package in the "src/" folder, separate from the root package. The advantage here is that application developers who consume @0xsequence/niftyswap aren't required to install any of the devDependencies in their toolchains as our build and contract packages are separated.

    Copyright (c) 2017-present Horizon Blockchain Games Inc.

    Licensed under Apache-2.0

  2. The Sequence Marketplace API service offers a simple and fast way to interact with sequence marketplace protocols. The API is designed to be easy to use and to have all the features you need to build a fully functional marketplace. Edit this page.

  3. Niftyswap is an implementation of Uniswap, a protocol for automated token exchange on Ethereum. While Uniswap is for trading ERC-20 tokens, Niftyswap is a protocol for ERC-1155 tokens. Both are designed to favor ease of use and provide guaranteed access to liquidity on-chain.

  4. www.npmjs.comniftyswapniftyswap - npm

    Niftyswap is an implementation of Uniswap, a protocol for automated token exchange on Ethereum. While Uniswap is for trading ERC-20 tokens, Niftyswap is a protocol for ERC-1155 tokens. Both are designed to favor ease of use and provide guaranteed access to liquidity on-chain.

  5. ¿Qué es NiftySwap? Niftyswap es un protocolo AMM para el mercado de coleccionables SFT, que se ejecuta en todas las redes EVM, eso es, compatibles con Ethereum. Mientras que Uniswap es un DEX para intercambiar tokens fungibles (tokens ERC-20), Niftyswap es un protocolo dedicado a intercambiar tokens semi fungibles (tokens ERC-1155).

  6. 27 de feb. de 2022 · Nifty Swap. unverified. February 27, 2022 – March 06, 2022. Website Twitter. Blockchain: Polygon. NiftySwap is making it easy and fun to bundle, barter, and trade your NFTS, crypto, or both. Built by thirdweb using thirdweb.