Skip to content

Lesson 9 Lottery: How does performUpkeep() actually call the fulfillRandomWords() function? #304

Answered by PatrickAlphaC
BorisRy asked this question in Q&A
Discussion options

You must be logged in to vote

performUpkeep calls requestRandomWords - which kicks off a Chainlink VRF Request.

A chainlink node later will then respond by calling the fulfillRandomWords function!

Feel free to watch the walkthrough: https://www.youtube.com/watch?v=rdJ5d8j1RCg

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PatrickAlphaC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants