Skip to content

Files

Latest commit

43608e3 · Dec 10, 2024

History

History
15 lines (10 loc) · 621 Bytes

File metadata and controls

15 lines (10 loc) · 621 Bytes

Onboard

The Account Onboard contract is responsible for onboarding user accounts to the system, leveraging RSA public keys and AES encryption. During onboarding, the user's AES encryption key is emitted in an event in encrypted form. This contract interacts with the MPC Core library to retrieve the user key.

Functions

function onboardAccount(bytes calldata publicKey, bytes calldata signedEK)

Events

event AccountOnboarded(address indexed _from, bytes userKey1, bytes userKey2)