ritual-dapp-secrets

Encrypt and manage secrets for Ritual dApps using ECIES.

62|56|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/ritual-foundation/ritual-dapp-skills --skill ritual-dapp-secrets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ritual-dapp-secrets
Source: https://github.com/ritual-foundation/ritual-dapp-skills/tree/main/skills/ritual-dapp-secrets
Command: npx skills add https://github.com/ritual-foundation/ritual-dapp-skills --skill ritual-dapp-secrets

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Secret management and private I/O for on-chain Ritual dApps, enabling encrypted secrets, private execution results, and delegated access control.

Core Features & Use Cases

  • Encrypt and decrypt secrets with ECIES to protect sensitive values.
  • Private outputs from precompiles and delegated access through SecretsAccessControl.
  • Use cases include provisioning API keys, credentials, and shared secrets across contracts or DAOs.

Quick Start

Encrypt your secrets with the executor’s public key, submit a precompile request, and decrypt the private output on your side.

Frequently Asked Questions about ritual-dapp-secrets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I encrypt API keys for Ritual dApps?

To encrypt API keys for Ritual dApps, use ECIES to encrypt the secret with the executor's public key, then submit the encryptedSecrets payload to the precompile pipeline for secure on-chain execution.

What is the best way to manage private outputs from on-chain precompiles?

Private outputs from on-chain precompiles are managed using private-output encryption within the precompile-based pipeline, encrypting the execution results so only authorized parties can decrypt and access the sensitive data.

Can I delegate access to encrypted secrets across multiple contracts or DAOs?

Yes, you can delegate access to encrypted secrets across contracts or DAOs using SecretsAccessControl, which enables controlled sharing and delegated access management for on-chain workflows requiring secure secret distribution.

How does ECIES encryption work for on-chain secret management?

ECIES encryption for on-chain secret management works by encrypting secrets with the executor's public key, ensuring that only the designated precompile executor can decrypt the payload and access the sensitive values during execution.

Do I need template substitution to provision credentials in Ritual dApps?

Yes, template substitution is used in the precompile-based pipeline to provision credentials, allowing encrypted secrets to be dynamically injected into precompile requests without exposing the plaintext values on-chain.