Hermes is a long-running process that reads all channels by default over each node's websocket.
In order for this to work effectively, you're going to need an archive node for every member of the IBC Gang per Map Of Zones. You will also need funds on all relevant chains.
git clone https://github.com/informalsystems/ibc-rs
cd ibc-rs/relayer-cli
cargo install --path .
mkdir ~/.hermes
cp config.toml ~/.hermes
In config.toml, make sure that you comment out any chain that you do not wish to relay, or "deny" its channels.
hermes keys restore cosmoshub-4 -m "12 or 24 magic words"
hermes keys restore akashnet-2 -m "12 or 24 magic words"
hermes keys restore regen-1 -m "12 or 24 magic words"
hermes keys restore osmosis-1 -m "12 or 24 magic words"
hermes keys restore microtick-1 -m "12 or 24 magic words"
hermes keys restore bitcanna-1 -m "12 or 24 magic words"
hermes keys restore sentinelhub-2 -m "12 or 24 magic words"
hermes keys restore irishub-1 -m "12 or 24 magic words"
hermes keys restore crypto-org-chain-mainnet-1 -m "12 or 24 magic words" -p "m/44'/394'/0'/0/0"
hermes keys restore core-1 -m "12 or 24 magic words" -p "m/44'/750'/0'/0/0"
hermes keys restore impacthub-3 -m "12 or 24 magic words"
hermes query packet commitments osmosis-1 transfer channel-0
hermes tx raw packet-recv cosmoshub-4 osmosis-1 transfer channel-0