0.1.0 • Published 1 year ago

erc1155delta v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

ERC1155Delta

Test Publish Package to npmjs npm

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.

npm.io

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