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
The platform client
$ npm install -g hydra-strk $ hydra-tuiNode 24 or later. The package is
hydra-strk—npm install hydrafetches something that is not this. It links three binaries:hydrascriptable,hydra-tuiresident,hydra-vaultfor whoever runs storage. The loopback API a browser talks to ishydra gui, a subcommand rather than a binary of its own.Or without installing
$ npx -y -p hydra-strk hydra-tuiThe
-pis required. The package ships three binaries and none of them is namedhydra-strk, sonpx hydra-strk …cannot tell which one you meant and refuses. Same client, same code, nothing left on the machine afterwards.Or from a checkout
$ git clone https://github.com/charlesms1246/hydra $ cd hydra/hydra-dapp && npm install $ npx hydra-tuiWhat 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.
The devtool
$ cd devtool $ node packages/cli/src/cli.mjs helpNo 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/tuias well. Publishable ashydra-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.
initwrites it in the clear with mode 0600. Runhydra lockafter 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.