Skip to content

Start Here 📍

Discovery-cli is a Command Line Interface (CLI) for the Discovery Enigma Protocol development environment, and is the fastest way to get up and running with Enigma. This interface comes with application scaffolding to get you started with writing and deploying secret contracts.

After you set up the network, see our Walkthrough sections for additional guidance.


npm install -g @enigmampc/discovery-cli


$ discovery <command>

  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

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


npm remove -g @enigmampc/discovery-cli