Optimizing worker tracking in NuCypher using BLS
This projects helps to keep track of the workers that commit to work on each period and record a proof of that. We use BLS to make aggregated signatures of every workers commitment.
Demo
About
The problem it solves Instead of requiring everyworker to commit in Ethereum all workers can agree, using etheremint as off chain mechanism, on an aggregated commitment and submit just one commit per period that includes the signatures of all workers that commited. This aggregated signature can be verified on-chain latter on.
How it's made
Challenges we ran into Ethermint was been challenging to work with at the begining. We spent some time trying to understand how to initializing it and make it accept rcp queries. Also, we spent some time learning how to use the BLS javascript library.