Relative Content

Tag Archive for pythonsoliditychainlinkbrownie

how to create a subscription in VRFCoordinatorV2_Mocks from brownie?

I am trying to create a subscriptionId of the VRFCoordinatorV2_5Mokcs to implement a learning contract that consists of a lottery.
The documentation suggests: Call the createSubscription function (which VRFCoordinatorV2_5Mock inherits) to create a new subscription. so in my code I wrote:

how to create a subscription in VRFCoordinatorV2_Mocks from brownie?

I am trying to create a subscriptionId of the VRFCoordinatorV2_5Mokcs to implement a learning contract that consists of a lottery.
The documentation suggests: Call the createSubscription function (which VRFCoordinatorV2_5Mock inherits) to create a new subscription. so in my code I wrote: