mvx_sdk_js_contracts

Deploy, query, and upgrade MultiversX smart contracts via the TypeScript/JavaScript SDK.

12|5|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/multiversx/mx-ai-skills --skill mvx-sdk-js-contracts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mvx_sdk_js_contracts
Source: https://github.com/multiversx/mx-ai-skills/tree/main/antigravity/skills/mvx_sdk_js_contracts
Command: npx skills add https://github.com/multiversx/mx-ai-skills --skill mvx-sdk-js-contracts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill simplifies and standardizes the process of interacting with MultiversX smart contracts using the JavaScript/TypeScript SDK, abstracting away complex ABI handling and transaction construction.

Core Features & Use Cases

  • ABI Loading: Load contract ABIs from files, URLs, or construct them manually.
  • Deployment: Create, send, and await the completion of smart contract deployment transactions.
  • Contract Calls: Execute both standard contract functions and those involving native token transfers.
  • VM Queries: Perform read-only queries against smart contracts.
  • Upgrades: Facilitate smart contract upgrades with new bytecode.
  • Relayed Calls: Support for V3 relayed contract calls.

Quick Start

Use the mvx_sdk_js_contracts skill to deploy a smart contract from 'contract.wasm' with constructor arguments.

Frequently Asked Questions about mvx_sdk_js_contracts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a MultiversX smart contract using JavaScript?

To deploy a MultiversX smart contract using JavaScript, load the contract ABI and bytecode, then construct, send, and await the deployment transaction via the TypeScript/JavaScript SDK. The process supports both plain value arguments and typed values for constructor inputs.

What's the best way to query a MultiversX smart contract off-chain?

Performing read-only VM queries is the best way to query a MultiversX smart contract off-chain. The JavaScript SDK allows you to execute these queries against the contract without broadcasting a transaction, retrieving state data directly from the virtual machine.

Can I send native tokens when calling a smart contract function with the TypeScript SDK?

Yes, you can send native token transfers when executing standard contract functions using the TypeScript SDK. The SDK facilitates contract calls that bundle native token transfers alongside function arguments using either plain or typed values.

Does the MultiversX JS SDK support V3 relayed transactions?

Yes, the MultiversX JS SDK supports V3 relayed contract calls. This feature allows transactions to be relayed on behalf of a user, facilitating contract execution and interactions without the relayer needing to pay the gas fees directly.

How do I upgrade an existing MultiversX smart contract?

To upgrade an existing MultiversX smart contract, use the SDK to facilitate the upgrade with new bytecode. You construct and send an upgrade transaction, allowing you to update contract logic while preserving the contract's state and address.