Multiversx Wasm Debug

🌐Community
by multiversx · vlatest · Repository

Debug MultiversX WASM code execution within a controlled environment for robust testing and error identification.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add multiversx-wasm-debug npx -- -y @trustedskills/multiversx-wasm-debug
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "multiversx-wasm-debug": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/multiversx-wasm-debug"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill provides debugging capabilities for WebAssembly (Wasm) modules used in Multiverse projects. It allows you to inspect the state of Wasm code during execution, identify errors, and understand performance bottlenecks. Specifically, it supports attaching a debugger and stepping through instructions within the compiled Wasm module.

When to use it

  • Debugging Smart Contracts: When developing or troubleshooting smart contracts deployed on the Multiverse network, this skill can help pinpoint issues in the contract's logic.
  • Analyzing Performance Issues: Identify slow execution paths or inefficient code within a Wasm module by stepping through instructions and observing variable values.
  • Understanding Compiled Code: Gain insights into how your Rust code translates to WebAssembly during compilation, aiding in optimization efforts.
  • Reproducing Bugs: Isolate and reproduce complex bugs that manifest only in the deployed Wasm environment.

Key capabilities

  • Attach a debugger to running Wasm modules.
  • Step through Wasm instructions.
  • Inspect variable values during execution.
  • Identify performance bottlenecks within Wasm code.

Example prompts

  • "Debug this Multiversx Wasm module and step through the processTransaction function."
  • "Attach a debugger to my smart contract's Wasm file and show me the value of balance after line 42."
  • "Can you help me find why this Wasm module is slow? Step through it and report any unusual delays."

Tips & gotchas

  • Requires familiarity with debugging tools and techniques for WebAssembly.
  • The Multiversx SDK and development environment must be properly configured to use this skill effectively.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
multiversx
Installs
15

🌐 Community

Passed automated security scans.