Skip to content

Commit 34ea7c0

Browse files
committed
docs: add example for multi-threaded proving
1 parent 5c74d36 commit 34ea7c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

barretenberg/ts/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const { Barretenberg, RawBuffer, Crs } = await import('@aztec/bb.js');
113113

114114
Multithreading in bb.js requires [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) to be enabled. It is only enabled in browsers if COOP and COEP headers are set by the server. Read more [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements).
115115

116-
You can configure your server to set these headers for pages that perform proof generation. Here is an example for NextJS:
116+
You can configure your server to set these headers for pages that perform proof generation. See [this example project](https://github.com/saleel/gitclaim/blob/main/app/next.config.mjs#L48-L67) that implements multi-threaded browser proving, which contains the below Next.js config:
117117

118118
```typescript
119119
{

0 commit comments

Comments
 (0)