Job Launcher
The Job Launcher is responsible for initiating jobs that need to be processed or solved by workers within the HUMAN Protocol. Here's a detailed workflow of the tasks and responsibilities of the Job Launcher:
Job Launcher Selection and Registration:
Job requesters filter available Job Launchers based on the type of job they require and the reputation they seek.
Job requesters choose a Job Launcher and proceed with registration if they are not already registered.
Job Creation:
Job requesters, after successful registration, can create a new job.
Payment for jobs can be made using fiat or cryptocurrencies.
Job requesters are presented with a list of available job types within the selected Job Launcher. They select the one that best suits their requirements.
Oracles and Network Selection - Routing Protocol:
Depending on the chosen job type, Job Requesters have two options: they can either select the chain where the job will be initiated and choose the oracles to handle it, or they can opt to have the Routing Protocol make this decision.
In case they want to make the decision, job requesters are presented with a list of available oracles within the chosen network. Job requesters can choose from these oracles based on their specific needs or preferences.
Allowing the Routing Protocol to make the decision will result in the job being launched in the network that is most suitable for the task, along with the optimal selection of oracles. Read more about Routing Protocol.
Manifest Creation:
Before launching the job on the blockchain, the Job Launcher creates an encrypted manifest file containing all the metadata related to the job.
Smart Contract Creation:
Once the job request is created, the Job Launcher (for example, the HUMAN Job Launcher) generates a smart contract (escrow) on the blockchain.
The contract is configured to hold the funds provided by the job requester for rewarding workers fairly and safely.
Job Launch and Notification:
The Job Launcher initiates the job by launching it on the blockchain.
If required, a notification is sent via webhook to the Exchange Oracle to inform that the job has been created and is ready to be assigned to workers. For some specific job types, the Exchange Oracle can track new jobs through Subgraph.
Job Management:
Throughout the job's lifecycle, the Job Launcher monitors its progress.
The Job Launcher may make adjustments to the job, such as fixing its parameters or requirements, or cancelling it.
Results Presentation to Job Requester:
Throughout the job's progress, the Job Launcher periodically presents the solutions received during the process to the job requester for their review and evaluation.
The job requester has the option to assess the quality and completeness of the work at various stages.
If at any time the job requester is not satisfied with the solutions provided or the job's progress, they can choose to cancel the job.
In the event of a cancellation, a portion of the funds provided by the job requester may be refunded, depending on the job's completion status.
Reputation and Payment Management:
The Reputation Oracle evaluates and adjusts the reputations of workers and oracles involved in the task based on their performance.
Payment distribution to workers and oracles is managed by the Reputation Oracle according to the established criteria.
Job Launcher such as the HUMAN Job Launcher are operators in the HUMAN Protocol ecosystem, responsible for creating, managing, and overseeing job tasks, and ensuring they are executed efficiently and effectively. The ability to choose a Job Launcher based on job type and reputation, as well as the management of the entire job lifecycle, makes it an essential component in the Protocol's operation.
Last updated