Перейти к содержанию

Self-Custody Use Case

This use case involves a 2-of-2 SMPC scheme, where the first secret is stored on the user's device (mobile phone, PC, etc.), and the second secret is stored on the Spatium Signer Service within the Spatium Cloud. It also implies the use of other components of the Spatium Cloud to implement the logic of the end application. The approximate interaction scheme is presented below:

Data Flow

There are also scenarios where the Spatium Signer Service can be deployed by organizations and/or where the SMPC service logic can be implemented within an organization's existing codebase using the Spatium SDK.

To implement transaction signing on the client side, it is suggested to use the Spatium Signer Client, which already includes a suitable transport for communication with the service.

For more detailed recommendations on implementing this scenario, please refer to this document.