The Hydra CLI and its testing library both live within the same package which can be installed and updated from the NPM registry:
help command prints the current Hydra version and a description of commands that can be run.
Hydra requires an account to use the public Hydra server for executing commands.
Creating an account or authenticating Hydra with an existing account is done by running the
Authenticating with hydra stores the login information in
This file should be kept safe as it includes the authentication token.
Running Hydra in a CI pipeline
When running tests as part of your Continous Integration workflow, the CI server needs to be authenticated as well. See the section on CI for more information.
logout command deletes the
A scaffolding command creating the configuration file, the boilerplate test files, and optionally JSON fixture files.
It's safe to run the
init command repeatedly to update projects files as the configuration will be merged and test files will not be overwritten.
|path to search for compiled contracts||current working directory|
|use TypeScript for boilerplate test files||off|