npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@zoralabs/mints-contracts

v0.1.4

Published

A new mechanism for minting on Zora.

Downloads

2,647

Readme

Zora MINTS

A new mechanism for minting on Zora.

Background

Previously, collectors pass send a fixed value of ETH to mint on a creator's contract.

MINTs are a new form factor of this value, represented as an 1155 token, enabling:

  • collectors to purchase the value of their MINTs in advance, based on the current price of the MINTs
  • collectors to use these MINTs at a future time to mint a Zora Creator ERC-1155 NFT, regardless of if the price to purchase a new MINT changes.

1 MINT = 1 Mint

Design

The Zora MINTs 1155 contract is an immutable ERC-1155 contract that allows for the minting and collecting of Zora Creator ERC-1155 NFTs using MINTs.

MINTs are ERC-1155s, with each token ID having a fixed value in ETH or ERC20 that can be minted at that ETH or ERC20 value. The owner of a MINT can either redeem it or use it to collect a Zora Creator ERC-1155 NFT. When it is used to collect a Zora Creator ERC-1155 NFT, the MINT is burned and the underlying value is distributed to a set of recipients in the form of fees and rewards, with the percentage split configured in the creator contract. When a MINT is redeemed, the underlying value is distributed to a desired recipient, and the MINT is burned.

The ZoraMintsManager is an administrated and upgradeble that contract controls which MINT token id can be minted for each currency type, thus defining the current price for collecting a MINT in that currency type.
While it controls the logic around which MINTs can be minted, once a MINT is minted, the corresponding value is deposited into the immutable ZoraMints1155 contract; only the owner of the MINTs can access the underlying deposited funds by redeming the MINTs or choose to do with their MINTs, and since that contract is immutable these rules could never change.

The ZoraMints1155 and ZoraMintsManager contracts are deployed deterministically to the same address on all chains: