For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuration

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

First, set RPC address:

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

Then, you should set chain id:

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

Last updated