- This repository is a fork of ourzora/zora-drops-contracts
- However,
src/metadata/SequentialMetadataRenderer.sol
andtest/metadata/SequentialMetadataRenderer.t.sol
are a modified version of EditionMetadataRenderer. - They allow an initializer to set specific
MediaURIs
for a range oftokenIds
, e.g.tokenId=1-10
could haveimageURI=https://host.com/firstimage.jpg
whereastokenId=11-20
could haveimageURI=https://host.com/anotherimage.jpg
. - We implemented this to retroactively change our Kiwi News NFT minter's badges as we had frequently changed the imageURI but since Zora then refreshes the entire collection and not just the newly minted NFTs.
- We used
ERC721Drop.setMetadataRender
with a custom byte sequence to install the new metadata renderer (you can find the byte sequence generator as a unit test). - From now on, our idea is to update the collection's
imageURI
more often as a way to promote our NFT collection by releasing new collectable badges every now and then - Our contract is deployed at eth:0x643198A532A1D5DE706E18E324234d9A6a70562A
- License: GPL-3.0-only
forked from ourzora/zora-721-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Zora drops contracts (powers create.zora.co)
License
attestate/zora-drops-contracts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Zora drops contracts (powers create.zora.co)
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Solidity 78.6%
- TypeScript 18.3%
- JavaScript 2.4%
- Other 0.7%