developing-xcm

Guide XCM configuration, asset registration, and precompile integration for Moonbeam.

2|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/manuelmauro/moonbeam-skills --skill developing-xcm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: developing-xcm
Source: https://github.com/manuelmauro/moonbeam-skills/tree/main/skills/developing-xcm
Command: npx skills add https://github.com/manuelmauro/moonbeam-skills --skill developing-xcm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cross-chain messaging development across Moonbeam and connected parachains is streamlined, enabling reliable cross-chain asset transfers, fee configuration, and asset registration support.

Core Features & Use Cases

  • XCM architecture overview and configuration guidance
  • Asset registration workflows and foreign asset management
  • Precompile integration and transactor patterns for remote calls

Quick Start

Configure XCM routing between Moonbeam and a remote parachain and perform a basic cross-chain asset transfer test.

Frequently Asked Questions about developing-xcm

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

FAQPage Schema
How do I configure XCM routing for cross-chain asset transfers between Moonbeam and a parachain?

Configure XCM routing by setting up architecture components, registering foreign assets, and integrating precompiles for remote calls. This enables cross-chain asset transfers and fee configuration between Moonbeam and connected parachains across runtime and EVM boundaries.

What is the precompile integration pattern for XCM transactors on Moonbeam?

Precompile integration for XCM transactors involves using specific precompile interfaces to execute remote cross-chain calls. This pattern bridges EVM and runtime boundaries, allowing smart contracts to initiate XCM messages and manage asset transfers natively.

How do I register foreign assets for XCM cross-chain messaging on a parachain?

Register foreign assets by following asset registration workflows that define asset metadata and mappings within the XCM architecture. This process ensures assets are correctly recognized and managed for cross-chain transfers between Moonbeam and connected parachains.

Does this XCM configuration guidance support debugging cross-chain messages and fee configuration?

Yes, XCM configuration guidance supports debugging cross-chain messages and fee configuration. It provides concrete examples and recommended code references to troubleshoot messaging issues and accurately set up transaction fees across runtime and EVM boundaries.

Why are my Moonbeam cross-chain asset transfers failing during XCM message execution?

Cross-chain asset transfers fail when XCM architecture components, asset registration, or precompile usage are misconfigured. Debugging requires verifying transactor patterns and testing workflows to ensure message format and fee configuration match the remote parachain requirements.