Skip to content

Commit

Permalink
docs(poseidon-proof): fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed Nov 27, 2023
1 parent 0ec7106 commit 42a7023
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"class-methods-use-this": "warn",
"import/no-extraneous-dependencies": "off",
"import/no-relative-packages": "off",
"@typescript-eslint/no-implied-eval": "off",
"@typescript-eslint/no-loop-func": "off",
"@typescript-eslint/no-shadow": "off",
"@typescript-eslint/no-explicit-any": "off",
Expand Down
6 changes: 3 additions & 3 deletions packages/poseidon-proof/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const fullProof = await generate(message, scope)

// If not specified, the Snark artifacts are downloaded automatically.
// You can also specify them.
const fullProof = await generate(message, scope, {
const fullProof2 = await generate(message, scope, {
zkeyFilePath: "./poseidon-proof.zkey",
wasmFilePath: "./poseidon-proof.wasm"
})
Expand Down Expand Up @@ -118,9 +118,9 @@ console.log(fullProof)
\# **verify**(poseidonProof: _PoseidonProof_): Promise\<_boolean_>

```typescript
import { verify } from "@zk-key/poseidon-proof"
import { verify } from "@zk-kit/poseidon-proof"

const response = await verifyProof(fullProof)
const response = await verify(fullProof)

console.log(response) // true or false

Expand Down

0 comments on commit 42a7023

Please sign in to comment.