> For the complete documentation index, see [llms.txt](https://docs.swisstronik.com/swisstronik-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swisstronik.com/swisstronik-docs/development/swisstronik-cli/configuration.md).

# Configuration

To enable `swisstronikcli` to interact with Swisstronik Testnet you should configure it using the following commands.

First, set RPC address:

```bash
swisstronikcli config node https://rpc.testnet.swisstronik.com:443
```

Then, you should set chain id:

```bash
swisstronikcli config chain-id swisstronik_1291-1 
```

Next, you should specify what keyring you will use to store keys, as the default `os` keyring is not compatible with the `eth_secp256k1` key type. There are two options:

* **file** – keys will be stored in an encrypted file.\
  To use this option, run the following command: \
  `swisstronikcli config keyring-backend file`
* **test** – keys will be stored in an unencrypted format. Use this keyring only for local testing.\
  To use this option, run the following command: \
  `swisstronikcli config keyring-backend test`
