multiversx-cross-contract-storage
MultiversX Cross-Contract Storage Reads
Note: This skill uses
TokenIdentifier(ESDT-only alias). For unified EGLD+ESDT identifiers, useTokenId.
Read another contract's storage mappers directly — zero gas overhead from proxy calls, no async complexity.
What Problem Does This Solve?
When your contract needs to read state from another same-shard contract, you have two options:
- Proxy call — executes a view on the target, costs execution gas, requires ABI knowledge
- Direct storage read — reads the raw storage key, costs only a storage read, requires knowing the key name
storage_mapper_from_address gives you option 2.
When to Use
| Criteria | storage_mapper_from_address |
Proxy Call |
|---|---|---|
| Same shard only | Yes (required) | Works cross-shard |
More from multiversx/mx-ai-skills
multiversx-clarification-expert
Identify ambiguous requirements and ask targeted clarifying questions for MultiversX development. Use when user requests are vague, missing technical constraints, or have conflicting requirements.
20multiversx-protocol-experts
Deep protocol knowledge for MultiversX architecture including sharding, consensus, ESDT standards, and cross-shard transactions. Use when reviewing protocol-level code, designing complex dApp architectures, or troubleshooting cross-shard issues.
20multiversx-spec-compliance
Verify smart contract implementations match their specifications, whitepapers, and MIP standards. Use when auditing for specification adherence, validating tokenomics implementations, or checking MIP compliance.
20multiversx-smart-contracts
Build MultiversX smart contracts with Rust. Use when app needs blockchain logic, token creation, NFT minting, staking, crowdfunding, or any on-chain functionality requiring custom smart contracts.
19multiversx-constant-time
Verify cryptographic operations execute in constant time to prevent timing attacks. Use when auditing custom crypto implementations, secret comparisons, or security-sensitive algorithms in smart contracts.
19multiversx-wasm-debug
Analyze compiled WASM binaries for size optimization, panic analysis, and debugging with DWARF symbols. Use when troubleshooting contract deployment issues, optimizing binary size, or debugging runtime errors.
19