Erc1155SignatureMintable class
Enables generating dynamic ERC1155 NFTs with rules and an associated signature, which can then be minted by anyone securely
Signature:
export declare class Erc1155SignatureMintable implements DetectableFeature
Implements: DetectableFeature
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(contractWrapper, storage, roles) | Constructs a new instance of the Erc1155SignatureMintable class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
featureName | "ERC1155SignatureMintable" |
Methods
Method | Modifiers | Description |
---|---|---|
generate(payloadToSign) | Generate a signature that can be used to mint an NFT dynamically. | |
generateBatch(payloadsToSign) | Generate a batch of signatures that can be used to mint many new NFTs dynamically. | |
generateBatchFromTokenIds(payloadsToSign) | Genrate a batch of signatures that can be used to mint new NFTs or additionaly supply to existing NFTs dynamically. | |
generateFromTokenId(payloadToSign) | Generate a signature that can be used to mint additionaly supply to an existing NFT. | |
mint(signedPayload) | Mint a dynamically generated NFT | |
mintBatch(signedPayloads) | Mint any number of dynamically generated NFT at once | |
verify(signedPayload) | Verify that a payload is correctly signed |