Skip to content

0xTranqui/metadata-renderer-starter-kit

Repository files navigation

Metadata Renderer Starter Kit

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

Process

  1. Deploy an Edition with placeholder image data on Zora. Links to testnet + mainnet create flows
  2. 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)
  3. On the Zora drop contract you deployed, go to Etherscan and call the setMetadataRenderer write function with values newRenderer (your contract address) and setupRenderer (with value 0x if you don't need to initialize anything).

Helpful links

  1. 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
  2. 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
  3. EditionMetadataRenderer by ZORA
  4. NounChecksRendererV1 by @ripe0x
  5. ContractReaderLiveValues by @backseats_eth

Local development

  1. Install Foundry
  2. yarn install
  3. git submodule init && git submodule update
  4. yarn build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published