Skip to content

Lesson 11 createCollectible does not seem to create (tokenCounter still 0) #801

Answered by shonendumm
shonendumm asked this question in Q&A
Discussion options

You must be logged in to vote

Hours later, when I checked the contract transactions and tokenCounter again, it seems to be updated to 2 now.

I think it's because the Chainlink VRFCoordinator takes some time to call the callback function fulfillRandomness that will mint the NFT. Hence there's some delay between createCollectible and actually minting the token.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cromewar
Comment options

Answer selected by shonendumm
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