/cairo-erc-2981

NFT Royalty Standard

Primary LanguageCairoApache License 2.0Apache-2.0

ERC-2981 NFT Royalty Standard

NFT Royalty Contracts written in Cairo for Starknet.

About

A Cairo implementation of EIP-2981 based on Openzeppelin Solidity implementation. EIP-2981 is an Ethereum standard for NFT Royalty management.

⚠️ WARNING! ⚠️

This is repo contains highly experimental code. Expect rapid iteration. Use at your own risk.

Project setup

📦 Requirements

🎉 Install

protostar install

⛏️ Compile

make

🌡️ Test

# Run all tests
make test

# Run only unit tests
protostar test tests/units

# Run only integration tests
protostar test tests/integrations

📄 License

This project is released under the MIT license.