Timeline for How do I set the price automatically?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 13, 2021 at 20:08 | comment | added | Patrick Collins | Pretty much, yes. | |
Sep 13, 2021 at 6:27 | comment | added | Denis Kataev | Awww, I'm sorry, I may have misunderstood. Do you mean that the price in the NFT can only be set through the OpenSea website or by writing your own web implementation? | |
Sep 13, 2021 at 3:19 | comment | added | Denis Kataev | Thank you, can you find similar examples of working with the interface ? | |
Sep 12, 2021 at 20:08 | comment | added | Patrick Collins | Opensea has their own front end (website) that they put on top of smart contracts. If you wanted to see your functions, you'd have to build your own front end to do that. | |
Sep 12, 2021 at 4:41 | comment | added | Denis Kataev | Thanks for the reply. I don't quite understand the principle of price setting, I tried to create a function like function allowBuy(uint256 _tokenId, uint256 _price) external { require(msg.sender == ownerOf(_tokenId), 'Not owner of this token'); require(_price > 0, 'Price zero';) tokenIdToPrice[_tokenId] = _price; } But when I go to OpenSea I don't see the price, only the sell button | |
Sep 11, 2021 at 20:59 | history | answered | Patrick Collins | CC BY-SA 4.0 |