SignatureDrop.claimConditions property
Configure claim conditions
Example
const presaleStartTime = new Date();
const claimCondition = {
startTime: presaleStartTime, // start the presale now
maxQuantity: 2, // limit how many mints for this presale
price: 0.01, // presale price
snapshot: ["0x...", "0x..."], // limit minting to only certain addresses
};
await contract.claimConditions.set([claimCondition]);
Signature:
claimConditions: DropClaimConditions<SignatureDropContract>;
Remarks
Define who can claim NFTs in the collection, when and how many.