🌅
Sunrise / Gluon Docs
  • Home
    • 👋Sunrise
  • 📜Learn
    • 🌆Sunrise
      • Proof of Liquidity
      • Fee Abstraction
      • Data Availability
      • Gauges Voting
      • Liquidity Pool
      • Liquidity Incentive
      • Swap
      • TokenConverter
      • Fee
      • Lockup Account
      • Bribes
    • 💴$RISE
      • Allocations
    • 🏦Gluon
    • 💴$GLU
    • 🎓Thesis
      • App chain thesis
      • Interoperability
  • 🛠️Build
    • 🚀Quick Start
    • Client
    • L2 Blockchains
      • Rollkit
        • Sunrise Data
        • Rollkit L2 Chain
      • OP Stack
        • Sunrise Data
        • OP Stack L2 Chain
    • Validators
      • Proof of Data Availability
      • Self Delegation
  • 🏗️Run a Sunrise Node
    • Networks
    • Types of Nodes
      • Consensus
        • Full Consensus Node
        • Validator Node (Genesis)
        • Validator Node
        • Setup Cosmovisor
      • IBC Relayers
    • Resources
      • Upgrade
      • Environment
  • 🏗️Run a Gluon Node
    • Networks
    • Node
      • Validator Node
  • 🔗Links
    • GitHub
    • Discord
    • X (Twitter)
    • Medium
    • dev.to
  • 📓Deprecated (UnUniFi)
    • IBC Channels
    • Security
    • CosmWasm
      • Tutorial
      • Create Project
    • IYA Strategy
      • Interface
      • External CosmWasm chain with IBCHooks
      • External EVM chain with Axelar
    • Frontend
      • Cosmos Client TS
    • Resources
    • Setup ununifid
    • ununifid
      • Basic Commands
      • Module Commands
        • wasm
    • Build a Node
    • Build a Validator Node
    • Setup Cosmovisor
    • Mainnet Upgrades
    • IBC Relayer
Powered by GitBook
On this page
  1. Deprecated (UnUniFi)
  2. ununifid

Basic Commands

Get standard debug info from the ununifi daemon:

ununifid status

Check if your node is catching up:

# Query via the RPC (default port: 26657)
curl http://localhost:26657/status | jq .result.sync_info.catching_up

Get your node ID:

ununifid tendermint show-node-id

Your peer address will be the result of this plus host and port, i.e. <id>@<host>:26656 if you are using the default port.

Check if you are jailed or tombstoned:

ununifid query slashing signing-info $(ununifid tendermint show-validator)

Get your valoper address:

ununifid keys show <your-key-name> -a --bech val

See keys on the current box:

ununifid keys list

Import a key from a mnemonic:

ununifid keys add <new-key-name> --recover

Export a private key (warning: don't do this unless you know what you're doing!)

ununifid keys export <your-key-name> --unsafe --unarmored-hex

Withdraw rewards (including validator commission), where ununifivaloper1... is the validator address:

ununifid tx distribution withdraw-rewards <ununifivaloper1...> --from <your-key>  --commission

Stake:

ununifid tx staking delegate <ununifivaloper1...> <AMOUNT>uununifi --from <your-key>

Find out what the JSON for a command would be using --generate-only:

ununifid tx bank send $(ununifid keys show <your-key-name> -a) <recipient addr> <AMOUNT>uununifi --generate-only

Query the validator set (and jailed status) via CLI:

ununifid query staking validators --limit 1000 -o json | jq -r '.validators[] | [.operator_address, (.tokens|tonumber / pow(10; 6)), .description.moniker, .jail, .status] | @csv' | column -t -s"," | sort -k2 -n -r | nl

Get contract state:

ununifid q wasm contract-state all <contract-address>
PreviousununifidNextModule Commands

Last updated 1 year ago

📓