Skip to main content

Matching With Generator

Job Assignment in Non-Confidential Market​

In this process, when the matching engine identifies generators that meet the filtered criteria, it randomly selects one of the eligible generators and assigns the job to them. This approach ensures a fair and unbiased distribution of jobs among generators. More details about the matching algorithm can be found here.

Job Assignment in Confidential Market​

In this process, the KalypsoContract first requests the matching engine to retrieve the generator’s enclave public key. Using this key, the matching engine decrypts the private job inputs and re-encrypts them with the generator's public key, ensuring confidentiality. Finally, the matching engine assigns the job to the generator and securely transmits the re-encrypted private inputs.

info

Assign Job with re-encrypted private inputs​

You can refer to Step 3 and Step 4 of Secure Data Handling Section to understand how encrypted inputs are routed to the right operator and that only that operator can decrypt the inputs in the attested enclave.