@0xsequence/niftyswap

Swap protocol for ERC-1155 tokens, inspired by Uniswap

Usage no npm install needed!

<script type="module">
  import 0xsequenceNiftyswap from 'https://cdn.skypack.dev/@0xsequence/niftyswap';
</script>

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