This is repo is a fork of the zora-drops-contracts repo and provides a basic setup for experimenting with writing your own custom metadata renderers. This code is NOT AUDITED, use at your own risk
- Deploy an Edition with placeholder image data on Zora. Links to testnet + mainnet create flows
- Create a simple renderer contract that follows this IMetadataRenderer interface. Can include as little as
function tokenURI(uint256 _tokenId) public view returns (string memory)
&function contractURI() public view returns (string memory)
- On the Zora drop contract you deployed, go to Etherscan and call the
setMetadataRenderer
write function with valuesnewRenderer
(your contract address) andsetupRenderer
(with value0x
if you don't need to initialize anything).
- 2 hour loom tutorial (0:00 - 21:19 external metadata renderer overview, 21:19-2:02:14 writing + testing + deploying your own). Links to Renderer + Zora Drop deployed in this tutorial
- 50 min loom tutorial on using remix to write/test/deploy your own renderer. This tutorial focuses on onchain svgs. Links to Renderer + Zora Drop deployed in this tutorial
- EditionMetadataRenderer by ZORA
- NounChecksRendererV1 by @ripe0x
- ContractReaderLiveValues by @backseats_eth
- Install Foundry
yarn install
git submodule init && git submodule update
yarn build