cardano-scaling / hydra

Implementation of the Hydra Head protocol

Home Page:https://hydra.family/head-protocol/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Read cardano-node environment variables in hydra-node

noonio opened this issue · comments

commented

The hydra-node binary, and the hydra-tui binary both depend on the node socket and --testnet-magic/mainnet configuration

It would be convenient if it used these from the environment by default, and then let them be overriden with command-line arguments.

I.e. we should at least look for these env vars:

CARDANO_NODE_NETWORK_ID
CARDANO_NODE_SOCKET_PATH