TSS Node Command Lines
Init: initialize the TSS Node
You’ll be able to 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 "TSS Node Initialization."
Info: view the information
You can review information associated with the TSS Node:
Node ID
Callback server’s RSA public key
Output example:
Info group: view the group information
What is a group?
Each group is composed of three TSS Nodes. In other words, each group manages the three MPC key shares associated with a MPC root extended private key. Do note that the root extended private key will not be materialized in any single location.
If a TSS Node manages the MPC key shares for different MPC root extended private keys, it will then belong to multiple groups simultaneously.
You can use the info group command to query the following group information:
Item
Value
Description
Group ID
vnJShriEOIzBLaOUxUDs
Unique identifier of each group
Created Time
2023-01-11 14:36:42.179778596 +0000 UTC
Creation time of the group
Root Extended Public Key
xpub661MyMwAq……Mcet8
MPC root extended public key corresponding to the MPC key shares under the current group
ChainCode
0x098a……9dd9
ChainCode corresponds to the MPC root extended public key; hexadecimal
Share ID
121637……483926
Share ID of a MPC key share; decimal
Share Public Key
0x0231adf……d2773
Public key corresponds to the MPC key share; default: compressed public key; hexadecimal
Type
1
Type: 1 represents ECDSA, and 2 represents EdDSA
Curve
secp256k1
Supported signature algorithm
Threshold
2
Minimum number of MPC key shares required for each transaction signing
Local Node ID
coboA1B2C3D4
Node ID of the locally stored TSS Node
Other Node IDs
[coboA1B2C3D4, coboA2B3C4D5]
Node IDs of the TSS Nodes managed by other parties
Participants:
3
Total number of MPC key shares, Node IDs, MPC key share IDs, MPC key share public keys
Start: start up the TSS Node
The cobo-tss-node will start to run. For more information, please refer to “TSS Node Startup.”
Version: query the version
You can check the version of the TSS Node.
Status: check the running states
Output example:
Execution workflow:
Check whether the Docker Engine has been successfully installed and whether the client has been granted permissions
Check whether the SGX driver is running (applicable to a SGX-ready version)
Check whether the container image has been built
Check whether any container has an error
Check the TSS Node container that is currently running and output the latest five logs
Log: view container logs
The container logs will be displayed. To view more, please access the complete log files in the logs/folder.
Stop: stop the TSS Node
The TSS Node will no longer run on the backend.
Last updated