# MIP-28 - Enhancing MultiversX Smart Contract Capabilities with Zero-Knowledge Proofs and Elliptic Curve Cryptography Primitives

**URL:** <https://agora.multiversx.com/t/mip-28-enhancing-multiversx-smart-contract-capabilities-with-zero-knowledge-proofs-and-elliptic-curve-cryptography-primitives/523>\
**Category:** MIPs\
**Created:** [August 22, 2025, 1:06pm UTC](https://agora.multiversx.com/t/mip-28-enhancing-multiversx-smart-contract-capabilities-with-zero-knowledge-proofs-and-elliptic-curve-cryptography-primitives/523 "2025-08-22T13:06:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@robert](https://agora.multiversx.com/u/robert)\
**Post date:** [August 22, 2025, 1:06pm UTC](https://agora.multiversx.com/t/mip-28-enhancing-multiversx-smart-contract-capabilities-with-zero-knowledge-proofs-and-elliptic-curve-cryptography-primitives/523/1 "2025-08-22T13:06:40Z")

</div>

**Enhancing MultiversX Smart Contract Capabilities with Zero-Knowledge Proofs and Elliptic Curve Cryptography Primitives**

**Abstract:** This proposal outlines the formal integration and documentation of a new set of powerful cryptographic primitives recently added to the MultiversX Virtual Machine (VM). These additions, primarily centered around **zero-knowledge proofs (ZKPs) and elliptic curve cryptography (ECC)**, are designed to significantly advance the capabilities of smart contracts on the MultiversX network. By providing on-chain, low-level access to these cryptographic building blocks, the MultiversX SpaceVM aims to **empower developers to build a new generation of decentralized applications** that are more private, scalable, and sophisticated, thereby **unlocking a wide range of new use cases**.

**1. Introduction & Purpose:** The introduction of these new cryptographic primitives represents a **significant leap forward** for smart contracts on MultiversX. The core purpose is the **formal integration and documentation** of these tools, which will empower developers to create decentralized applications that are inherently more **private, scalable, and sophisticated**. This initiative is set to open the door to diverse new use cases, ranging from **privacy-preserving Decentralized Finance (DeFi) to complex SovereignChain integration solutions**. The proposal also serves to detail the new functions, their technical specifications, and the exciting possibilities they unlock for the MultiversX ecosystem, inviting community discussion and feedback.

**2. Formal Integration & Documentation:** The proposal formally integrates and documents a new set of cryptographic primitives within the MultiversX VM. This includes two primary categories of functions:

**2.1. New ZK Proof Verification Functions:** The MultiversX VM now includes two new functions for verifying zero-knowledge proofs directly on-chain: ManagedVerifyGroth16 and ManagedVerifyPlonk. These functions are crucial for enabling smart contracts to **validate complex computations without needing to execute them on-chain** , which helps save gas and facilitates privacy-preserving applications.

- **1. ManagedVerifyGroth16**

- **2. ManagedVerifyPlonk**

These functions are considered **essential for building applications requiring privacy and scalability** , such as ZK-rollups and anonymous credential systems.

**2.2. New Elliptic Curve Operations:** Alongside the ZK proof verification functions, the VM now provides a suite of low-level functions for performing elliptic curve cryptography operations. These are foundational for many cryptographic protocols, including digital signatures, key exchange, and more complex ZK schemes. The **supported curves for these operations are BN254, BLS12\_377, and BLS12\_381**.

- **Supported Groups** : For all these operations, the **supported groups are G1 and G2**.

- **1. ManagedAddEC**

- **2. ManagedMulEC**

- **3. ManagedMapToCurveEC**

- **4. ManagedMultiExpEC**

- **5. ManagedPairingCheckEC**

These elliptic curve operations provide **foundational building blocks for developers** to implement a wide variety of cryptographic protocols directly in their smart contracts.

**3. New Smart Contract Use Cases & Impact:** The introduction of these new cryptographic primitives **unlocks a vast design space** for developers on the MultiversX network. Key use cases include:

- **3.1. Privacy-Preserving Applications** :

- **3.2. On-Chain Verifiable Computation** :

- **3.3. Advanced Financial Instruments** :

- **3.4. Identity and Reputation Systems** :

- **3.5. Interoperability and Cross-Chain Communication** :

**4. Community Engagement:** The MultiversX team **invites the community to discuss, provide feedback, and actively explore the potential** of these newly integrated tools. This collaborative approach is vital for maximizing the utility and adoption of these powerful cryptographic capabilities. Question for community: is there need for other curves / other primitives?
