multiversx-vault-pattern

Installation
SKILL.md

MultiversX In-Memory Token Ledger

What Problem Does This Solve?

When a contract executes multiple token operations in a single transaction (e.g., swap A→B, then B→C), you need to track intermediate balances without writing to storage. Storage writes are expensive and unnecessary for temporary state that only lives within one call.

When to Use

Scenario Use Ledger?
Multi-step token operations in one tx Yes
Need to track balances across sequential operations Yes
Single deposit/withdraw No — overkill
State that must persist across transactions No — use storage

Core Pattern: Dual Data Structure

Installs
6
GitHub Stars
11
First Seen
Feb 8, 2026
multiversx-vault-pattern — multiversx/mx-ai-skills