Skip to main content
Try Cobo WaaS Skill in your AI coding assistant (Claude Code, Cursor, etc.). Describe your needs in natural language to auto-generate production-ready SDK code and debug faster 🚀

Configure the TSS Node

Currently, you can configure the TSS Node in two methods:
  • Through the configuration file.
  • Through command line arguments, for example, ./tss-node.sh start --ws-url=ws://ws.example.com/ws.
It’s recommended that you use the configuration file to configure the TSS Node. To do so, please follow these steps:
  1. Navigate to the configs directory.
  2. Copy and paste the file cobo-tss-node-config.yaml.template.
  3. Rename the copied file to cobo-tss-node-config.yaml. The directory structure will appear as follows:
  4. Edit the cobo-tss-node-config.yaml file:
    1. Open the configuration file in a text editor.
    2. Review all configuration items in the file. Most items have reasonable default values, so you only need to modify specific items based on your actual needs. You can refer to Configuration items to understand the meaning of key configuration items.
    3. Modify necessary items according to your environment. For example:
      • Set env to production for production environment
      • Configure the callback section to set up the TSS Node Callback server
      • Adjust log configurations as needed
    4. Save changes and close the file.

Configuration items

TSS Node commands

init

You can initialize the TSS Node and create a database file. The execution will fail if the database file already exists. For more information, please refer to Initialize the TSS Node.

info

You can review the information associated with the TSS Node, including the TSS Node ID and the TSS Node’s callback public key used to communicate with the TSS Node callback server. The output example is as follows.

info group

You can use the info group command to query the information of the corresponding key share holder group.:

start

The cobo-tss-node will start running.

version

You can use the version command to query the version of the TSS Node.

status

You can use the status command to query the status of the TSS Node. An example output is as follows:
Execution workflow:
  • Verify the successful installation of Docker Engine and ensure the client has the necessary permissions.
  • Check the status of the SGX driver (applicable to an SGX-ready version).
  • Confirm the existence of the built container image.
  • Inspect containers for any errors.
  • Monitor the currently running TSS Node container and display the latest five logs.

log

Use this command to view the logs of the currently running TSS Node container.

stop

Use this command to stop the currently running TSS Node container.