Lifecycle Management
The Zero Knowledge Proof Data Marketplace is designed for more than just publishing datasets — it provides tools for complete lifecycle control. From initial upload to eventual revocation, contributors can manage access, visibility, and usage terms with precision. Lifecycle management ensures datasets remain current, compliant, and securely governed across their full journey on-chain and off-chain.


Revocation Mechanism
The marketplace supports comprehensive dataset lifecycle management through:
function revokeDataset(uint256 datasetId) external { Dataset storage ds = datasets[datasetId]; require(ds.provider == msg.sender, "Not dataset provider"); require(ds.isActive, "Dataset already revoked"); ds.cid = ""; ds.isActive = false; emit DatasetRevoked(datasetId, msg.sender, block.timestamp); }
This function deactivates datasets, clearing the CID and halting access. This is akin to retracting a digital publication, with implications for existing access rights.
