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:

  1. Job Requester Selection and Registration:

    • Job Requesters visit the Leaderboard, which lists various Job Launchers based on job types and reputation.

    • Job Requesters filter available Job Launchers based on the type of job they desire and the reputation they seek.

    • Job Requesters choose a Job Launcher and proceed with registration if they are not already registered.

  2. 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.

  3. 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 here.

  4. 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.

  5. Smart Contract Creation:

    • Once the job request is created, the 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.

  6. 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 it that the job has been created and is ready to be assigned to workers. For some specific job types Exchange Oracle can track new jobs using Subgraph.

  7. 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, cancelling it.

  8. 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.

  9. 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.

The Job Launcher is an operator in the Human Protocol ecosystem, responsible for creating, managing, and overseeing job tasks, 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

Logo

© 2023 HPF. HUMAN Protocol® is a registered trademark