OpenZeppelin is a battle-tested framework of reusable smart contracts for Ethereum and other EVM and eWASM blockchains.
OpenZeppelin can be installed directly into your existing node.js project with npm install --save-exact openzeppelin-solidity, but OpenZeppelin also integrates directly with Truffle, an Ethereum development environment, which we'll use to get started.
Please install Truffle and initialize your project:
$ npm install -g truffle $ mkdir myproject && cd myproject $ truffle init
To install the OpenZeppelin library, run the following in your Solidity project root directory:
$ npm init -y $ npm install --save-exact openzeppelin-solidity