ZORA NFT Drops Contracts
npm install @zoralabs/nft-drop-contracts1. Use wagmi/ethers/web3.js with the given artifacts (in the node package) or typechain.
2. Use our subgraph to find media / metadata information (goerli: https://api.thegraph.com/subgraphs/name/iainnash/erc721drop-goerli) (rinkeby: https://thegraph.com/hosted-service/subgraph/iainnash/erc721droprinkeby) (mainnet: https://thegraph.com/hosted-service/subgraph/iainnash/zora-editions-mainnet)
3. For your edition, call address(edition).purchase(quantity, {value: price * quantity}). Price and availability can be found from the subgraph or from the blockchain with the saleInfo call.
4. Find the transfer() or sale() event from the transaction receipt to get the ID that the user minted.
5. ✨
1. ETH NFT sales
2. Modular admin access and minting controls
3. ERC2981 on-chain royalties
4. Presale merkle trees
5. On-chain modular rendering architecture
6. ERC721A Gas savings / linear mint
7. Limit mints per address when purchasing
8. Allows for new features with opt-in gated user upgrades
9. Allows for time-based open mints
10. Includes a platform royalty fee mechanism
11. Can admin mint NFTs to addresses and airdrop to lists of addresses
ERC721DropZoraNFTCreatorV1DropMetadataRendererEditionsMetadataRendererUpgradeGatezora.eth.All drops contracts are wholly owned by their creator and allow for extensibility with rendering and minting.
The root drops contract can be upgraded to allow for product upgrades with new contracts and Zora gates allowed upgrade paths
for deployed contracts to be upgraded by the users of the platform to opt into new features.
The metadata renderer abstraction allows these drops contracts to power a variety of on-chain powered projects and also.
1. Install Foundry
1. yarn install
1. git submodule init && git submodule update
1. yarn build