Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
ERC721 NFT Sale with wallet cap
copy icon
Cookbook
• version 1.0.8
NFT
Sale
ERC721
Limited
Deployable

ERC721 NFT Sale with wallet cap

ERC721 NFT with the following features: -Built-in sale with an adjustable price. -Wallets can only purchase a limited number of NFTs during the sale. -Reserve function for the owner to mint free NFTs. -Fixed maximum supply.

*Visit desktop site to download or deploy

Version

1.0.8

Creator

Cookbook

Recent Use

🍞 0x9f5E downloaded
🥐 0x7Ff3 saved
🥖 0x4209 downloaded
🥨 0xA770 downloaded
🥯 0xC6ad deployed
🥞 0x78B9 deployed
🧀 0x7015 deployed
🍖 0x244B downloaded
🍗 0x244B deployed
🥩 0x82F4 deployed

Last Publish

9/6/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
approve(address,uint256) :
See {IERC721-approve}.
balanceOf(address) :
See {IERC721-balanceOf}.
getApproved(uint256) :
See {IERC721-getApproved}.
isApprovedForAll(address,address) :
See {IERC721-isApprovedForAll}.
mint(uint256) :
An external method for users to purchase and mint NFTs. Requires that the sale is active, that the minted NFTs will not exceed the `MAX_SUPPLY`, that the user's `walletLimit` will not be exceeded, and that a sufficient payable value is sent.
name() :
See {IERC721Metadata-name}.
owner() :
Returns the address of the current owner.
ownerOf(uint256) :
See {IERC721-ownerOf}.
renounceOwnership() :
Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
reserve(uint256) :
A way for the owner to reserve a specifc number of NFTs without having to interact with the sale.
safeTransferFrom(address,address,uint256) :
See {IERC721-safeTransferFrom}.
safeTransferFrom(address,address,uint256,bytes) :
See {IERC721-safeTransferFrom}.
setApprovalForAll(address,bool) :
See {IERC721-setApprovalForAll}.
setBaseURI(string) :
Updates the baseURI that will be used to retrieve NFT metadata.
setCurrentPrice(uint256) :
Sets the price of each NFT during the initial sale.
setSaleIsActive(bool) :
Sets whether or not the NFT sale is active.
setWalletLimit(uint256) :
Sets the maximum number of NFTs that can be sold to a specific address.
symbol() :
See {IERC721Metadata-symbol}.
tokenByIndex(uint256) :
See {IERC721Enumerable-tokenByIndex}.
tokenOfOwnerByIndex(address,uint256) :
See {IERC721Enumerable-tokenOfOwnerByIndex}.
tokenURI(uint256) :
See {IERC721Metadata-tokenURI}.
totalSupply() :
See {IERC721Enumerable-totalSupply}.
transferFrom(address,address,uint256) :
See {IERC721-transferFrom}.
transferOwnership(address) :
Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.
withdraw() :
A way for the owner to withdraw all proceeds from the sale.

Get Cookin'
share iconShare

copy iconNo-Code Deploy
copy iconDownload Source
copy iconnpx cookbookdev i nft-sale-with-wallet-cap
copy icon

Bytecode

Download

Verification

Download

Recent Use

🍞 0x9f5E downloaded
🥐 0x7Ff3 saved
🥖 0x4209 downloaded
🥨 0xA770 downloaded
🥯 0xC6ad deployed
🥞 0x78B9 deployed
🧀 0x7015 deployed
🍖 0x244B downloaded
🍗 0x244B deployed
🥩 0x82F4 deployed

Last Publish

9/6/2022

Solidity Compiler

0.8.12+commit.f00d7308

Version

1.0.8

Creator

Cookbook

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.