o1js
o1js copied to clipboard
[Prototype] Implement Blake Hashing for Mina Consensus Selection in o1js Circuit
LambdaClass needs to implement the Mina consensus selection algorithm in an o1js circuit. To achieve this, they require the Blake hashing function, which needs to be implemented as a gadget. We need to prototype this implementation and assess its feasibility, particularly focusing on performance and memory constraints.
Objective:
Prototype Blake hashing in o1js, evaluate its performance, and determine if it's suitable for use in the consensus selection algorithm implementation.
Key Points to Address:
- Implement Blake hashing as a gadget in o1js.
- Assess performance constraints, with a particular focus on memory usage.
- Determine if the o1js implementation is feasible or if we need to switch to Snarky for native proving.