Skip to content

@lelantos-org/sdk / protocol / challengeWordCount

Function: challengeWordCount() ​

ts
function challengeWordCount(shape): number;

Defined in: @lelantos-org/sdk/dist/protocol/shape.d.ts:35

Words PubInputs.compress hashes into the Fiat-Shamir challenge z: the coefficients (see coeffCount), the digest word, the five words the circuit has no signal for (recipient, chainId, payer, relayer, intentHash), three clue words per output, and the aux digest. 38 at 4×6; equals flatten's output length.

Parameters ​

ParameterType
shapeCircuitShape

Returns ​

number