Zora is about bringing creativity onchain. Protocol Rewards is our latest offering for creators and developers to earn from their contributions to our growing ecosystem.
This repository features:
- The
ERC721RewardsandERC1155Rewardsabstract smart contracts which handle reward computation and routing for Zora ERC-721 and ERC-1155 NFT mints - The
ProtocolRewardssingleton smart contract used to deposit and withdraw rewards
Documentation is available at docs.zora.co.
The ProtocolRewards contract has a implementation caveat. If you send any value to a zero (address(0)) address in depositRewards, that value is implicitly burnt by being locked in the contract at the zero address. The function will not revert or redirect those funds as currently designed. We may re-visit this design in the future but for the release of v1.1 this is the current and expected behavior.
ProtocolRewards v1.1 is deterministically deployed at 0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B.
Current Supported Chains:
- Zora Mainnet
- Zora Goerli
- Ethereum Mainnet
- Ethereum Goerli
- OP Mainnet
- OP Goerli
- Base Mainnet
- Base Goerli
To interact with the ProtocolRewards contract:
yarn add @zoralabs/protocol-rewardsTo interact with Zora NFT contracts:
yarn add @zoralabs/nft-drop-contracts @zoralabs/zora-1155-contracts- 5 ETH for any critical bugs that could result in loss of funds.
- Rewards will be given for smaller bugs or ideas.
- Send your bug reports to [email protected] for a member of our security team to further investigate.