sigil
Cookbook

Recipes for Ritual-native dApps.

End-to-end patterns combining precompiles. Each recipe ships with a diagram, Solidity contract, viem TS, and notes on the gotchas. Open any precompile cell to deep-link into the playground.

starter

AI Price Oracle

On-chain price feed without an oracle network.

HTTPJQScheduler
intermediate

AI-Judged Dispute Resolution

Smart contract escrow where an LLM rules on disputes, in a TEE.

LLM Inference
intermediate

Passkey wallet authentication

No seed phrase. Sign with Face ID via WebAuthn directly to chain.

secp256r1 / Passkey
advanced

ZK credit score gate

Prove credit ≥ 700 without revealing the score.

ZK ProofsLong-running HTTP
advanced

Always-on Twitter agent

An autonomous AI account that posts, replies, and survives forever.

Persistent AgentHTTPLLM InferenceDKMS
advanced

Image-and-Mint

Generate an image in a TEE, mint it as an ERC-721 in one flow.

Image Generation

More patterns coming. Want yours featured? Submit on GitHub →