-
Notifications
You must be signed in to change notification settings - Fork 1
WBPS Execution Strategies
This page explains the two trustless execution strategies currently under active development for running the Weakly Blind Predicate Schnorr (WBPS) protocol.
Both strategies maintain the cryptographic guarantees of WBPS but differ in abstraction level, execution model, and user interaction pattern.
The first strategy is based directly on the academic specification introduced in the Cavefish paper — it operates at the transaction level, focusing on minimal assumptions and maximal transparency.
The second strategy is a new proposal from the development team, designed specifically for Cardano, and leverages the upcoming Observer Script feature to move the same logic to a higher abstraction layer.
This design makes use of Cardano’s unique capabilities to simplify the user experience while preserving verifiability and decentralization.
Both strategies are trustless, but differ in where verification occurs:
- The Tx-Level Strategy operates directly on raw Cardano transactions (low-level).
- The Observer-Script-Level Strategy uses an audited script abstraction to enforce the same guarantees (high-level).
| Aspect | Option 1 — Tx-Level Strategy | Option 2 — Observer-Script-Level Strategy |
|---|---|---|
| Abstraction Level | Low (direct transaction semantics) | High (observer script abstraction) |
| Verification Point | User validates transaction directly | Script enforces properties on-chain |
| Trust Model | Fully trustless (user-controlled) | Fully trustless (script-verified) |
| User Focus | Cardano transaction structure and logic | Intent definition and script selection |
| Transaction Fees | Lower (no script execution) | Higher (script execution costs) |
| Transparency | Maximum — user verifies all details | Delegated — script encapsulates logic |
| Usability | Requires expert understanding | Accessible to all users |
| Maintenance | Complex — per-use verification | Centralized — reusable verified scripts |
| Cardano Feature Used | Standard transactions | Observer Script (upcoming feature) |
This strategy follows the academic model proposed in the original Cavefish paper.
It executes WBPS directly at the transaction (Tx) layer, where the Service Provider (SP) constructs and provides a verifiable transaction that the Light Client (user) can inspect and validate before signing.
- SP produces the transaction (TxAbs) representing all constraints and commitments.
- The user reviews and verifies that it enforces the intended properties.
- The proof is verified locally before the user signs the transaction.
- Lowest transaction cost (no script execution).
- Maximum transparency — every component can be reviewed by the user.
- Ideal for advanced users, auditors, or formal verification tooling.
- Provides a ground truth implementation aligned with the academic model.
- Requires understanding of Cardano transaction internals.
- Verification complexity grows with transaction logic.
- Not suitable for general users or lightweight applications.
- Tooling and visualization layers are necessary for non-experts.
This approach is a Cardano-specific extension developed by the team.
It introduces an additional abstraction layer where WBPS logic is executed and verified within a trusted on-chain Observer Script.
The script enforces the same correctness conditions defined in the Tx-level approach, but in a reusable and human-readable way.
- The user defines their intent via the Light Client UI.
- The SP uses a verified Observer Script that enforces WBPS constraints automatically.
- The user signs only the intent, not the raw transaction.
- The script ensures trustless validation on-chain, leveraging Cardano’s ledger semantics.
- Higher abstraction — users interact with intents, not raw transactions.
- Improved UX — ideal for web and mobile frontends.
- Reusable, audited scripts can gain community reputation and become standard modules.
- Enables new patterns for trustless DApp interoperability.
- Higher transaction fees due to script execution.
- Dependent on community auditing and script correctness.
- Transparency becomes indirect (trust shifts to code reputation).
- Requires Observer Script support on-chain (upcoming feature).
| Category | Tx-Level Strategy | Observer-Script-Level Strategy |
|---|---|---|
| Transparency | Full — user verifies manually | Delegated — script verified |
| Abstraction | Low-level | High-level |
| User Cognitive Load | High | Low |
| Transaction Fee | Minimal | Moderate to high |
| Implementation Scope | General blockchain agnostic | Cardano-specific |
| Ideal Use Case | R&D, formal verification, advanced users | End-user applications and DApps |
| Maturity Path | Baseline proof-of-concept | Production-ready design target |
Both strategies are essential components of the WBPS roadmap:
- The Tx-Level Strategy will serve as the reference implementation for correctness and benchmarking.
- The Observer-Script-Level Strategy will evolve into a production-grade execution model, leveraging Cardano’s scripting features for scalability and usability.
- Over time, audited Observer Scripts could form an open standard — allowing users to safely rely on pre-verified logic while still maintaining full on-chain verifiability.
- 📘 Week 1–2 | Aug 25 – Sep 5 2025
- 📘 Week 3–4 | Sep 8 – 19 2025
- 📘 Week 5–6 | Sep 20 – Oct 3 2025
- 📘 Week 6–7 | Oct 4 – 15 2025
- 📘 Week 8–9 | Oct 16 – 31 2025
- 📘 Week 10–11 | Nov 1 – 15 2025
- 📘 Week 12–13 | Nov 16 – 30 2025
- 📘 Week 14–15 | Dec 1 – 15 2025
- 📘 Week 16–17 | Dec 16 – 31 2025
- 📘 Week 18–19 | Jan 1 – 15 2026
- 📘 Week 20–21 | Jan 16 – 31 2026
- 📘 February 2026 (Closing Report)
- SRL 1 → 2 | CPS Specification & Scoped Requirements
- SRL 2 → 3 | Single Service Provider Prototype
- SRL 3 → 4.5 | Cardano Testnet Multi-SP Prototype & Formal Properties
- SRL 4.5 → 5 | Community Hand Off
- WBPS Execution Strategies
- zk-SNARKs for predicate verification - Current design, problems and potential solutions
- Recommendations for future steps
Maintained by Nicolas Henin · Input Output Global