This repository contains the smart contracts and transactions for the Flow blockchain used by Rarible marketplace.
The smart contracts are written in Cadence.
For more information, see Rarible Protocol Flow documentation.
Contract | Mainnet | Testnet |
---|---|---|
RaribleFee | 0x336405ad2f289b87 |
0xebf4ae01d1284af8 |
LicensedNFT | 0x01ab36aaf654a13e |
0xebf4ae01d1284af8 |
RaribleNFT | 0x01ab36aaf654a13e |
0xebf4ae01d1284af8 |
RaribleOrder | 0x01ab36aaf654a13e |
0xebf4ae01d1284af8 |
RaribleFee
— fee manager that holds the rates and addresses fees.LicensedNFT
— contract interface adds royalties to NFT. You can implement thisLicensedNFT
in your contract (along withNonFungibleToken
), and your royalties will be taken when trading on Rarible.RaribleNFT
— Rarible NFT contract that implements the Flow NFT standard is equivalent to ERC-721 or ERC-1155 on Ethereum.RaribleOrder
— marketplace contract is the wrapper for the standard NFTStorefront for handling market orders.
The directories here are organized info contracts and transactions. Contracts contain the code that is deployed to Flow.
contracts/
— where the Rarible related smart contracts live.contracts/core/
— contains flow core contracts.contracts/third-party/
— contains third-party NFT contracts supported by the market.transactions/
— contains all the transactions and scripts that are associated with the Rarible smart contracts.transactions/nft
— transactions and scripts for actions on supported NFT's.transactions/storefront
— storefront actions for supported NFT's.
You are welcome to suggest features and report bugs found!
The codebase is maintained using the "contributor workflow" where everyone without exception contributes patch proposals using "pull requests" (PRs). This facilitates social contribution, easy testing, and peer review.
See more information on CONTRIBUTING.md.
Rarible Flow Smart Contracts are available under the GPL v3 license.