erc1155delta
v0.1.0
Published
[![Test](https://github.com/estarriolvetch/ERC1155Delta/actions/workflows/test.yml/badge.svg)](https://github.com/estarriolvetch/ERC1155Delta/actions/workflows/test.yml) [![Publish Package to npmjs](https://github.com/ctor-lab/ERC1155Delta/actions/workflo
Downloads
103
Readme
ERC1155Delta
ERC1155Delta is an NFT implementation/standard that is highly optimized for gas comsumption and has less impact on the blockchain storage space. ERC1155Delta is meant to be an drop-in replacement for ERC721. Like ERC721, each ERC1155Delta token is unique.
- Website: https://erc1155delta.ctor.xyz/
- Litepaper: https://mirror.xyz/ctor.xyz/pW1DxSNdaabCyHwVSfDrnlj5LLRzsA8TEfkmR-HP5PE
Installaion
npm
npm install erc1155delta
yarn
yarn add erc1155delta
Usage
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "erc1155delta/contracts/ERC1155Delta.sol";
contract ElyiumSystem is ERC1155Delta {
constructor() ERC1155Delta("https://token-cdn-domain/{id}.json") {}
function mint(
address to,
uint256 amount
) external {
_mint(to, amount);
}
}
Acknoledgement
This repository is inspired by or directly modified from the following projects:
- Openzeppelin SDK
- ERC721A