ValidityProofParams
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / ValidityProofParams
Interface: ValidityProofParams
Section titled “Interface: ValidityProofParams”Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:53
Parameters for generating a Validity Proof
Proves: intent is authorized by sender without revealing sender
docs/specs/VALIDITY-PROOF.md
Properties
Section titled “Properties”intentHash
Section titled “intentHash”intentHash:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:55
Hash of the intent (public)
senderAddress
Section titled “senderAddress”senderAddress:
string
Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:57
Sender’s address (private)
senderBlinding
Section titled “senderBlinding”senderBlinding:
Uint8Array
Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:59
Blinding factor for sender commitment (private)
senderSecret
Section titled “senderSecret”senderSecret:
Uint8Array
Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:61
Sender’s secret key (private) - used to derive public key if senderPublicKey not provided
authorizationSignature
Section titled “authorizationSignature”authorizationSignature:
Uint8Array
Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:63
Signature authorizing the intent (private)
nonce:
Uint8Array
Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:65
Nonce for nullifier generation (private)
timestamp
Section titled “timestamp”timestamp:
number
Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:67
Intent timestamp (public)
expiry
Section titled “expiry”expiry:
number
Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:69
Intent expiry (public)
senderPublicKey?
Section titled “senderPublicKey?”
optionalsenderPublicKey:PublicKeyXY
Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:71
Optional: Sender’s public key. If not provided, derived from senderSecret