multiversx-flash-loan-patterns

Official

Securely build flash loan operations.

Authormultiversx
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a robust pattern to securely implement operations that temporarily lend assets, execute arbitrary logic via a callback, and verify repayment within a single atomic transaction on MultiversX.

Core Features & Use Cases

  • Atomic Transactions: Ensures that lending, execution, and verification happen as a single, indivisible unit. If repayment fails, the entire transaction reverts.
  • Security Guards: Implements essential checks like reentrancy guards, same-shard validation, and endpoint validation to prevent exploits.
  • Use Case: Ideal for implementing flash loans, atomic swaps with verification, or temporary grants where assets are borrowed and must be returned within the same transaction.

Quick Start

Use the multiversx-flash-loan-patterns skill to implement an atomic operation for lending tokens and executing a callback.

Dependency Matrix

Required Modules

None required

Components

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: multiversx-flash-loan-patterns
Download link: https://github.com/multiversx/mx-ai-skills/archive/main.zip#multiversx-flash-loan-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.