I have solidity project with files like
pragma solidity ^0.5.0;
import "openzeppelin-solidity/contracts/ownership/Ownable.sol";
When I try to compile, I get error on not installed library
npx hardhat compile
Error HH411: The library openzeppelin-solidity,
imported from contracts/....sol, is not installed.
Try installing it using npm.
I have tried installing
npm install @openzeppelin/contracts
and v3.1.0 that is proper match for solidity v0.5.0
npm install @openzeppelin/[email protected]
But get the same error.
So what is this openzeppelin-solidity
library, and how to install it?