PatrickAlphaC / hardhat-smartcontract-lottery-fcc

MIT License
117 stars 182 forks source link

Facing error on @chainlink/contracts #124

Closed UmerZu closed 1 year ago

UmerZu commented 1 year ago

Hi ! I install package using yarn add --dev @chainlink/contracts and inside of Raffle.sol, I am having error on this import line import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";

CarlosHernandez3 commented 1 year ago

what solidity extension are you using. The juan blanco one has some dependency issues try switching to hardhat's solidity extension.

babelpainterwell commented 1 year ago

Did you solve the issue? I am having the same problem, even with hardhat's solidity extension.

PatrickAlphaC commented 1 year ago

Can you:

  1. Make this a discusson on the full repo? https://github.com/smartcontractkit/full-blockchain-solidity-course-js/
  2. Follow this section for formatting questions? https://www.youtube.com/watch?t=19846&v=gyMwXuJrbJQ&feature=youtu.be