ritual-dapp-onnx
OfficialRun ML models on-chain via ONNX precompile.
Authorritual-foundation
Version1.0.0
Installs0
System Documentation
What problem does it solve?
On-chain ML model inference via the ONNX precompile eliminates reliance on off-chain inference services, enables deterministic results during block execution, and reduces latency by running models directly in the network.
Core Features & Use Cases
- Synchronous inference: call the ONNX precompile (address 0x0000000000000000000000000000000000000800) and receive results in the same transaction.
- Flexible input/output: uses RitualTensor encoding for tensors and supports common numeric formats (FLOAT32, etc.).
- Use cases include real-time ML classification, regression, embeddings, and scoring in dApps that require on-chain decisions.
Quick Start
Deploy a test contract that constructs a small RitualTensor and invokes the ONNX precompile with a sample input.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ritual-dapp-onnx Download link: https://github.com/ritual-foundation/ritual-dapp-skills/archive/main.zip#ritual-dapp-onnx Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.