DFPN is a decentralized coordination layer for deepfake detection on Solana. It connects clients who need media verified with independent node operators running their own detection models and GPU infrastructure. Economic incentives -- staking, rewards, and slashing -- ensure honest, accurate results without any central authority.
|
Multiple independent workers analyze every request. Commit-reveal protocol prevents collusion. Results are aggregated into consensus verdicts on-chain. |
Workers stake DFPN tokens as commitment. Accurate work earns rewards. Fraud gets slashed. The protocol aligns incentives without trusting anyone. |
Bring your own models. Bring your own GPUs. The protocol is the coordination layer -- detection capabilities are permissionlessly provided by operators. |
AI-generated synthetic media is growing exponentially. Face swaps, voice clones, generated images, and manipulated videos erode trust in digital content. Centralized detection services create single points of failure, lack transparency, and concentrate power over what is deemed "real."
DFPN decentralizes the solution. Independent operators run diverse detection models. Economic incentives replace trust. On-chain transparency replaces black boxes.
sequenceDiagram
participant C as Client
participant S as Solana
participant W1 as Worker 1
participant W2 as Worker 2
participant W3 as Worker 3
C->>S: Submit request + fee
S-->>W1: Task available
S-->>W2: Task available
S-->>W3: Task available
W1->>W1: Run detection model
W2->>W2: Run detection model
W3->>W3: Run detection model
W1->>S: Commit (hash of result)
W2->>S: Commit (hash of result)
W3->>S: Commit (hash of result)
Note over S: Commit window closes
W1->>S: Reveal result
W2->>S: Reveal result
W3->>S: Reveal result
S->>S: Aggregate consensus
S-->>C: Verdict + confidence
S-->>W1: Reward
S-->>W2: Reward
S-->>W3: Reward
9 steps. Fully on-chain. Trustless end-to-end.
- Submit -- Client posts media hash + fee + required modalities
- Route -- Workers poll for matching requests
- Analyze -- Each worker runs their models locally (DFPN never sees inference)
- Commit -- Workers lock in result hashes (prevents copying)
- Reveal -- Results are disclosed and verified against commitments
- Consensus -- Reputation-weighted aggregation produces a verdict
- Reward -- Workers and model developers earn based on accuracy
|
For GPU operators and infrastructure providers Stake DFPN tokens, run detection models on your hardware, and earn rewards for every request you process accurately.
|
For platforms, newsrooms, and applications Submit images, videos, or audio for deepfake analysis. Get consensus verdicts from multiple independent workers with full audit trails.
|
For ML researchers and algorithm developers Register your detection models on the network. Every time a worker uses your model to process a request, you earn a share of the fee.
|
Four pre-configured models ship with the worker client, covering the major deepfake modalities:
| Model | Modality | Architecture | Accuracy | GPU Speed |
|---|---|---|---|---|
| face-forensics | Face Manipulation | SBI / EfficientNet-B4 | 97.2% | 50ms |
| universal-fake-detect | AI-Generated Images | CLIP-ViT-L/14 | 99.8% | 100ms |
| video-ftcn | Video Authenticity | Xception + Temporal CNN | 96.4% | 2s |
| ssl-antispoofing | Voice Cloning | wav2vec 2.0 / XLSR-53 | 99.2% | 200ms |
Workers can run any combination of models. Model developers can register new models permissionlessly.
|
Total Supply: 1,000,000,000 DFPN
|
Fee Distribution per Request Scoring: Accuracy (50%) + Availability (25%) + Latency (15%) + Consistency (10%) |
graph TB
subgraph Clients
A[Web App / SDK]
end
subgraph Solana Programs
B[Content Registry]
C[Analysis Marketplace]
D[Worker Registry]
E[Model Registry]
F[Rewards & Treasury]
end
subgraph Off-Chain
G[Worker Daemon]
H[Indexer API]
I[Storage - IPFS / Arweave / S3]
end
subgraph Dashboard
J[Vue.js SPA]
end
A -->|Submit Request| C
A -->|Register Content| B
G -->|Poll & Process| C
G -->|Commit/Reveal| C
G -->|Fetch Media| I
D -->|Stake & Register| D
E -->|Register Models| E
F -->|Distribute Rewards| F
H -->|Index On-Chain Data| C
H -->|Index| D
H -->|Index| E
J -->|Query| H
J -->|Wallet Connect| C
programs/ Solana smart contracts (Anchor)
content-registry/ Media hash and provenance storage
analysis-marketplace/ Request creation and result tracking
model-registry/ Model metadata and versioning
worker-registry/ Worker staking and reputation
rewards/ Reward distribution and treasury
worker/ Node operator client (Rust)
indexer/ REST API indexer (Axum + Tantivy)
sdk/ TypeScript SDK
models/ Pre-configured detection models
dashboard/ Vue.js web dashboard
documentation/ MkDocs user documentation
# Run the dashboard locally
cd dashboard && npm install && npm run dev
# Run a worker node
./scripts/setup-models.sh
cargo run --release -p dfpn-worker -- --config config.yaml
# Build documentation
cd documentation && mkdocs serveFull documentation is available at dfpn.cryptuon.com and in the documentation/ directory:
- Getting Started -- Setup guides for workers, clients, and model developers
- How It Works -- Request lifecycle, commit-reveal, consensus
- Tokenomics -- Supply, emissions, staking, rewards, slashing
- API Reference -- REST API endpoints and response formats
- FAQ -- Common questions answered
| Layer | Stack |
|---|---|
| Blockchain | Solana, Anchor 0.30.1, SPL Token |
| Worker | Rust, Tokio, Clap |
| Indexer | Rust, Axum, Tantivy |
| Dashboard | Vue 3, TypeScript, Tailwind CSS 4, Chart.js |
| SDK | TypeScript, @solana/web3.js |
| Detection | Python, PyTorch, CLIP, wav2vec 2.0 |
DFPN -- Trust, but verify. At scale.
MIT License
