EatTheBlocks Forum

OpenZeppelin 3.0 released

Openzeppelin 3.0 was just released. The main change is that Solidity has been updated to Solidity 0.6. The installation and setup in your smart contracts is exactly like before:

npm install @openzeppelin/contracts

and import it like this in your contracts:

import '@openzeppelin/contracts/path/to/contract.sol';

If you still need compatibility with Solidity you can install an old version like this:

npm install @openzeppelin/contracts@2.5.0