ritual-dapp-contracts

Maps Ritual precompile addresses and system contracts for Solidity integration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ritual-dapp-contracts helps developers safely and correctly integrate with Ritual precompiles, system contracts, ABI encoding, and callback security in Solidity.

Core Features & Use Cases

  • Maps Ritual precompile addresses to their roles (system contracts, execution models, and ABIs) to avoid misconfiguration.
  • Documents and enforces callback security patterns and async delivery semantics across short- and long-running precompiles.
  • Use Case: A Solidity project deploying on Ritual can reliably invoke precompiles with correct input/output encoding and phase handling.

Quick Start

Map Ritual precompiles and system contracts to your Solidity project and verify encoding and async delivery flows.

Frequently Asked Questions about ritual-dapp-contracts

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

FAQPage Schema
How do I map Ritual precompile addresses for Solidity smart contracts?

To map Ritual precompile addresses for Solidity, you must match system contract addresses to their specific roles, execution models, and ABIs. Correct routing prevents misconfiguration and ensures safe crypto operations.

How do async callbacks work with Ritual precompiles in smart contracts?

Async callbacks in Ritual precompiles use the AsyncJobTracker to manage delivery semantics across short and long-running executions. Implementing specific callback security patterns safely handles these asynchronous delivery phases.

What is the correct ABI encoding layout for Ritual precompile inputs and outputs?

Correct ABI encoding for Ritual precompiles requires formatting inputs and outputs according to specific system contract encoding rules. Verifying these rules ensures your Solidity integration reliably invokes precompiles without phase handling errors.

Do I need specific executor selection logic when building dapps on Ritual?

Yes, building dapps on Ritual requires specific executor selection logic to route transactions correctly. Choosing the right executor ensures proper precompile routing and safe execution of async delivery behaviors.

What are the limitations of Ritual precompile callback security patterns?

Limitations of Ritual precompile callback security patterns involve managing complex async delivery semantics across short and long-running executions. You must carefully handle AsyncJobTracker interactions to avoid misconfiguration and ensure safe crypto operations.