Search code examples
chainlinkhardhatchainlink-keepers

How to test blokchain lottery using Chainlink VRFv2 and Chainlink Keeper?


Thanks to Patrick and after reading the Chainlink's blog on how to build blockchain lottery, I am eager to build a similar "version". It will be using the latest Chainlink's version of VRFv2 and Keeper.

However, the supported test networks for VRFv2 and Keeper are Rinkeby and Kovan, respectively.

So any hint on how to approach this?


Solution

  • For now the one of the only testnet's both Keepers and VRF v2 are available on is the BNB testnet. You can test your application there until VRF v2 and keepers are available on the same Ethereum testnet.

    References:
    Keepers Supported Chains
    VRF v2 Supported Chains