Skip to main content

CreateZkVerificationFactOptions

HardKAS SDK


HardKAS SDK / artifacts/src / CreateZkVerificationFactOptions

Interface: CreateZkVerificationFactOptions

Defined in: packages/artifacts/src/zk-fact.ts:7

Properties​

computeBudget​

readonly computeBudget: number

Defined in: packages/artifacts/src/zk-fact.ts:36


curve?​

readonly optional curve?: "BN254"

Defined in: packages/artifacts/src/zk-fact.ts:10


draftArtifactId?​

readonly optional draftArtifactId?: string

Defined in: packages/artifacts/src/zk-fact.ts:32


feeSompi​

readonly feeSompi: string

Defined in: packages/artifacts/src/zk-fact.ts:37


guestSystem?​

readonly optional guestSystem?: "custom" | "RISC Zero"

Defined in: packages/artifacts/src/zk-fact.ts:11


imageId​

readonly imageId: string

Defined in: packages/artifacts/src/zk-fact.ts:12


journalHash​

readonly journalHash: string

Defined in: packages/artifacts/src/zk-fact.ts:13


networkId​

readonly networkId: string

Defined in: packages/artifacts/src/zk-fact.ts:8


offChainVerification?​

readonly optional offChainVerification?: "VERIFIED" | "NOT_PERFORMED" | "FAILED"

Defined in: packages/artifacts/src/zk-fact.ts:21

VERIFIED / NOT_PERFORMED / FAILED; defaults from verifiedOffChain (true -> VERIFIED, false -> NOT_PERFORMED).


offChainVerifier?​

readonly optional offChainVerifier?: string

Defined in: packages/artifacts/src/zk-fact.ts:23

Id of the verifier that produced a VERIFIED / FAILED status.


p2shAddress​

readonly p2shAddress: string

Defined in: packages/artifacts/src/zk-fact.ts:29


payoutAddress​

readonly payoutAddress: string

Defined in: packages/artifacts/src/zk-fact.ts:34


payoutSompi​

readonly payoutSompi: string

Defined in: packages/artifacts/src/zk-fact.ts:35


planArtifactId?​

readonly optional planArtifactId?: string

Defined in: packages/artifacts/src/zk-fact.ts:31


proofSha256​

readonly proofSha256: string

Defined in: packages/artifacts/src/zk-fact.ts:14


provingSystem?​

readonly optional provingSystem?: "Groth16"

Defined in: packages/artifacts/src/zk-fact.ts:9


redeemScriptHash​

readonly redeemScriptHash: string

Defined in: packages/artifacts/src/zk-fact.ts:30


spendUtxo​

readonly spendUtxo: object

Defined in: packages/artifacts/src/zk-fact.ts:24

amountSompi​

readonly amountSompi: string

index​

readonly index: number

transactionId​

readonly transactionId: string


timestamp?​

readonly optional timestamp?: string

Defined in: packages/artifacts/src/zk-fact.ts:42

Optional wall-clock time. Omitted by default so that the fact's identity (contentHash) depends only on what it records, never on when it was built (ZK-09); when given, it is part of the identity.


txId​

readonly txId: string

Defined in: packages/artifacts/src/zk-fact.ts:33


verifiedOffChain​

readonly verifiedOffChain: boolean

Defined in: packages/artifacts/src/zk-fact.ts:19

The producer's statement that the proof was verified off-chain. HardKAS's own builder sets it only from its verifier (verifyR0Groth16ReceiptLocal); a hand-built fact carries whatever its author asserts.