Skip to main content

Erc1155.signature property

Signature Minting

Example

// see how to craft a payload to sign in the `contract.erc1155.signature.generate()` documentation
const signedPayload = contract.erc1155.signature().generate(payload);

// now anyone can mint the NFT
const tx = contract.erc1155.signature.mint(signedPayload);
const receipt = tx.receipt; // the mint transaction receipt
const mintedId = tx.id; // the id of the NFT minted

Signature:

get signature(): Erc1155SignatureMintable;

Remarks

Generate dynamic NFTs with your own signature, and let others mint them using that signature.