Skip to main content

Safrochain modules overview

This reference lists every application module registered in app/modules.go. Use it to find the right doc page and the matching safrochaind query / safrochaind tx command tree.

CLI conventions

  • Discover commands: run safrochaind query <module> --help or safrochaind tx <module> --help. Subcommands, positional arguments, and flags are shown there (they match the chain binary you built or installed).
  • Node RPC: --node tcp://HOST:26657 (override default localhost).
  • Chain ID: --chain-id <id> on transactions.
  • Output: -o json for machine-readable output on queries.
  • Signing (transactions):
    • --from <key_or_address>: signer.
    • --fees <coins> or --gas auto --gas-adjustment 1.3 (and often --gas-prices): fee payment.
    • -y: skip confirmation prompt.
    • --dry-run: simulate without broadcasting.
    • --generate-only: build an unsigned tx (for multisig, hardware wallets, or offline signing).

See also the CLI overview for cross-cutting patterns.

Module index

Safrochain extensions

ModuleCLI (query / tx)Documentation
Token factory (factory denoms)tokenfactoryToken factory
Global fee (minimum gas prices)globalfeeGlobal fee
FeePay (sponsored contract fees)feepayFeePay
FeeShare (contract fee routing)feeshareFeeShare
Drip (staker distribution)dripDrip
Clock (scheduled CosmWasm ticks)clockClock
CW Hooks (staking/gov contract hooks)cw-hooksCW Hooks

Cosmos SDK (standard modules)

ModuleCLIDocumentation
Auth (accounts, sequence)authAuth
Bank (balances, supply)bankBank
StakingstakingStaking
SlashingslashingSlashing
Distribution (rewards, commission)distributionDistribution
GovernancegovGovernance
MintmintMint
EvidenceevidenceEvidence
Fee grantfeegrantFee grant
Authz (generic authorizations)authzAuthz
NFTnftNFT
Consensus paramsconsensusConsensus
Legacy paramsparamsParams
UpgradeupgradeUpgrade
Crisis (invariant checks)crisis (tx only)Crisis
Vestingvesting (tx only)Vesting

genutil is used at chain initialization (init, gentx, collect-gentxs), not as a runtime query module. See Run a node.

ModuleCLIDocumentation
IBC core (clients, connections, channels)ibcIBC core
ICS-20 transferibc-transferICS-20 transfer
IBC relayer incentivesibc-feeIBC fee
Interchain Accountsinterchain-accounts (alias ica)Interchain Accounts
Interchain QueriesinterchainqueryInterchain Queries
IBC Hooks (Wasm hooks)ibchooksIBC Hooks

Middleware such as packet forward is enabled in the app; routing is typically exercised through IBC transfers and relayers rather than a dedicated top-level CLI.

CosmWasm

ModuleCLIDocumentation
WasmwasmWasm

For protocol economics and SAF supply, see Tokenomics.