3.3 Cloud Computing Reward Mechanism
Last updated
Last updated
Basic Reward
➢ Initializing Worker
Execute initialization command >> Create Worker wallet >> Generate Worker proof file
➢ Regular Challenges
Use on-chain random numbers to generate challenge data.
Combine Worker local proof file data and random numbers to generate encrypted proof.
Submit the computation result to PemChain for verification.
➢ Completing Challenge
Other nodes in the network verify the proof submitted by the Worker against the Worker's proof data and challenge data to confirm whether the Worker's submitted proof matches the challenge data.
➢ Issuing Rewards
PemChain issues rewards to Workers who successfully complete the challenge.
Cloud Computing Rewards
➢ Registering Worker
The Worker submits registration information such as service type and pricing to the chain.PemChain stores the Worker in the Worker Pool based on service type and other characteristics, according to certain weights.
➢ Accepting New Tasks
The client receives a new task, which must include pledged PemTokens.
➢ Selecting Worker
An appropriate Worker is matched from the PemPool based on the weights.
➢ Task Distribution
The task details are distributed to the corresponding Worker.
➢ Submitting Task Proof
After completing the task, the Worker submits the relevant work proof to the chain. The work proof varies depending on the application.
➢ Issuing Rewards
Upon detecting the work proof, the chain issues rewards to the Worker.