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

Package detail

@0xsequence/erc-1155

0xsequence49Apache-2.04.0.3TypeScript support: included

ERC-1155 implementation for Ethereum

tokens, collectibles, ERC1155, ERC-1155, fungible, non-fungible, semi-fungible, Ethereum

readme

@0xsequence/erc-1155

Sequence ERC-1155 contracts. For more information see, github.com/0xsequence/erc-1155.

Getting started

Install

yarn add @0xsequence/erc-1155 or npm install @0xsequence/erc-1155

Usage from Solidity

pragma solidity ^0.8.0;

import '@0xsequence/erc-1155/contracts/tokens/ERC1155/ERC1155.sol';

contract MyERC1155Token is ERC1155 {
  ...
}

NOTES

@0xsequence/erc-1155 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