multiversx/mx-ai-skills
Overview
This skill provides token operations for the MultiversX TypeScript/JavaScript SDK, covering ESDT (fungible), NFT and SFT workflows. It explains how to create transfers, issue tokens, set roles, and query token state using SDK controllers and the network provider. The content highlights concrete code patterns, required parameters, and common pitfalls to avoid.
How this skill works
The SDK exposes controllers for transfers and token management plus a network provider for queries. You create transactions (native EGLD, ESDT, NFT/SFT) via controller helper methods, sign/send them, and optionally await completion to obtain outcomes like token identifiers. Role management and token issuance require specific flags and sufficient gas; queries return token lists or single token objects for accounts.
When to use it
- Send native EGLD payments between accounts
- Transfer fungible ESDT tokens or batched token transfers
- Transfer or mint NFTs and SFTs (non-fungible / semi-fungible assets)
- Issue new fungible tokens or register NFTs/SFTs on-chain
- Set or update special roles (mint/burn/creator permissions)
- Query account tokens and NFT collections for UI or reconciliation
Best practices
- Remember EGLD uses 18 decimals; custom tokens set numDecimals at issuance
- Use token identifiers in the form TICKER-hexhash (e.g., USDC-a1b2c3) when referencing tokens
- Start NFT nonces at 1 and increment per mint to avoid collisions
- Provision sufficient gas for token operations (expect ~60,000,000+ gas for many actions)
- Await transaction completion when you need on-chain outcomes like a new token identifier
- Set explicit role flags during issuance or via role management transactions to limit privileges
Example use cases
- Create a payment widget that sends native EGLD or ESDT tokens from users to a merchant account
- Issue a new utility token (fungible) with custom decimals and supply, then distribute initial balances
- Mint an NFT collection and set creator/mint roles so a dApp can mint items programmatically
- Transfer an SFT batch to represent in-game consumables with quantity >1
- Build a dashboard that queries and displays all fungible tokens and NFTs owned by a user
FAQ
Send the issuance transaction and await the controller’s completion helper; the outcome contains the tokenIdentifier returned on-chain.
What decimals should I use for custom tokens?
Choose decimals based on smallest unit you need; common choices are 6 or 18. Remember EGLD is 18 decimals and client UIs must format amounts accordingly.
41 skills
This skill simplifies building and managing MultiversX token transfers, issuance, and queries in JavaScript/TypeScript SDKs for faster safe deployments.
This skill helps you analyze diffs between versions of smart contracts, emphasizing upgradeability, regression testing, and data flow integrity.
This skill streamlines cross-contract calls in MultiversX by guiding typed proxies, callbacks, and tx-builder usage for safe, efficient inter-contract
This skill helps you apply property-based testing with fuzzing in Rust to discover edge cases and verify core invariants in smart contracts.
This skill helps you interact with MultiversX Python SDK core by managing entrypoints, providers, and network queries for seamless transactions.
This skill helps you implement flash loan patterns securely by enforcing single-transaction verification and repayment checks within MultiversX smart contracts.
This skill guides you in writing Semgrep rules to enforce MultiversX patterns and catch unsafe code early.
This skill provides production-grade MultiversX project structure patterns, enabling clean trait-based contract design, modular modules, and safer upgrades.
This skill simplifies blockchain integration in Go by providing wallet management, nonce handling, and transaction interactor utilities for secure key handling
This skill analyzes WASM binaries and maps DWARF debug info to Rust sources to help diagnose size, panics, and debugging.
This skill helps you access MultiversX documentation to verify implementation details and follow best practices across smart contracts and protocols.
This skill helps you manage intermediate balances in multistep token operations with an in-memory ledger, reducing storage costs and improving efficiency.
This skill verifies Rust smart contracts align with Whitepaper, MIP, and spec claims, ensuring math, constraints, and tokenomics match precisely.
This skill evaluates code maturity against MultiversX standards by inspecting docs, tests, linting, and dependency practices to boost reliability.
This skill verifies MultiversX smart contract implementations against whitepapers, specs, and MIPs to ensure specification adherence and correct tokenomics.
This skill helps you build and deploy MultiversX smart contracts in Rust, enabling on-chain logic, NFT minting, and token management.
This skill helps audit MultiversX dApp frontend flows, focusing on transaction construction, signing security, and data handling to prevent exploits.
This skill helps you rapidly build a mental model of a codebase before vulnerability hunting by mapping assets, roles, and threats.
This skill helps you manage MultiversX smart contracts with ABI loading, deployment, calls, and queries from the Python SDK.
This skill enables secure cryptographic operations in MultiversX smart contracts, including hashing and signature verification, to ensure on-chain data
This skill helps verify constant-time cryptographic operations in MultiversX smart contracts, preventing timing attacks by enforcing safe comparison patterns
This skill provides deep MultiversX protocol insight for reviewing cross-shard design, sovereign chain integration, and reliable, scalable dApp architectures.
This skill reads another contract's storage directly to avoid proxy calls and reduce gas when querying same-shard state.
This skill helps auditors verify constant-time cryptographic operations to prevent timing leaks in smart contracts and security-sensitive code.
This skill provides expert guidance on building secure, gas-efficient MultiversX smart contracts using multiversx-sc patterns and best practices.
This skill analyzes and enforces the atomic lend-execute-verify pattern, ensuring reentrancy guards, shard validation, and safe repayment in a single
This skill helps you manage MultiversX JS smart contracts by loading ABIs, deploying, calling, querying, and parsing results safely.
This skill helps you deploy, track, and upgrade child contracts from a template to enable scalable multi-tenant applications.
This skill helps you create and manage MultiversX transactions and token operations in Python, simplifying transfers, token issues, and parsing events for
This skill helps you implement safe, high-precision DeFi math on MultiversX contracts, enabling half-up rounding, rescaling, and accurate percentage
This skill helps you manage MultiversX wallets, derive keys, sign transactions and messages, and securely store credentials.
This skill helps developers use the MultiversX SDK core to manage accounts, endpoints, and transactions efficiently across networks.
This skill provides expert guidance on the MultiversX Protocol, SPoS, sharding, and MIPs to review architecture and ensure safe, scalable dApp designs.
This skill enables efficient blockchain data access with the MultiversX Go SDK core, covering proxy setup, VM queries, and shard coordination.
This skill audits frontend dApp components for wallet integration and transaction handling security, helping you harden React/TypeScript apps using sdk-dapp.
This skill enables precise DeFi math on MultiversX by applying half-up rounding, safe rescaling, and robust percentage calculations for accurate results.
This skill helps optimize MultiversX contracts by using drop-based write-back caches to minimize gas through selective reads and cached state.
This skill identifies and analyzes MultiversX smart contract entry points to reveal attack surfaces and improve security.
This skill identifies ambiguities in MultiversX requests and poses concrete clarifying questions to unblock development and ensure correct requirements.
This skill helps you design and execute property-based tests for MultiversX smart contracts, uncovering edge cases with random inputs and invariants.
This skill helps you construct and sign transactions in Go SDK using builders, ensuring correct fields, signing, and ready-to-submit payloads.