ferveo icon indicating copy to clipboard operation
ferveo copied to clipboard

An implementation of a DKG protocol for front-running protection on Anoma.

Results 33 ferveo issues
Sort by recently updated
recently updated
newest added

We need tests for the protocol and implementation. [ ] End-to-end tests which run the entire DKG and threshold encryption/decryption from beginning to end [ ] Tests for each individual...

prio:high

Tracking all major tasks and decisions to be made, both roughly in order of importance. Decisions: - [ ] ~~Choose a BLS signature crate/library/implementation and/or choose to write a new...

tracking
prio:high

The #14 implementation helped performance quite a bit, but there are so many subgroup checks that further improvement is needed. Probably the best remaining trick is to batch many subgroup...

prio:low

Loop in https://github.com/anoma/ferveo/blob/master/tpke/src/decryption.rs#L67 can be sped up by using arkworks VariableBaseMSM. The code below shows an initial approach (currently failing with errors): ``` use ark_ec::msm::VariableBaseMSM; // sum_D_j = { [\sum_j...

TPKE
prio:high

- Part (I): Make sense of the code - What's the role of full nodes vs validators? - Even though a validator can check all steps in the DKG, the...

Extremely high performance is a design goal of Ferveo, this will require some creativity to achieve. This issue is to track the discussion and ideas. Relevant readings: https://twitter.com/aniketpkate/status/1319345423811809291 https://people.csail.mit.edu/devadas/pubs/scalable_thresh.pdf

tracking

Is https://github.com/anomanetwork/ferveo/pull/24 up to date? We should also merge the rendered PDF with Git LFS.

- [ ] Refactor signed messages into reusable `Signed` type - [ ] Switch tests to use seeded/deterministic RNG - [ ] NIZKP use hash to field

Some parameters such as: * $n$, total number of nodes/identities in the protocol * $W$, total weight of all nodes * $f$, maximum number of crashed nodes at any time...