This package has been deprecated

Author message:

The OpenZeppelin CLI is no longer being developed. For smart contract upgrades check out the OpenZeppelin Upgrades Plugins. https://zpl.in/upgrades-plugins

@openzeppelin/cli

2.8.2 • Public • Published

OpenZeppelin SDK Command-Line Interface (@openzeppelin/cli)

standard-readme compliant NPM Package CircleCI

Command-line interface for the OpenZeppelin smart contract platform.

OpenZeppelin SDK is a platform to develop, deploy and operate smart contract projects on Ethereum and every other EVM and eWASM-powered blockchain.

This is the repository for the OpenZeppelin commmand-line interface, the recommended way to use the OpenZeppelin SDK.

Install

First, install Node.js and npm. Then, install the OpenZeppelin SDK running:

npm install --global @openzeppelin/cli

Usage

To start, create a directory for the project and access it:

mkdir my-project
cd my-project

Use npm to create a package.json file:

npm init

And initialize the OpenZeppelin SDK project:

openzeppelin init my-project

Now it is possible to add contracts to the project with the openzeppelin add command, push these contracts to a blockchain network with openzeppelin push, use openzeppelin deploy to create instances for these contracts that later can be upgraded, and many more things.

Run openzeppelin --help for more details about this and all the other functions of the OpenZeppelin CLI.

The OpenZeppelin SDK documentation explains how to use the openzeppelin command-line interface to build a project, to upgrade contracts and to share packages for other projects to reuse. It also explains how to operate the project with the OpenZeppelin JavaScript libraries instead of this openzeppelin command.

Security

If you find a security issue, please contact us at security@openzeppelin.com. We give rewards for reported issues, according to impact and severity.

Maintainers

Contribute

To contribute, join our community channel on Telegram where you can talk to all the OpenZeppelin developers, contributors, partners and users.

You can also follow the recent developments of the project in our blog and Twitter account.

License

MIT © OpenZeppelin

Package Sidebar

Install

npm i @openzeppelin/cli

Weekly Downloads

461

Version

2.8.2

License

MIT

Unpacked Size

774 kB

Total Files

349

Last publish

Collaborators

  • mcarlomagno
  • collins-oz
  • dylkil
  • zeljkox
  • namis
  • tirumerla
  • frangio