Can't import OpenZeppelin Contracts library in Remix

Hi there,

I am unable to import OpenZeppelin library for testing my contract in remix. It often says “File Not Found” or some sort of undefined error. Please see attached screenshots.

1 Like

Hi @bobeu,

:warning: Note: You should only use code published in an official release of OpenZeppelin Contracts, the latest release is 2.5. When importing via GitHub on Remix you can specify the release tag, (otherwise you will get the latest code in the master branch).

Please see the following example of importing OpenZeppelin Contracts from Remix: