Skip to content
Command Line Interface (CLI) for the Discovery Enigma Protocol developer testnet
Branch: master
Clone or download

README.md

discovery-cli

Command Line Interface (CLI) for the Discovery Enigma Protocol developer testnet.

Requirements

  • Docker
  • Docker Compose version 1.23.2 or higher. Please be aware that docker-compose introduced a bug in 1.23.0 (also present in 1.23.1) that appended random strings to container names that causes this network configuration to break.
  • Git
  • Node.js (version 10 or higher): node and npm
  • Rust: rustup, rustc and cargo

Installation

npm install -g @enigmampc/discovery-cli

Usage

$ discovery <command>

Commands:
  discovery init     Initialize Enigma Discovery development environment
  discovery compile  Compile Secret Contracts and Smart Contracts
  discovery migrate  Migrate Secret Contracts and Smart Contracts
  discovery pull     Pull the latest images for the containers in the network
  discovery start    Launch the Discovery Docker network
  discovery stop     Stop the network by stopping and removing all containers
  discovery test     Test Secret Contracts and Smart Contracts

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

Uninstall

npm remove -g @enigmampc/discovery-cli
You can’t perform that action at this time.