Skip to content

is programmatically funding the subscription a good idea ? #2106

Answered by alymurtazamemon
sadath-12 asked this question in Q&A
Discussion options

You must be logged in to vote

@sadath-12 If you are talking about this:

await VRFCoordinatorV2Mock.fundSubscription(subscriptionId, FUND_AMOUNT)

Then it is a mock finding that we are doing only locally, and I already told you the purpose behind mock things in another discussion. But for testnets or mainnet networks, we must have to deposit funds (LINK) on the Chainlink VRF website and they will assign us a subscription id, we need to tell them about the smart contracts by adding consumer on their website.

Ask anything if you have any questions!

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@alymurtazamemon
Comment options

@alymurtazamemon
Comment options

@sadath-12
Comment options

@alymurtazamemon
Comment options

@sadath-12
Comment options

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