liteflow-labs / rarible-protocol-contracts

Interfaces for smart contracts used by Rarible
MIT License
0 stars 0 forks source link

Smart contracts for Rarible protocol

Consists of:

Compile, Test, Deploy

yarn
yarn bootstrap

then use truffle to compile, test: cd into directory and then

truffle test --compile-all

Overview of the protocol

Rarible protocol is a combination of smart-contracts for exchanging tokens, tokens themselves, APIs for order creation, discovery, standards used in smart contracts.

Protocol is primarily targeted to NFTs, but it's not limited to NFTs only. Any asset on EVM blockchain can be traded on Rarible.

Smart contracts are constructed in the way to be upgradeable, orders have versioning information, so new fields can be added if needed in future.

Trade process overview

Users should do these steps to successfully trade on Rarible:

If user wants to cancel order, he must call cancel function of the Exchange smart contract

Users who want to purchase something on Rarible should do the following:

Suggestions

You are welcome to suggest features and report bugs found!

License

Smart contracts for Rarible protocol are available under the MIT License.