Configuration
To enable swisstronikcli
to interact with Swisstronik Testnet you should configure it using the following commands.
First, set RPC address:
Then, you should set chain id:
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