PrivCrowd: A Secure Blockchain-Based Crowdsourcing Framework with Fine-Grained Worker Selection
Algorithm 1
The smart contract: PostTask.
Input: This contract’s address ; requester’s public key ; requester’s certificate ; task identifier ; description of the task ; deadline of submission ; total reword ; reward per solution ; encrypted task’s data(metadata) ; signature of posting task .
1: for each and do
2: if
3: goto final; Certificate invalid or requester unregister