Creating a Subscription
This is currently a permissioned service.
Last updated
This is currently a permissioned service.
Last updated
To access L1 VRF randomness within your application you must first deploy a contract with the appropriate logic. (see )
Once you have deployed the contract, contact to set up your subscription.
You will need to provide a subscription address that will need the following:
A wrapped native token balance sufficient to pay for the number of calls you will make.
An allowance given to our L1VRFCoordinator contract.
Navigate to the wrapped native contract, and select 'write contract'
On BitcoinL1 this can be found .
Approve the L1VRFCoordinator contract for the amount you wish to spend (or the maximum amount if you don't want to have to do this again)
On BitcoinL1 the L1VRFCoordinator contract address is:
*NOTE* If you use the same subscription address for multiple implementation contracts you will only need to approve once for an amount sufficient for all of their combined calls (or the maximum amount if you wish).