hello guys, can someone help me out, i installed @openzeppelin/contracts and bsc-library too but still having this issue.
Hey Habeebtoyin,
Welcome to the community!
The path that you used to import the SafeMath.sol
is wrong. The import should look like this :
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
You can find the OpenZeppelin GitHub Path here
In addition, you do not need to implement SafeMath
above Solidity v0.8 assuming you use it for overflow/underflow checking. You can read more about this change here.
I am using 0.6.12 version that is why i imported the safemath without utils path