Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ethdeploy-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethdeploy-cli

A CLI for the ethdeploy contract staging facility.

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ethdeploy-cli

A CLI for the ethdeploy Ethereum smart-contract deployment staging facility.

Installation

npm install -g ethdeploy-cli

Run

ethdeploy ./ethdeploy.config.js ./environments.json

Example

First install and run ethereumjs-testrpc, then run the example ethdeploy cli.

npm install -g ethereumjs-testrpc
testrpc
npm run example

Example CLI Output

> ethdeploy ./example/ethdeploy.config.js ./example/

ethdeploy [2016-07-29T04:06:44.117Z]:  Environment 'morden' configured, starting contract deployment...
ethdeploy [2016-07-29T04:06:44.146Z]:  Deploying 'SimpleStore' to environment 'morden'...
ethdeploy [2016-07-29T04:06:44.682Z]:  Deploying 'SimpleStoreService' to environment 'morden'...
ethdeploy [2016-07-29T04:06:44.682Z]:  Deploying 'SomeCustomInstance' to environment 'morden'...
ethdeploy [2016-07-29T04:06:48.734Z]:  All contracts deployed successfully to environment 'morden'!
ethdeploy-build [2016-07-29T04:06:48.737Z]:  build output file already exists... morphing and modifying with Object.assign...
ethdeploy-build [2016-07-29T04:06:48.741Z]:  File Generated: './example/environments.json' [modified] successfully!

    Details:
      Generation Time: 2016-07-29T04:06:48.741Z
      File Generated: ./example/environments.json [modified]

CLI Inputs

ethdeploy <config-path> <output-dir-path> [options]

Future/Todo

  • More build options (i.e. --override, --morph etc.)
  • Modularize out build util module

Licence

Released under the MIT License, see LICENSE.md file.

Keywords

FAQs

Package last updated on 29 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc