multiversx-wasm-debug

Official

Debug and optimize MultiversX WASM binaries.

Authormultiversx
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers troubleshoot and optimize their MultiversX smart contract WASM binaries, addressing issues like deployment failures due to size limits, runtime panics, and inefficient code.

Core Features & Use Cases

  • WASM Size Analysis: Identifies components contributing to large binary sizes using tools like twiggy.
  • Panic Investigation: Helps diagnose the root cause of contract traps and unreachable errors.
  • DWARF Debugging: Enables source-level debugging by analyzing DWARF symbols.
  • Optimization: Provides techniques for reducing WASM binary size through Cargo profiles and wasm-opt.
  • Use Case: A developer is encountering a "contract deployment failed" error due to exceeding the WASM size limit. They can use this Skill to analyze the binary with twiggy, identify large dependencies or unused code, and apply optimization techniques to reduce its size.

Quick Start

Analyze the WASM binary located at 'output/my-contract.wasm' for size optimization using twiggy.

Dependency Matrix

Required Modules

twiggywasm-objdumpwasm-optwasmtimesc-meta

Components

scriptsreferences

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

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.