multiversx-crypto-verification

Verify Ed25519, secp256k1, secp256r1, and BLS signatures in MultiversX smart contracts.

12|5|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-crypto-verification
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: multiversx-crypto-verification
Source: https://github.com/multiversx/mx-ai-skills/tree/main/skills/multiversx-crypto-verification
Command: npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-crypto-verification

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides developers with the necessary tools and documentation to securely perform cryptographic operations, such as hashing and signature verification, directly within MultiversX smart contracts.

Core Features & Use Cases

  • Hashing: Supports SHA256, Keccak256, and RIPEMD160 for data integrity and various cryptographic protocols.
  • Signature Verification: Enables verification of Ed25519, secp256k1, secp256r1, and BLS signatures, with both panic-based and boolean return options for flexible error handling.
  • Use Case: Securely verify user-submitted signatures on-chain to authorize critical transactions or authenticate data provenance, ensuring the integrity and authenticity of operations within the MultiversX ecosystem.

Quick Start

Use the multiversx-crypto-verification skill to verify an Ed25519 signature for a given message and public key.

Frequently Asked Questions about multiversx-crypto-verification

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

FAQPage Schema
How do I verify an Ed25519 signature inside MultiversX smart contracts?

To verify an Ed25519 signature inside MultiversX smart contracts, you can use dedicated cryptographic operations that return a boolean or panic on failure. This allows flexible error handling for authorizing transactions and authenticating data provenance securely on-chain.

What hashing algorithms are supported for MultiversX smart contracts?

Supported hashing algorithms for MultiversX smart contracts include SHA256, Keccak256, and RIPEMD160. These algorithms enable data integrity checks and facilitate cryptographic protocols like hash-based commit-reveal schemes directly within the contract logic.

Does MultiversX support secp256k1 and secp256r1 signature verification on-chain?

Yes, MultiversX supports on-chain signature verification for secp256k1 and secp256r1 curves. The platform also supports Ed25519 and BLS signatures, offering both panic-based and boolean verification methods for flexible smart contract error handling.

How do I implement a signature gate for MultiversX smart contracts?

You can implement a signature gate in MultiversX smart contracts by utilizing the built-in signature verification methods. By checking user-submitted signatures against a public key using the boolean or panic-based return options, you ensure only authorized users execute critical transactions.

Can I use BLS signature verification for MultiversX blockchain authentication?

Yes, you can use BLS signature verification for MultiversX blockchain authentication. The smart contract environment supports BLS alongside Ed25519 and secp256k1, enabling you to secure operations and verify user-submitted data provenance efficiently.

What is the best way to handle cryptographic errors in MultiversX smart contracts?

The best way to handle cryptographic errors in MultiversX smart contracts is by choosing between panic-based and boolean verification methods. Panic-based methods automatically halt execution on failure, while boolean methods return false, allowing custom error handling logic.