Mithril based Oracle - Feasibility
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- blockchain, rust
- Área
- blockchain, cryptography
Línea de trabajo
Comience con el modelo de datos de Oracle y el pipeline de certificación; después, revise las secciones sobre la participación de los signers y la verificación de proofs on-chain. Use CIP-0137 como línea base para los costes de difusión de mensajes y compare el wrapping de Groth16 BLS12-381 con la verificación directa de Halo2. Se considerará terminado cuando haya un informe de viabilidad, modelos recomendados de verificación y de signers, una arquitectura de prototipo de alto nivel y una hoja de ruta de hitos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Why
We plan to evaluate the feasibility of leveraging the Mithril protocol as a decentralized Oracle for Cardano. The study will assess how Mithril can deliver verifiable, trustless data, identify integration challenges as well as operational costs and incentive considerations, and outline a roadmap toward a prototype for on-chain deployment.
Mithril's STM (Stake-based Threshold Multisignature) protocol already provides a data-agnostic certification mechanism: signers register with their stake, produce single signatures via a lottery, and an aggregate multi-signature is formed once the quorum is reached. This infrastructure can in principle be extended to certify arbitrary oracle data (e.g., price feeds, external chain state, off-chain computation results).
What
The feasibility study should produce:
- A feasibility report covering all the areas described below.
- A recommendation on the preferred on-chain verification approach (Groth16 wrapping vs. direct Halo2 verification).
- A recommendation on the signer participation model (full signer set, opt-in subset, or adapted STM protocol).
- A high-level architecture proposal for the oracle prototype.
- An initial roadmap with milestones toward a working prototype.
How
Oracle data model and certification pipeline
- Define what kinds of data the oracle would certify (price feeds, cross-chain state, off-chain computation results, etc.).
- Evaluate how the oracle data sources are fetched, validated, and agreed upon by signers before signing (consensus on input data).
- Assess the frequency and latency requirements for oracle updates versus the existing Mithril certification cadence.
Signer participation model
Study whether the oracle can operate with fewer signers producing the actual signatures. The current STM protocol requires a quorum k out of m lottery indices, with eligibility proportional to stake. For oracle use cases, it may not be practical or necessary to involve the full set of registered SPOs.
This area should evaluate:
- Whether a sub-signer-registration mechanism could be introduced, where a subset of signers explicitly opts into oracle duties while the remaining signers either:
- Endorse the resulting signatures (e.g., by co-signing an attestation of the oracle certificate), or
- Are simply excluded from the oracle signing round without affecting the security guarantees.
- Whether the STM protocol itself can be adapted to natively support sub-signer-registrations for specific use cases.
- The security implications of operating with a smaller signer set: what are the minimum stake and quorum thresholds needed to maintain acceptable security guarantees for oracle data?
On-chain proof verification
Evaluate how the proofs created by the Mithril oracle would be consumed on-chain in Plutus smart contracts. Two main approaches should be studied:
- Groth16 BLS12-381 proofs derived from existing recursive Halo2 SNARKs: Study whether a Groth16 proof on BLS12-381 can be generated from these recursive Halo2 SNARKs, producing a succinct proof that Plutus scripts can verify .
- Direct verification of recursive Halo2 proofs on-chain: Assess the feasibility of verifying recursive Halo2 proofs directly within Plutus smart contracts. This requires evaluating the computational cost (execution units), the availability of the required primitives on-chain, and whether the proof sizes are acceptable for transaction limits.
The comparison between both approaches should cover proof size, verification cost (CPU and memory execution units), trust assumptions, and implementation complexity.
Operational costs and incentives
- Evaluate the cost model for SPOs, taking into account that message diffusion is costly. CIP-0137 (Decentralized Message Queue) provides a detailed cost model for message diffusion on the DMQ network used to broadcast signer signatures and that should serve as a baseline for this analysis
- Outline potential incentive mechanisms for signers to participate in oracle data certification, ensuring that the incentives adequately compensate for the operational costs identified above.
- Assess the economic security model: what is the cost of corrupting oracle data relative to the stake backing it?
- Lenguaje dominante
- Rust
- Estrellas
- 155
- Forks
- 52
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 37
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de IntersectMBO/mithril
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
IntersectMBO/mithril#1605 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
spike :satellite:
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
IntersectMBO/mithril#3701 ·
Los mantenedores suelen responder en 2 días
-
Publish a DNSLink record of the immutable archives IPNS name in the Mithril networks DNS zonesPosiblemente ocupada @jpraynaud la tomó hace 2 días. Abiertofeature :rocket:
IntersectMBO/mithril#3700 · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
feature :rocket:
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
IntersectMBO/mithril#3699 ·
Los mantenedores suelen responder en 2 días
-
feature :rocket:
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
IntersectMBO/mithril#3698 ·
Los mantenedores suelen responder en 2 días
Todos los issues de IntersectMBO/mithril
Issues similares
-
[Bug]: opencode_go chat route drops reasoning_effort (even 'none'), while the same endpoint honors it via custom_llm_provider=openaiPosiblemente ocupada @arvindkumar-ship-it la tomó hoy. Abiertollm translation
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
BerriAI/litellm#51871 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
comp-formats
Dificultad 2/5 Medio día Aptitud para principiantes 64/100
ClickHouse/ClickHouse#131694 ·
Los mantenedores suelen responder en 1 día
-
cli: `execCargoMetadata` decodes stdout per chunk, corrupting non-ASCII paths across pipe boundariesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
C-Bug S-Needs-Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
bevyengine/bevy#26558 ·
Los mantenedores suelen responder en 2 días