Skip to content

Lesson 7: VRFConsumerBase & VRFConsumerBaseV2 & REMIX - out of gas exception #1696

Answered by Nlferu
rkovrigin asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @rkovrigin
As I remember you have to first perform subscription (basically add your account to chainlink) then you have to fund it with some LINK instead of ETH and at last, you have to add deployed contract address to that subscription account you have added in first step, so this deployed contract can use LINK you funded to subscription account. Then it will be able to generate random number for you.

Also remember to pass correct ID from subscription, you can read it as showed below:

You can also follow below video as it shows above steps in details:
https://www.youtube.com/watch?v=rdJ5d8j1RCg&ab_channel=Chainlink

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cromewar
Comment options

@rkovrigin
Comment options

@rkovrigin
Comment options

Answer selected by cromewar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants