Upload File
Upload an encrypted file to IPFS via Pinata with Groth16 ZK proof.file: File to upload (max 100MB)proof: Groth16 proof JSONpublicSignals: Public signals arraycommitment: Password commitment hashchecksum: SHA-256 file checksum
List Files
Get list of uploaded files for current user.Download File
Download a file from IPFS.Delete File
Unpin a file from IPFS (removes from Pinata).Create Share Link
Generate a shareable link for a file.Access Shared File
Access a file via share link.Verify ZK Proof
Verify Groth16 proof for a file.Error Codes
| Code | Description |
|---|---|
FILE_TOO_LARGE | File exceeds max size (100MB) |
INVALID_PROOF | ZK proof verification failed |
CID_NOT_FOUND | File not found on IPFS |
CHECKSUM_MISMATCH | File integrity check failed |
SHARE_EXPIRED | Share link has expired |
PINATA_ERROR | Pinata API error |