Skip to content

Useful Commands

Connor Davis edited this page Aug 31, 2023 · 7 revisions

Useful Commands

A collection of useful commands while developing or working with the Union network.

Feel free to update this document if you think it's missing content :)

Find The x/gov module account

Sometimes, it's necessary to know the x/gov module account (or the accounts of other modules). To reveal the x/gov module account, run the following:

uniond query auth accounts --output json | jq '.accounts[] | select(.name == "gov")'

Running a uniond command with docker

Just alias this, for your own sake.

alias uniond='docker run --mount type=bind,source="$HOME/uniond-config/",target=/app -it ghcr.io/unionlabs/uniond:$UNIOND_VERSION --home /app/.union'