Skip to content

Singapore – October 6, 2022 – Moonbeam, the top destination for cross-chain connected applications, has announced the release of an XCM software development kit (SDK) to simplify the creation of cross-chain transfers for Moonbeam DApp developers. The new XCM SDK enables builders to easily create transactions that deposit and withdraw assets to Moonbeam or Moonriver from the Relay Chain and other parachains in the Polkadot or Kusama ecosystem, respectively. The SDK alleviates some complexity of XCM transfers to provide a smoother experience for builders on Moonbeam and Moonriver. The Moonbeam XCM SDK can also be leveraged by developers working on other parachains to build dApps that transfer tokens between chains.

This SDK was built to simplify the development of interoperability use cases on Moonbeam via XCM, Polkadot’s native cross-chain messaging system. Without the SDK, developers would face a daunting number of configurations in order to implement cross-chain transfers from within their Moonbeam-based DApp. By installing the kit, developers are provided with a set of simple functions that abstract the complexity of sending tokens through XCM. DApps that implement the SDK don’t have to worry about Multilocations, Fee Information, and a host of other XCM-related configurations.

The XCM SDK provides an API with a series of interfaces to access information for supported assets, chain information, and functions to enable deposits, withdrawals, and subscriptions to balance information allowing developers to estimate fees, track and recover transactions, and easily transfer tokens. The SDK is open source and not for exclusive use on Moonriver and Moonbeam, allowing it to be adapted for use on other parachains. It also has a set of config files that allow other parachain teams to submit their information to allow their project and token to be supported by the SDK.

This tool makes cross-chain interoperability more accessible to developers on Moonbeam and other parachains on Kusama and Polkadot by making the design process for developers easier. By lowering the barrier of entry for developers hoping to design DApps using cross-chain functions and XCM, the Moonbeam SDK can encourage and support the building and the growth of the ecosystem as a whole.

Currently, The Moonbeam XCM SDK mainly supports XCM token transfers but can be expanded in the future to support remote calls and remote EVM calls between parachains.

To learn more about the Moonbeam XCM SDK, review the reference page, and access the guide for using the SDK on the Moonbeam docs site. The developer relations team is also available for developer support at any level via Discord.

About the Moonbeam Network

Moonbeam is a smart contract platform for building cross-chain connected applications that can access users, assets, and services on any chain. By uniting functionality from Ethereum, Cosmos, Polkadot and more into a single platform, Moonbeam solves today’s fragmented user experience — unlocking true interoperability and paving the way for the next generation of applications. The Moonbeam platform uses integrated cross-chain messaging to allow developers to create smart contracts that access services across many remote blockchains. This approach, plus Moonbeam’s developer-friendly EVM platform, vast tool support, and modern Substrate architecture, creates the ideal development environment for building connected applications.