Skip to content

Commit

Permalink
Uses zod to validate the proof json file against a schema. Serializes…
Browse files Browse the repository at this point in the history
… the header data before validating the signature. WIP: Input to verify method needs to be of a provable type.
  • Loading branch information
racampos committed Mar 29, 2024
1 parent d9858f0 commit be1dfd4
Show file tree
Hide file tree
Showing 5 changed files with 6,641 additions and 100 deletions.
190 changes: 188 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.16.0",
"@types/jest": "^27.0.3",
"@types/json-stable-stringify": "^1.0.36",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.7.0",
Expand All @@ -37,5 +38,9 @@
},
"peerDependencies": {
"o1js": "0.17.*"
},
"dependencies": {
"json-stable-stringify": "^1.1.1",
"zod": "^3.22.4"
}
}
Loading

0 comments on commit be1dfd4

Please sign in to comment.