什麼是 multiversx-cross-contract-storage?
使用 storage_mapper_from_address 直接讀取另一個合約的存儲,無需非同步呼叫。在建立聚合器、控制器或任何需要從其他同分片合約讀取狀態而無需代理呼叫開銷的合約時使用。 來源:multiversx/mx-ai-skills。
使用 storage_mapper_from_address 直接讀取另一個合約的存儲,無需非同步呼叫。在建立聚合器、控制器或任何需要從其他同分片合約讀取狀態而無需代理呼叫開銷的合約時使用。
透過命令列快速安裝 multiversx-cross-contract-storage AI 技能到你的開發環境
來源:multiversx/mx-ai-skills。
Note: This skill uses TokenIdentifier (ESDT-only alias). For unified EGLD+ESDT identifiers, use TokenId.
Read another contract's storage mappers directly — zero gas overhead from proxy calls, no async complexity.
When your contract needs to read state from another same-shard contract, you have two options:
使用 storage_mapper_from_address 直接讀取另一個合約的存儲,無需非同步呼叫。在建立聚合器、控制器或任何需要從其他同分片合約讀取狀態而無需代理呼叫開銷的合約時使用。 來源:multiversx/mx-ai-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-cross-contract-storage使用 storage_mapper_from_address 直接讀取另一個合約的存儲,無需非同步呼叫。在建立聚合器、控制器或任何需要從其他同分片合約讀取狀態而無需代理呼叫開銷的合約時使用。 來源:multiversx/mx-ai-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-cross-contract-storage 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/multiversx/mx-ai-skills