Directories
¶
| Path | Synopsis |
|---|---|
|
Package groth16 attaches the browser WebGPU runtime to gnark's Groth16 prover for wasm targets.
|
Package groth16 attaches the browser WebGPU runtime to gnark's Groth16 prover for wasm targets. |
|
internal/wasmruntime/native
command
Command native exposes the CPU groth16 prover to JavaScript.
|
Command native exposes the CPU groth16 prover to JavaScript. |
|
internal/wasmruntime/webgpu
command
Command webgpu exposes the WebGPU-accelerated groth16 prover to JavaScript.
|
Command webgpu exposes the WebGPU-accelerated groth16 prover to JavaScript. |
|
internal
|
|
|
bridge
Package bridge is the Go side of the protocol between the wasm prover and the TypeScript WebGPU runtime.
|
Package bridge is the Go side of the protocol between the wasm prover and the TypeScript WebGPU runtime. |
|
generator
command
|
|
|
wasmruntime
Package wasmruntime exposes a gnark prover to JavaScript as an object of promise-returning methods (readConstraintSystem, readProvingKey, readVerificationKey, prepareProvingKey, prove, verify, release) that operate on string handles.
|
Package wasmruntime exposes a gnark prover to JavaScript as an object of promise-returning methods (readConstraintSystem, readProvingKey, readVerificationKey, prepareProvingKey, prove, verify, release) that operate on string handles. |
|
Package plonk attaches the browser WebGPU runtime to gnark's PLONK prover for wasm targets.
|
Package plonk attaches the browser WebGPU runtime to gnark's PLONK prover for wasm targets. |
|
internal/wasmruntime/native
command
Command native exposes the CPU plonk prover to JavaScript.
|
Command native exposes the CPU plonk prover to JavaScript. |
|
internal/wasmruntime/webgpu
command
Command webgpu exposes the WebGPU-accelerated plonk prover to JavaScript.
|
Command webgpu exposes the WebGPU-accelerated plonk prover to JavaScript. |
Click to show internal directories.
Click to hide internal directories.