OpenZeppelin Contracts Ethereum Package v2.4

OpenZeppelin Contracts Ethereum Package v2.4 has been released and is tailored for use with the OpenZeppelin SDK.

See the OpenZeppelin Contracts v2.4 announcement for details of what is in this release.

For details on how to use OpenZeppelin Contracts Ethereum Package, please see the documentation:

Linking OpenZeppelin contracts
To link the OpenZeppelin Contracts Ethereum Package into your project, simply run the following:

openzeppelin link @openzeppelin/contracts-ethereum-package

This command will download the Ethereum Package (bundled as a regular npm package), and connect it to your OpenZeppelin project. We now have all of OpenZeppelin contracts at our disposal, so let’s create an ERC20 token!

Note: Make sure you install @openzeppelin/contracts-ethereum-package and not the vanilla @openzeppelin/contracts. The latter is set up for general usage, while @openzeppelin/contracts-ethereum-package is tailored for being used with the OpenZeppelin SDK. This means that its contracts are already set up to be upgradeable.

1 Like