ritual-dapp-ed25519

Verify Ed25519 signatures on-chain using Ritual's precompile.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

On-chain Ed25519 signature verification enables fast, gas-efficient validation of signatures from Solana, SSH keys, or any Ed25519-based data directly on Ethereum-compatible blockchains.

Core Features & Use Cases

  • Native precompile verification: use the Ed25519 precompile at address 0x0000000000000000000000000000000000000009 to verify signatures in a single call.
  • Gas-efficient validation: returns result synchronously with minimal gas cost compared to Solidity libraries.
  • Cross-chain identity: verify signatures from Solana, SSH, Tor onion services, DKIM-like data, or other Ed25519-based schemes on Ritual.

Quick Start

Deploy the Ed25519 verifier and call the precompile with a pubkey, message, and signature to verify signatures on-chain.

Frequently Asked Questions about ritual-dapp-ed25519

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

FAQPage Schema
How do I verify an Ed25519 signature on-chain?

You verify an Ed25519 signature on-chain by calling the precompile at address 0x09 with dynamic bytes containing the pubkey, message, and signature, returning 1 for valid or 0 for invalid.

Can I verify Solana signatures on Ethereum-compatible chains?

Yes, you can verify Solana signatures on Ethereum-compatible chains by using the Ed25519 precompile to validate the signature data natively in a single call.

What is the gas cost of on-chain Ed25519 verification?

On-chain Ed25519 verification via precompile is gas-efficient, returning results synchronously with minimal gas cost compared to implementing verification logic in Solidity libraries.

How do I encode inputs for the Ed25519 precompile?

Inputs for the Ed25519 precompile must be encoded as dynamic bytes containing the pubkey, message, and signature, which the precompile processes to return a boolean result.

Does the Ed25519 precompile support SSH key verification?

Yes, the Ed25519 precompile supports SSH key verification, allowing you to validate SSH signatures and other Ed25519-based data directly on Ethereum-compatible blockchains.

What are the limitations of using a precompile for Ed25519 verification?

The precompile requires the specific address 0x0000000000000000000000000000000000000009 to be available on the chain, meaning it will not function on networks lacking this native precompile support.