Can't import openzeppelin library into smart contract in brownie framework

798 Views Asked by At

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

Test.sol

brownie-config.sol

1

There are 1 best solutions below

2
On

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.