Circuits

14 production Groth16 zk-SNARK circuits (BN128 curve). Artifacts served from zkrune.com/circuits/.

All circuits use Groth16 zk-SNARKs (BN128 curve). Artifacts (WASM + zkey + vkey) are served from zkrune.com/circuits/. Each entry below shows the public/private inputs.

Identity

age-verification — self-asserted

Prove minimum age without revealing birth year.

FieldTypeLabel
birthYearintegerBirth Year
currentYearintegerCurrent Year
minimumAgeintegerMinimum Age

Artifacts: age-verification.wasm · age-verification.zkey · age-verification_vkey.json

membership-proof — production

Prove group membership via Merkle inclusion (depth=16, Poseidon).

FieldTypeLabel
memberIdhashMember ID
pathElementshashPath Elements [16]
pathIndiceshashPath Indices [16]
roothashMerkle Root

credential-proof — self-asserted

Prove valid credential without exposing it.

FieldTypeLabel
credentialHashhashCredential Hash
credentialSecrethashCredential Secret
validUntiltimestampValid Until
currentTimetimestampCurrent Time
expectedHashhashExpected Hash

anonymous-reputation — self-asserted

Prove reputation score exceeds threshold anonymously.

FieldTypeLabel
userIdhashUser ID
reputationScoreintegerReputation Score
userNoncehashUser Nonce
thresholdScoreintegerThreshold
platformIdhashPlatform ID

Financial

balance-proof — production

Prove balance exceeds threshold (attested when wallet connected).

FieldTypeLabel
balanceintegerBalance
minimumBalanceintegerMinimum Balance

range-proof — self-asserted

Prove a value is within a range.

FieldTypeLabel
valueintegerValue
minRangeintegerMinimum
maxRangeintegerMaximum

token-swap — self-asserted

Prove swap eligibility without revealing balance.

FieldTypeLabel
tokenABalanceintegerToken A Balance
swapSecrethashSwap Secret
requiredTokenAintegerRequired Token A
swapRateintegerSwap Rate
minReceiveintegerMin Receive

nft-ownership — self-asserted

Prove NFT ownership without revealing which one.

FieldTypeLabel
nftTokenIdintegerNFT Token ID
ownerSecrethashOwner Secret
collectionRoothashCollection Root
minTokenIdintegerMin Token ID
maxTokenIdintegerMax Token ID

whale-holder — self-asserted

Prove whale-level holdings without revealing amount.

FieldTypeLabel
balanceintegerBalance
minimumBalanceintegerWhale Threshold

Governance

private-voting — production

Cast verifiable vote without revealing identity.

FieldTypeLabel
voterIdhashVoter ID
voteChoiceintegerVote Choice
pollIdhashPoll ID

quadratic-voting — self-asserted

Quadratic vote weighted by token balance.

FieldTypeLabel
voterIdhashVoter ID
tokenBalanceintegerToken Balance
voteChoiceintegerVote Choice
pollIdhashPoll ID
minTokensintegerMin Tokens

Cryptographic

hash-preimage — production

Prove knowledge of a hash preimage.

FieldTypeLabel
preimagehashPreimage
salthashSalt
expectedHashhashExpected Hash

signature-verification — production

Verify EdDSA signature inside a ZK circuit.

FieldTypeLabel
R8xhashR8 X
R8yhashR8 Y
ShashS
AxhashPublic Key X
AyhashPublic Key Y
MhashMessage

patience-proof — production

Prove minimum wait period elapsed.

FieldTypeLabel
startTimetimestampStart Time
endTimetimestampEnd Time
secrethashSecret
minimumWaitTimeintegerMin Wait
commitmentHashhashCommitment Hash