Open Consent Protocol (OConsent)The decentralized standard for cryptographic consent management
OConsent combines open-source foundations with enterprise reliability:
The OConsent protocol consists of three core layers:
ERC-721 based consent tokens with embedded permissions, expiry, and compensation terms.
struct ConsentToken {
address owner;
string scope; // e.g., "llm_training"
uint256 expiry;
uint256 fee; // in wei
}
Decentralized nodes validate requests against on-chain rules with Zk-proofs for privacy-preserving verification.
Smart contracts that automatically enforce consent terms and manage compensation flows.
%% Paste your Mermaid code here
graph TD
A[User Devices] -->|Sets Consent Preferences| B[OConsent Dashboard]
B -->|Issues Consent Tokens| C[Blockchain Network]
C -->|Stores Immutable Records| D[Consent Registry]
E[Applications] -->|Checks Consent| F[Verification Network]
F -->|Queries| D
F -->|Returns ZK-Proof| E
G[Data Processors] -->|Pays for Access| H[Compensation Layer]
H -->|Settles Payments| I[User Wallets]
D -->|Triggers| J[Enforcement Engine]
J -->|Applies Rules| K[Compliant Systems]
J -->|Blocks| L[Non-compliant Systems]
Non-fungible tokens (ERC-721) representing granular data permissions with:
On-chain verification of consent status with:
Decentralized governance model for:
OConsent can be integrated via multiple methods depending on your infrastructure:
import { checkConsent } from '@oconsent/sdk';
async function processData(user) {
if (await checkConsent(user, 'data_processing')) {
// Proceed with data processing
} else {
throw new Error('Consent not granted');
}
}
GET /api/v1/consent/{user_id}?scope=data_processing
Response:
{
"granted": true,
"expiry": "2025-12-31T23:59:59Z",
"terms": "https://oconsent.io/terms/123"
}
interface IOConsent {
function checkConsent(
address user,
string calldata scope
) external view returns (bool);
}
Demonstrate ethical data sourcing for LLM training with immutable consent records.
Compatible with: Hugging Face, OpenAI, Anthropic
Granular patient consent for research while maintaining HIPAA compliance.
Compatible with: Epic, Cerner
User-managed opt-in/opt-out with compensation models.
Compatible with: Google Analytics, Adobe
| Feature | Traditional Consent | OConsent Protocol |
|---|---|---|
| Technical Enforcement | None | Blockchain-verified |
| User Control | Per-service | Universal dashboard |
| Auditability | Manual logs | Immutable records |
| Compensation | None | Micropayments |
| GDPR Compliance | Documentation | Automated proof |
| License Model | Proprietary | Apache 2.0 (Open Source) |
Complete this form to schedule a technical demo for your organization:
Contribute to the open-source protocol and RFC standardization process.
Join our early adopter program for enterprise integration support.
Join the waitlist for early access to the consent dashboard.