@0xsequence/erc-1155 中文文档教程
@0xsequence/erc-1155
序列化 ERC-1155 合约。 有关详细信息,请参阅 github.com/0xsequence/erc-1155。
Getting started
Install
yarn add @0xsequence/erc-1155
或 npm install @0xsequence/erc-1155
Usage from Solidity
pragma solidity ^0.7.4;
import '@0xsequence/erc-1155/contracts/tokens/ERC1155/ERC1155.sol';
contract MyERC1155Token is ERC1155 {
...
}
NOTES
@0xsequence/erc-1155
包含以下文件包分发:
artifacts
-- hardhat output of contract compilationtypings
-- ethers v5 typings for easier interfacing with the contract abis
LICENSE
版权所有 (c) 2017 年至今 Horizon Blockchain Games Inc。
根据 Apache-2.0 获得许可
@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.7.4;
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 compilationtypings
-- ethers v5 typings for easier interfacing with the contract abis
LICENSE
Copyright (c) 2017-present Horizon Blockchain Games Inc.
Licensed under Apache-2.0