Exchange/Swap any NFT for NFT
-
Deploy it on any chain.
-
Approve your token to smart contract's address.
-
Call makeOffer() with arguments
with, [offer], [for]
makeOffer(address tradewith, [ERC721 offer's address, TokenID],[ERC721 for's address, TokenID])
Example
makeOffer("0x0000000000000000000000000000000000000000", ["0xaa9d2c05365189B1B913e0b7877CFD5d61C9Da9a",1], ["0xaa9d2c05365189B1B913e0b7877CFD5d61C9Da9a",2]); -
After calling makeOffer() contract will emit OfferCreation(maker, taker, offer, for, ID);
-
Opposite call cancelOffer(uint256 tradeID) or takeOffer(uint256 tradeID)
-
Or you cancel the trade with cancelOffer(uint256 tradeID).