Compatibility
Requirements to be compatible with Venn
Dapps
The best way for dapps to become compatible with Venn Smart Accounts is through EIP-1271. Here is a nice resource on how to make the proper adaptation.
NFTs
Our VSA rent functionality supports any contract that implements IERC721
. Venn Market Place supports contracts that use ERC721URIStorage
or implements IERC721Metadata
.
Soon we will be compatible with ERC1155 implementations. Be on the lookout!
Market Places
Any NFT market place platform can make itself compatible with Venn Smart Accounts renting functionality by implementing IMarketPlace
and following a few requirements.
IMarketPlace
can be found here. Words MUST, REQUIRE, SHOULD in accordance RFC-2119.
Requirements
Implementations MUST:
Use
rentNFT
, as defined inIMarketPlace
, as it's main method (outer most function) to execute rent transactions.REQUIRE callers are Venn Smart Accounts.
REQUIRE caller's operator count for
contract_
to be ZERO.
Prescriptions
Implementations SHOULD:
REQUIRE
duration
be less then or equal to maximum duration specified by NFT owner.REQUIRE
msg.value
be enough to cover the rent value and any outstanding service fee.
To see how this can be done, checkout our Tutorials.