Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@0xsequence/niftyswap

0xsequence67Apache-2.06.0.1TypeScript support: included

Swap protocol for ERC-1155 tokens, inspired by Uniswap

Ethereum, Niftyswap, Uniswap, ERC-1155, ERC-20, Token, NFT

readme

@0xsequence/niftyswap

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

For more information see, github.com/0xsequence/niftyswap

Getting started

Install

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

Contract Verification

yarn verify --network {NETWORK_NAME} "{CONTRACT_NAME}={CONTRACT_ADDRESS}"

NOTES

@0xsequence/niftyswap includes the following files in its package distribution:

  • artifacts -- hardhat output of contract compilation
  • typings -- ethers v5 typings for easier interfacing with the contract abis

LICENSE

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

Licensed under Apache-2.0