mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
proof type
Former-commit-id: 4b330981acce89d0a3d9a9121d4e08f9d5700d9e [formerly e457fd494e]
Former-commit-id: 4a8aeb161e4a6f0d4cea1a6fd728d516d3c203fb
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@libsem/types",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"description": "Common type definitions for Semaphore modules.",
|
||||
"main": "src/index.ts",
|
||||
"types": "dist/index.d.ts",
|
||||
|
||||
@@ -3,8 +3,18 @@ export interface Identity {
|
||||
identityTrapdoor: bigint
|
||||
}
|
||||
|
||||
export type Proof = {
|
||||
proof: {
|
||||
pi_a: Array<string>,
|
||||
pi_b: [ [Array<string>], [Array<string>], [Array<string>] ],
|
||||
pi_c: Array<string>
|
||||
protocol: string,
|
||||
curve: string
|
||||
},
|
||||
}
|
||||
|
||||
export interface IProof {
|
||||
proof: any
|
||||
proof: Proof
|
||||
publicSignals: Array<bigint | string>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user