Run it

The client is on npm. The devtool is not, and still runs from a checkout — every command on this page was run as written, against the published package or a fresh clone rather than on the machine that wrote it.

RUN IT

  1. The platform client

    $ npm install -g hydra-strk
    $ hydra-tui

    Node 24 or later. The package is hydra-strk — npm install hydra fetches something that is not this. It links three binaries: hydra scriptable, hydra-tui resident, hydra-vault for whoever runs storage. The loopback API a browser talks to is hydra gui, a subcommand rather than a binary of its own.

  2. Or without installing

    $ npx -y -p hydra-strk hydra-tui

    The -p is required. The package ships three binaries and none of them is named hydra-strk, so npx hydra-strk … cannot tell which one you meant and refuses. Same client, same code, nothing left on the machine afterwards.

  3. Or from a checkout

    $ git clone https://github.com/charlesms1246/hydra
    $ cd hydra/hydra-dapp && npm install
    $ npx hydra-tui

    What you want if you intend to run the suites, which is the argument this project rests on rather than a footnote to it. The published package carries the built client and not the tests.

  4. The devtool

    $ cd devtool
    $ node packages/cli/src/cli.mjs help

    No install needed for this one. A different tool for a different audience: it stands up a local STRK20 stack and computes what a transaction discloses. Its terminal interface needs npm install --prefix packages/tui as well. Publishable as hydra-devtool, and not yet published.

BEFORE YOU RUN IT

  • This publishes to a contract that is on mainnet, and it is not ready for anyone whose safety depends on it. Nothing about the install changes that, and neither does the contract being live — no part of this has had an external review.
  • One state file holds your root key and every message you have sent or read, as text. init writes it in the clear with mode 0600. Run hydra lock after it — that encrypts the whole file with a passphrase, which is the case a seized or imaged device is about. Forgetting the passphrase destroys every conversation irreversibly, and there is no keychain and no hardware token.
  • Run one client per identity. Two copies of the same key file mint identical cover traffic, which is how a storage server tells cover from messages.

What you get is a working client and a local privacy stack.