I'm trying to allow NFT holders to sell their tokens by listing prices (ETH) and allow others to buy those listed tokens.
I used openzeppelin and succesfully implemented and tested my token creation. Now, if I want that exchange to be happened, how do I further implement? I created another contract btw to begin with.
import "openzeppelin-solidity/contracts/token/ERC721/ERC721Token.sol";
contract MyTokenSale {
ERC721Token public token;
constructor(address _tokenAddress) public {
token = ERC721Token(_tokenAddress);
}
Any examples or code snippets would be greatly appreciated.