LearnWeb3 Logo

14 min read

·

4 years ago

+10,000 XP
399
46
9
*You must be signed in to submit quiz
You must be signed in to post comments
User avatar

asexsela

·

7 months ago

The Chainlink move their contracts to another repository, https://github.com/smartcontractkit/chainlink-evm So the installation will be - forge install smartcontractkit/chainlink-evm And the imports will be: import {ConfirmedOwner} from "chainlink-evm/contracts/src/v0.8/shared/access/ConfirmedOwner.sol"; import {ChainlinkRequestInterface} from "chainlink-evm/contracts/src/v0.8/operatorforwarder/interfaces/ChainlinkRequestInterface.sol"; import {VRFV2PlusWrapperConsumerBase} from "chainlink-evm/contracts/src/v0.8/vrf/dev/VRFV2PlusWrapperConsumerBase.sol"; import {VRFV2PlusClient} from "chainlink-evm/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient.sol";

1
User avatar

andidelouise

·

9 months ago

GREAT LESSON

1
User avatar

Joanmacat

·

last year

If someone has problems with the imports, update the remappings to this: chainlink=lib/chainlink/ or @chainlink=lib/chainlink/, it worked for me.

1
User avatar

Naj D. IB

·

2 years ago

Hi guys i have an issue while trying to verify the contract, is anyone got the same issue? thx Encountered an error verifying this contract: Response: `NOTOK` Details: `Invalid API Key`

0
User avatar

Babak Fa

·

2 years ago

Thanks

0