Skip to main content

ERC1155 Standard

The ERC1155Base smart contract implements the ERC1155 NFT standard. It is intended for the use case of minting NFTs for yourself (or to someone else) and selling those NFTs on a marketplace.

Unlocked Features

Once deployed, you'll be able to access the following contract extensions from the dashboard and the SDK:

Click on each feature to learn more about what functions are available.

Implementing the Contract Extension

Import the contract extension and make your contract inherit it.

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@thirdweb-dev/contracts/base/ERC1155Base.sol";

contract MyNFT is ERC1155Base {
constructor(
string memory _name,
string memory _symbol,
address _royaltyRecipient,
uint128 _royaltyBps
)
ERC1155Base(
_name,
_symbol,
_royaltyRecipient,
_royaltyBps
)
{}
}