Messaging flow
This section goes into details of SDK ↔ MPC Nodes communication, you don't need this knowledge to use the SDK. All nitty gritty details described here are handled by our SDKs.
Request flow using V1 endpoint
The Frontend prepares the request, that gets forwarded to the Initiator:
The Initiator collects challenges from other Nodes, and forwards them back to the Frontend. The User is asked to sign the final_challenge that is a hash of the request, and Network challenges:
The signature over final_challenge arrives to the nodes, the request gets validated and executed. The response goes back all way down to the User.
Request flow using v2 endpoint
If request replay attack is not a concern, the v2 endpoints can be used. The Frontend prepares the request and prompts User to sign.
The request, with signatures goes to the Network.