Skip to content

Commit

Permalink
docs(groth16): add buildBn128 function to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed Oct 17, 2023
1 parent a617800 commit 03fce4c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/groth16/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,12 @@ const response = await verify(verificationKey, proof)

console.log(response) // true
```

\# **buildBn128**(): Promise\<_any_>

```typescript
import { buildBn128 } from "@zk-kit/groth16"

const curve = await buildBn128() // WasmField1
// https://github.com/iden3/ffjavascript/blob/master/src/wasm_field1.js
```

0 comments on commit 03fce4c

Please sign in to comment.