Getting an error when importing OpenZeppelin contracts on remix

Hi Everyone, I am using remix to create my ERC20 token and when importing SafeERC20(import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol), it shows "not found" error. How to deal with this

Error: not found @openzeppelin/contracts/token/ERC20/SafeER
error
C20.sol

hey @Shanmugapriya_S
the path is @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol

1 Like

Pro-tip: You can look up the contract or library in our documentation site and see the import statement you need. There is also a button on hover to directly copy it to the clipboard.

Thank you so much

This just solved my problem where the Github repo defaults the import to an abbreviated line of code there

Had to write out the full extensions. Still a noob here haha!