hydra-dev

A local STRK20 privacy stack, and tooling that computes what a transaction discloses.

EVERY COMMAND

$ hydra-dev help

  hydra-dev — local STRK20 privacy stack

  Interactive
    hydra-dev                 open the TUI
    hydra-dev bootstrap       install node dependencies (the TUI, linter and MCP need them)
    hydra-dev up              start devnet + pool + local discovery service
    hydra-dev down            stop a running stack
    hydra-dev init dapp       scaffold the STRK20 starter kit against this stack
    hydra-dev lint <path>     flag STRK20 configurations that disclose more than intended
    hydra-dev leak <tx.json>  disclosure set for a planned tx — takes network: mainnet
                              also: --example shield|private-transfer|shadow-dapp-call

  Status — every one of these takes --json for agents
    hydra-dev status    whole stack at a glance
    hydra-dev devnet    local chain status
    hydra-dev indexer   discovery service status
    hydra-dev agents    MCP server and agent skills
    hydra-dev wallets   test accounts and balances
    hydra-dev faucet    fund an address on devnet — devnet only, there is no mainnet faucet
    hydra-dev blocks    recent blocks
    hydra-dev tx        transaction status — hydra-dev tx <hash>
    hydra-dev leak      what an action discloses — hydra-dev leak [register|deposit|transfer|withdraw|invoke]
    hydra-dev doctor    toolchain and build artifacts

  Examples
    hydra-dev indexer --status --json
    hydra-dev faucet --address 0x34ba… --amount 1e18
    hydra-dev tx 0x07f1…

  Read commands take --rpc <url> (or HYDRA_RPC) to address any Starknet node:
    hydra-dev tx 0x… --rpc https://api.cartridge.gg/x/starknet/mainnet
  Write commands — up, down, init, bootstrap, faucet — refuse it.

  HYDRA_UPSTREAM   path to a starknet-privacy checkout
  HYDRA_RPC        read commands address this node instead of the local stack
  HYDRA_HOME       where the running stack records itself (default ~/.hydra)