NFT marketplace auctions - expiration date function trigger #4983
Unanswered
MarkizOrias
asked this question in
Q&A
Replies: 1 comment
-
@MarkizOrias You should use Chainlink's Keepers to automatically call the smart contract functions after the expiration. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Guys!
I'm trying to build something similar to what OpenSea is offering. I would like to spice up a bit the NFT marketplace project from lesson 15 and add the auctioning functionality, apart from the plain sell/buy.
What I've learned is that using block.timestamp value can be manipulated by nodes and is exposing the smart contract to vulnerabilities. So the best practice would be integrating the counter till auction's expiry directly in the Front-end.
But at the very end of the auction, an ownable function (only by auctioning contract's owner) should be called in order to:
I have a trouble understanding how that can be arranged in the most efficient and secure way, especially the point 2 & 3. Front-end is using only contract's ABIs, so how it can authorize triggering ownable function, without having an access to the private key?
Would appreciate your designing hints, folks ;)
Beta Was this translation helpful? Give feedback.
All reactions