# Introduction

## Introduction

`junod` is a command line client for the Juno network. Juno users can use `junod` to send transactions to the Juno network and query the blockchain data.

{% hint style="info" %}
See [here](/validators/getting-setup.md) for instructions on installing `junod`.
{% endhint %}

### Working Directory <a href="#working-directory" id="working-directory"></a>

The default working directory for the `junod` is `$HOME/.juno`, which is mainly used to store configuration files and blockchain data. The Juno `key` data is saved in the working directory of `junod`. You can also specify the `junod` working directory by using the `--home` flag when executing `junod`.

### Connecting to a Full-Node

By default, `junod` uses `tcp://localhost:26657` as the RPC address to connect to the Juno network. This default configuration assumes that the machine executing `junod` is running as a full-node.

The RPC address can be specified to connect to any full-node with an exposed RPC port by adding the `--node` flag when executing `junod`

### Global Flags <a href="#global-flags" id="global-flags"></a>

#### GET Commands <a href="#get-commands" id="get-commands"></a>

All GET commands have the following global flags:

| Name, shorthand | type   | Default Value | Description                          |
| --------------- | ------ | ------------- | ------------------------------------ |
| --chain-id      | string |               | The network Chain ID                 |
| --home          | string | $HOME/.juno   | Directory for config and data        |
| --trace         | string |               | Print out full stack trace on errors |
| --log\_format   | string | plain         | Logging format (json \| plain)       |

#### POST Commands <a href="#post-commands" id="post-commands"></a>

All POST commands have the following global flags:

| Name, shorthand   | type   | Default                | Description                                                                                                    |
| ----------------- | ------ | ---------------------- | -------------------------------------------------------------------------------------------------------------- |
| --account-number  | int    | 0                      | AccountNumber to sign the tx                                                                                   |
| --broadcast-mode  | string | sync                   | Transaction broadcasting mode (sync \| async \| block)                                                         |
| --dry-run         | bool   | false                  | Ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it                        |
| --fees            | string |                        | Fees to pay along with transaction                                                                             |
| --from            | string |                        | Name of private key with which to sign                                                                         |
| --gas             | string | 200000                 | Gas limit to set per-transaction; set to "simulate" to calculate required gas automatically                    |
| --gas-adjustment  | float  | 1                      | Adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set |
| --gas-prices      | string |                        | Gas prices in decimal format to determine the transaction fee                                                  |
| --generate-only   | bool   | false                  | Build an unsigned transaction and write it to STDOUT                                                           |
| --help, -h        | string |                        | Print help message                                                                                             |
| --keyring-backend | string | os                     | Select keyring's backend                                                                                       |
| --ledger          | bool   | false                  | Use a connected Ledger device                                                                                  |
| --memo            | string |                        | Memo to send along with transaction                                                                            |
| --node            | string | tcp\://localhost:26657 | \<host>:\<port> to tendermint rpc interface for this chain                                                     |
| --offline         | string |                        | Offline mode (does not allow any online functionality)                                                         |
| --sequence        | int    | 0                      | Sequence number to sign the tx                                                                                 |
| --sign-mode       | string |                        | Choose sign mode (direct \| amino-json), this is an advanced feature                                           |
| --trust-node      | bool   | true                   | Don't verify proofs for responses                                                                              |
| --yes             | bool   | true                   | Skip tx broadcasting prompt confirmation                                                                       |
| --chain-id        | string |                        | The network Chain ID                                                                                           |
| --home            | string | $HOME/.juno            | Directory for config and data                                                                                  |
| --trace           | string |                        | Print out full stack trace on errors                                                                           |

### Module Commands <a href="#module-commands" id="module-commands"></a>

| **Subcommand**                                                                           | **Description**                                               |
| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [bank](/cli/modules/bank.md)                                                             | Bank subcommands for querying accounts and sending coins etc. |
| [distribution](/cli/modules/distribution.md)                                             | Distribution subcommands for rewards management               |
| [gov](/cli/modules/gov.md)                                                               | Governance and voting subcommands                             |
| [keys](/cli/modules/keys.md)                                                             | Keys allows you to manage your local keystore for tendermint  |
| [params](/cli/modules/params.md)                                                         | Query parameters of modules                                   |
| [slashing](/cli/modules/slashing.md)                                                     | Slashing subcommands                                          |
| [staking](/cli/modules/staking.md)                                                       | Staking subcommands for validators and delegators             |
| [status](/cli/modules/status.md)                                                         | Query remote node for status                                  |
| [tendermint](/cli/modules/tendermint.md)                                                 | Tendermint state querying subcommands                         |
| [tx](https://github.com/CosmosContracts/docs/blob/master/cli/broken-reference/README.md) | Tx subcommands                                                |
| [upgrade](/cli/modules/upgrade.md)                                                       | Software Upgrade subcommands                                  |
| [wasm](/cli/modules/wasm.md)                                                             | Interact with smart contracts                                 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.junonetwork.io/cli/cli-introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
