Link token interface was referenced in RandomNumberConsumerV2 contract and therefore also required by the deploy script. However, for VRF v2 to provide randomness, a consuming contract does not need to be aware of the Link token, as payment for the service is handled on subscription level.
I removed dependencies on Link contract, to make the code leaner and gas friendly 😎
Link token interface was referenced in
RandomNumberConsumerV2
contract and therefore also required by the deploy script. However, for VRF v2 to provide randomness, a consuming contract does not need to be aware of the Link token, as payment for the service is handled on subscription level.I removed dependencies on Link contract, to make the code leaner and gas friendly 😎