💼
Cobo MPC Co-Managed Custody
English
English
  • Cobo MPC Co-Managed Custody
    • MPC-TSS Technology
    • Quick Start Guide
      • Cobo Custody
        • Manage Account
          • Team (Only Visible to Admins)
          • Me (Team Members)
      • TSS Node Deployment
      • MPC Wallet Management on Cobo Custody Web
    • Web User Guide
      • Add TSS Node
      • Create MPC Wallet(s)
        • Send / Receive Wallet
          • Manage Coins
          • Create and Manage Wallet Addresses
          • Export Addresses
          • View Transactions
          • Configure Risk Control Policies
          • Manage API
          • Manage API Callbacks
          • Manage Settings
        • Web3 Wallet
          • Create and Manage Wallet Addresses
          • View NFTs
          • Access DApps
            • Cobo Connect
            • MetaMask Institutional
          • View Transactions
          • Manage Coins
          • Configure Risk Control Policies
          • Manage API
          • Manage API Callbacks
          • Manage Settings
    • TSS Node User Guide
      • Network Requirements
      • Server Environment Preparation
        • SGX-Ready Server
        • Off-The-Shelf Server
        • Apple MacBook
      • TSS Node Deployment
        • TSS Node Package
        • TSS Node Initialization
        • TSS Node Startup
        • TSS Node on Cobo Custody Web & MPC Root Extended Public Key Derivation
      • TSS Node Callback
        • TSS Node Callback Mechanism
        • Callback Server Requirements
          • Callback Server Examples
        • Callback Server Configuration
        • TSS Node Configuration & Callback Server Startup
      • TSS Node Update
      • TSS Node Release Notes
      • Appendix
        • TSS Node Configuration Methods
        • TSS Node Command Lines
        • TSS Node Risk Control
    • MPC Key Share User Guide
      • MPC Key Share Management
        • Backup
        • Restore
      • Disaster Recovery
        • Soft Key Recovery
        • Hard Key Recovery
        • Third Party Key Recovery
    • Supported Tokens and Chains
Powered by GitBook
LogoLogo
On this page
  1. Cobo MPC Co-Managed Custody
  2. TSS Node User Guide
  3. TSS Node Callback

TSS Node Callback Mechanism

PreviousTSS Node CallbackNextCallback Server Requirements

Last updated 10 months ago

After the TSS Node has been successfully set up, it will automatically connect to Cobo Custody Web and listen for tasks sent by the Cobo Custody backend.

Currently, there are three types of tasks: key generation (KeyGen), transaction signing (KeySign), and soft key recovery (KeyReshare).

If the callback mechanism is not set up, the TSS Node will immediately execute each task upon receiving it from the Cobo Custody backend.

If the callback mechanism is set up, the TSS Node will send an approval request to the callback server upon receiving a task from the Cobo Custody backend. The TSS Node will execute the task only if it is approved by the callback server.

The TSS Node and the callback server connect via the HTTP communication protocol. Cobo Custody has also implemented the JSON Web Token (JWT) that is signed with the RS256 algorithm. For more information on JWT, please

  • During TSS Node initialization, the TSS Node and the callback server will each generate and configure a RSA private/public key pair

  • When the TSS Node receives a task, it will construct CallbackRequest and generate the JWT token using its RSA private key

  • The TSS Node will send a request to the callback server via the HTTP POST method

  • The callback server will validate the JWT signature using the TSS Node's RSA public key

  • The callback server will construct CallbackRequest and sign it using its RSA private key before sending the JWT back to the TSS Node

  • Once the TSS Node receives the HTTP response, it will validate the JWT signature using the callback server's RSA public key

  • Once validated, the TSS Node will execute or reject the task based on the response from the callback server

To get started with the TSS Node callback mechanism, please refer to the following steps:

  1. Callback Server Requirements

  2. Callback Server Configuration

  3. TSS Node Configuration

  4. TSS Node & Callback Server Startup

click here.