# Connecting to Mainnet

### Konstellation Network CLI Quick Start

#### &#x20;Build from code

This guideline assumes that you're running Linux or MacOS with [Go 1.18+](https://golang.org/dl/).&#x20;

This guide helps you to : Build, Install, and Name your Node.

Currently, latest release is `v0.6.2`

```
# Clone Konstellation from the latest release found here: https://github.com/konstellation/konstellation/releases
git clone -b v0.6.2 https://github.com/konstellation/konstellation
# Enter the folder Konstellation was cloned into
cd konstellation
# Compile and install Konstellation
make build
# alias binary file
# alias knstld=/your/path/to/repo/build/knstld
# Check konstellation version
knstld version
```

#### Make node directory

You can simply create node directory by running :&#x20;

```
knstld tendermint unsafe-reset-all
```

#### Set node to connect

Find available RPC endpoints on [Mintscan](https://www.mintscan.io/konstellation/info), and edit `$HOME/.knstld/config/client.toml` like :

```
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml

###############################################################################
###                           Client Configuration                            ###
###############################################################################

# The network chain ID
chain-id = "darchub"
# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory)
keyring-backend = "test"
# CLI output format (text|json)
output = "text"
# <host>:<port> to Tendermint RPC interface for this chain
node = [RPC Endpoint URL address to use] # ex ) https://node1.konstellation.tech:26657/
# Transaction broadcasting mode (sync|async|block)
broadcast-mode = "sync"
```

To check connection, you can run

```
knstld status
```

Now with this `knstld`, you may query or create transaction directly to Konstellation Network modules.
