Overview of the Main Modules

Custodian unit module

The Custodian unit module is responsible for managing the user and operational custodian units (operational custodian units do not have private keys, and no one can control it), and is also responsible for storing user-related information.

The main features includes:

  1. Data storage and management of the user and operational custodian units

  2. View of relevant data such as the assets of user and operational custodian units, and sequence records

Transfer Module

The transfer module carries all kinds of asset transactions and flows in the on-chain custodian unit, and the operational custodian unit in the system is responsible for the collection of assets across the chain.

The main features includes:

  1. Asset transactions, all types of asset transactions between custodian units.

  2. Cross-chain token deposit, the user submits the corresponding cross-chain token deposit information to their own custodian unit, and after consensus it will be added to the user’s assets.

  3. Cross-chain asset collection and withdrawal the cross-chain assets deposited by the user will be automatically collected into the corresponding token’s operational custodian unit according to a certain policy, and at the same time, the user can withdraw the cross-chain tokens that they has deposited up or traded to their corresponding addresses.

Key Generation Module

The key generation module is responsible for interacting with Settle, generating public-private key pairs associated with the public chain for the user and the operational custodian units, and managing cross-chain assets.

Token Module

The token module is mainly designed to maintain the tokens that are currently supported by various public chains and its related properties, such as the corresponding chain and whether it is the main chain, etc. The decentralized custody only support the coins in this module.

Order Module

The order module mainly maintains the user’s asynchronous confirmation processes, such as the creation of cross-chain asset addresses, deposits, and withdrawals, etc. It allows a transparent view of status transition processes of the user’s operations on the chain.

Proposals Module

HBTC Chain adopts the concept of on-chain governance by using the proposal approach to achieve on-chain governance, where all HBC holders can participate in HBTC chain’s governance by initiating the proposal, pledging the proposal, and voting on the proposal (which requires delegating the HBC).