Skip to main content

verifyR0Groth16Scripts

HardKAS SDK


HardKAS SDK / sdk/src / verifyR0Groth16Scripts

Function: verifyR0Groth16Scripts()

verifyR0Groth16Scripts(params): R0Groth16VerifyScriptsResult

Defined in: packages/sdk/src/zk/toccata.ts:1551

Structural verification of RISC Zero Groth16 redeem and signature scripts by opcode parsing (audit M-03 replaced the substring heuristics). It proves shape, not spendability: only the node runs the precompile.

Parameters​

params​

R0Groth16VerifyScriptsParams

Returns​

R0Groth16VerifyScriptsResult