Token shortlist
Alternative designs
Note representation
const NUM_SLOTS: usize = 6;
type Account = [Scalar; NUM_SLOTS];struct Note {
version: Scalar,
id: Scalar,
nullifier: Scalar,
trapdoor: Scalar,
h_acc: Scalar, // hash of the `Account` tuple
} Withdrawrelation
WithdrawrelationImplementing constraint group (C1) in a circuit
Implementing constraint group (C2) – the range check – in a circuit
Increasing balance tuple size
Last updated
Was this helpful?
