Compatibility
Requirements to be compatible with Venn
Requirements to be compatible with Venn
The best way for dapps to become compatible with Venn Smart Accounts is through EIP-1271. Here is a on how to make the proper adaptation.
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!
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 . Words MUST, REQUIRE, SHOULD in accordance .
Implementations MUST:
Use rentNFT
, as defined in IMarketPlace
, 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.
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.