Skip to main content

Token.signature property

Signature Minting

Example

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

// now anyone can mint the tokens
const tx = contract.signature.mint(signedPayload);
const receipt = tx.receipt; // the mint transaction receipt

Signature:

signature: Erc20SignatureMintable;

Remarks

Generate tokens that can be minted only with your own signature, attaching your own set of mint conditions.