I can't import openzeppelin's ERC721 contract.
I have installed it using brownie pm install and also added it to brownie-config.yaml
I appreciate any help
Can't import openzeppelin library into smart contract in brownie framework
841 Views Asked by Mijail Piekarz At
1
There are 1 best solutions below
Related Questions in SOLIDITY
- solcover fail to generate test coverage with my simple add contract
- Automatic Transfer of Token in Solidity Contract
- How to test smart contract with cross-contract invoke using truffle?
- solidity - get return value of delegatecall with assembly
- Link Javascript to Solidity?
- Can we use mysql with ethereum?
- How do display all the events logs from a smart contract?
- sending ether to external address using fallback function in an ethereum contract
- The install of solidity extension was failed for Visual Studio 2017
- Can't call contract function in truffle console
- Solidity: Burn event vs Transfer to 0 address
- Creating instance of contract inside another contract and calling it's methods results in thrown exception
- solidity, set value to state Variables, the value not changed
- Front-end development: Why the return values are not shown correctly in my browser?
- web3.eth.accounts returning a function
Related Questions in BROWNIE
- Chain link AggregatorV2V3Interface Interface error?
- Cannot change solc compiler version in VSCode
- How to get an old transaction from brownie
- python sintax problem for solidity compilator
- How to resolve this UnicodeEncodeError while installing eth-brownie on Windows10 with pipx?
- How to debug "Gas estimation failed: 'The execution failed due to an exception.'" in brownie?
- How to reference LINK token on (forked) development network without "invalid opcode"?
- ModuleNotFoundError: No module named 'Code.web3'
- Error: Non-hexadecimal digit found when trying to add account using brownie on Linux
- Brownie Import Error: _PyGen_Send [Ubuntu Jelly 22.04]
- eth-brownie: Deployed contract returning as transaction receipt instead of the contract itself. I cannot grab the contract from the address or alias
- Issue Brownie setup, not sure if ganache installed properly - chainlink hackathon
- Trying to run a Brownie Dapp in Docker
- Lesson6 full blockchain solidity course: fund_and_withdraw - ValueError: Gas estimation failed
- How do I dynamically import a module similar to the "import X from Y" syntax in Python?
Related Questions in OPENZEPPELIN
- Installation of openzeppelin/contracts Library
- Which version of safeMath to import from openZeppelin contracts on github.com?
- All my token storages changed to zero after a implementation
- Conflict between @nomicfoundation/hardhat-ethers and @openzeppelin/hardhat-upgrades for ethers version
- How to paste ETH price feeds as rate in my crowdsale.sol
- ECDSA: invalid signature length error while, when using the signature provided by remix ide
- Mock smart contract solidity - can't deploy mock smart contract - TypeError: Contract "mockMyToken" should be marked as abstract
- Transparent proxy tests - Error: missing revert data in call exception; Transaction reverted without a reason string;
- Solidity constructor syntax
- Developing NFT contract and receiveing external transactions
- How do I enable 2/3 multisigs to approve the transaction before the admin cal call the withdraw method?
- How to burn erc721 token?
- There is a way to transfer / mint tokens without ERC20 owner approval method?
- Source "@openzeppelin/contracts/token/ERC721/ERC721.sol" not found: File import callback not supported
- Ethernaut challenge -Lv22 Dex - allowance approval problem
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It seems this is just the solidity extension on vs code. It can't read the remapping so it throws an error when trying to import. However, when I compile the contract using bronwie compile it works.