CRYPTO NEWS

APENFT Foundation Announced The Second Call of its $100 Million Art Dream Fund.

Singapore, Singapore, 2nd August, 2022, Chainwire APENFT Foundation announces that the second call of its $100 million Art Dream Fund will launch on August 1st, and registration will close on…

Brownie Error cannot find contract/file

Hello I was starting to write some solidity code with brownie as eth-environment, I tried to compile the code and the import statement is showing en error – ParserError: Source "@smartcontractkit/chainlink-brownie-contracts/contracts/src/v0.8/VRFConsumerBase.sol" not found: File not found. Searched the following locations: "". Actually I have 2 import statements and both of them was showing error, I::Listen

Hello I was starting to write some solidity code with brownie as eth-environment, I tried to compile the code and the import statement is showing en error –

ParserError: Source "@smartcontractkit/chainlink-brownie-contracts/contracts/src/v0.8/VRFConsumerBase.sol" not found: File not found. Searched the following locations: "". 

Actually I have 2 import statements and both of them was showing error, I sorted the first one out by adding current release version from github, but this one is not sorted and it keeps showing error, here is my solidity imports –

// SPDX-License-Identifier: MIT pragma solidity ^0.8.7;  import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@smartcontractkit/chainlink-brownie-contracts/contracts/src/v0.8/VRFConsumerBase.sol"; 

I edited the brownie-config.yaml file –

dependencies:   - OpenZeppelin/[email protected]   - smartcontractkit/[email protected] compiler:   solc:     remappings:       - '@openzeppelin=OpenZeppelin/[email protected]'       - '@chainlink=smartcontractkit/[email protected]' 

Any help with some explanation would be of great help, Thanks.

APENFT Foundation Announced The Second Call of its $100 Million Art Dream Fund.

Shopping cart
There are no products in the cart!
Continue shopping
0