Litmus XCM Integration with Crab Parachain is Available Now!

Darwinia
DARWINIA NETWORK
Published in
4 min readSep 14, 2022

--

XCM Integration

Darwinia, the cross-chain messaging infrastructure for decentralized applications, has announced the new HRMP(XCMP-Lite) channels have been opened between Crab Parachain and Litmus, Litentry’s sister network on Kusama.

With the XCM integration, and Darwinia’s soon to be completed XCMP + LCMP Hybrid Routing Protocol, there will bring some interesting use cases for the Polkadot and Kusama ecosystems!

Use Cases

Scenario 1

Pre-condition: Litmus supports EVM Module.

  • Suppose there is a Dapp(DAO Governance) deployed on EVM-Compatible Litmus, and the Dapp supports voting with LIT token.
  • Litmus LIT token has been successfully registered on Crab Smart Chain via the XCMP + LCMP Hybrid Routing Protocol developed by Darwinia.

If the Dapp wants to remotely call any token on Crab Smart Chain for voting the proposal on Litmus, such as LIT token that is registered on Crab Smart Chain, CRAB token, etc. The user:

  1. Clicks the vote button in Dapp deployed on Litmus.
  2. The Dapp checks the address and token status on Crab Smart Chain, meanwhile bond or lock tokens that were used to vote.

To achieve the above functionality, this Dapp simply needs to:

  • Already be deployed on EVM-Compatible Litmus.
  • Deploy an Endpoint_Crab_Smart_Chain on Litmus.
  • Deploy a Remote Contract on Crab Smart Chain, which contains an Endpoint_Litmus_Parachain, which forms a pair of Endpoints with the Endpoint deployed on Litmus. With this pair of Endpoints, the Dapp can directly use Darwinia Cross-Chain Message SDK.

Scenario 2

Pre-condition: Substrate-based Litmus chain does not support EVM Module, but is connected to EVM-Compatible Moonriver.

  • Suppose there is a Dapp(DAO Governance) deployed on Moonriver. And the Dapp supports voting with xcLIT token on Moonriver.
  • Litmus LIT token has been successfully registered on Crab Smart Chain via the XCMP + LCMP Hybrid Routing Protocol developed by Darwinia.

If the Dapp wants to remotely call any token on Crab Smart Chain for voting the proposal on Litmus, such as LIT token that is registered on Crab Smart Chain, CRAB token, etc. The user:

  1. Clicks the vote button in Dapp deployed on Moonriver.
  2. The Dapp checks the address and token status on Crab Smart Chain, meanwhile bond or lock tokens that were used to vote.

To achieve above functionality, this Dapp simply needs to:

  • Already be deployed on Moonriver.
  • Deploy an Endpoint_Crab_Smart_Chain on Moonriver.
  • Deploy a Remote Contract on Crab Smart Chain, which contains an Endpoint_Moonriver, which forms a pair of Endpoints with the Endpoint deployed on Moonriver. With this pair of Endpoints, the Dapp can directly use Darwinia Cross-Chain Message SDK.

About Litentry & Litmus

GitHub | Website | Twitter | Medium | Discord | Telegram

Litentry is a Decentralized Identity Aggregator that enables linking user identities across multiple networks. Featuring a DID indexing protocol, and a Substrate-built distributed DID validation blockchain, Litentry provides a decentralized, interoperable identity aggregation service that mitigates the difficulty of resolving agnostic DID mechanisms. Litentry provides a secure vehicle through which users manage their identities and dApps obtain real-time DID data of an identity owner across different blockchains. Litmus, Litentry’s sister network on Kusama.

About Darwinia & Crab

GitHub | Website | Medium | Twitter | Telegram

Darwinia is a cross-chain messaging infrastructure, which provides a light client-based, programmable, universal cross-chain messaging network for decentralized applications. Now, we’ve successfully used Darwinia’s light-client cross-chain messaging protocol(LCMP) to bridge cross-chain messages between substrate-based chains, and even between substrate-based chains and EVM chains, meanwhile, Darwinia provides developers with an SDK, so they can easily integrate cross-chain capabilities into their Dapps. This will have profound implications for cross-chain interoperability, and Darwinia as a cross-chain messaging infrastructure will facilitate the building of a hybrid cross-chain network for Polkadot.

Crab is a canary network with real economic value for Darwinia, positioning similar to Polkadot’s Kusama Network, which is a programmable cross-chain platform for Dapps. It is substrate-based, EVM-compatible, and connected to Kusama.

--

--

Darwinia
DARWINIA NETWORK

As an open cross-chain bridge protocol based on Substrate, Darwinia focuses on the construction of future Internet of Tokens. TG: http://t.me/DarwiniaNetwork