anyCall, for your cross-chain Dapps

Multichain (Previously Anyswap)
Multichain
Published in
5 min readApr 11, 2022

In the beginning were just blockchains, isolated in the cryptosphere. Then bridges were created to connect assets between any two chains. Then the Router came to allow assets to be transferred between arbitrary chains. Here we present our new vision for cross-chain Dapps, because Multichain has been here from the start, but we never stop innovating.

Multichain is on a journey and the cryptosphere is evolving. This is our vision of the future — anyCall.

  • Chains<>Chains. Multiple chains coexist, while bridges enable chains to be connected.
  • Dapps<>Dapps. Dapps will communicate across chains (cross-chain Dapp), more than simple multiple chain deployment (multi-chain Dapp).

To promote the cross-chain Dapps under the multi-chain ecosystem, here we present to you anyCall, a cross-chain messaging router protocol.

What is anyCall?

This is the next phase of revolutionary interoperability features offered by Multichain. anyCall is a generic cross-chain messaging protocol, which can send cross-chain messages and call contracts from chain A to chain B. It enables the easy calling of contracts native to one blockchain from any other blockchain. The call is secured by Multichain nodes, which are already used to secure billions of assets.

With just one transaction, anyCall can send arbitrary data, like smart contracts, NFTs, messages, tokens, data, etc to any other blockchain.

How does anyCall work?

The anyCall contract is made up of the following contracts and functions-

  1. anyCall Function — Resides on the source chain. The anyCall function calls the anyCall contract and stores the instructions to be executed on the destination chain.
  2. Multichain MPC nodes — The anyCall contract resides in a common MPC address on all blockchains. The contract detects the invocation of the anyCall function, performs security and validity checks before relaying the message to the destination chain.
  3. anyExec Function — Resides on the destination chain. The anyExec function receives the instructions sent from the source chain through the anyCall contract and executes

Developer guide: https://docs.multichain.org/developer-guide/how-to-integrate-cross-chain-anycall-contract

What makes anyCall stand out?

  • Universal cross-chain communication

With the help of the anyCall function, a contract on the destination chain can be called directly from the source chain. Therefore the generalization of the anyCall function enables it to share information like commands, state, data or even messages across chains, making it optimal for any sort of cross-chain communication.

  • Secured by the MPC network

Whenever the anyCall contract is called in the source chain, it is the MPC nodes that verify the transfer of information across any chain through the anyCall contract. MPC as we know, is one of the most decentralized and secure systems to relay information across blockchains.

  • Easy integration

anyCall can easily be implemented on any blockchain, as it is just a contract. Its implementation does not require a hard fork. The methods are well described in our documentation and we provide friendly and reachable support for coders implementing it.

  • Backed up by the Multichain ecosystem

The Multichain ecosystem is one of the most robust and advanced cross-chain communication protocols in Web3. The MPC network in the multichain ecosystem is efficiently decentralized and secure, reaching more than 40 block chains now, with many more on the way. Therefore by being a part of the multichain ecosystem, you know that your investment in time to integrate anyCall will be rewarded as we grow and it becomes a standard in our industry.

anyCall cross-chain use cases

Multichain’s anyCall feature will change how developers think about and build Dapps radically. Web3 platforms like DEXs, NFT marketplaces, and lending protocols have traditionally been built to support the assets in the native blockchain. In the future, this vision will change, and new age Dapps will natively build around the idea of having cross-chain compatibility. Here are some ideas that anyCall has the potential to facilitate.

  • Cross-chain DEX

With anyCall, DEXs will be able to pool liquidity across multiple blockchains and make cross-chain swaps a seamless process. Common liquidity pools will ensure efficient utilization of liquidity and with less slippage.

  • Cross-chain lending protocols

With anyCall, lending protocols will enable users to deposit on one chain and borrow from other chains. While allowing users to pursue yield arbitrage and other strategies, they could also maintain accounting between the different chains. Liquidation of collateralized positions could also be accomplished cross-chain with anyCall.

  • Cross-chain arbitrage bots

Since it is so fast to work cross-chain and since the fees are so inexpensive and swaps are 1:1, anyCall will be ideal for price settlement, or arbitrage between chains. This will unify assets, no matter where they reside.

  • Cross-chain oracles

The interface with real world asset prices will take a leap forward, since anyCall can be used to access and update oracles from any supported blockchain, utilizing oracles wherever they may be, but allowing Dapps to reside on all chains.

  • Data sharing

anyCall can be extremely useful for the data economy. Web3 data markets can be unified on a common platform, promoting the efficient use of Web3 Data. Examples of usage could include decentralized social media platforms, identity verification, credit history, or records of ownership via NFT’s.

  • Cross-chain NFT migration

NFTs that are native to one blockchain can be easily migrated to other chains with better markets and a bigger audience. NFT’s can be created on the most secure chain Ethereum, but easily interacted with from cheaper and faster chains.

  • Unified Metaverse

anyCall brings Web3 one step closer to the vision of a unified metaverse where one Web3 identity can interact with multiple metaverses. It also enables the migration of metaverse NFTs from one platform to another.

  • Unlimited Possibilities

With anyCall, anything can be interoperable across any blockchains in one single process. We are sure that inventive coders will think of many other applications for anyCall beyond the list of ideas we have had.

anyCall applications with top DeFi Dapps to be released soon

Currently, anyCall is co-working with DeFi leading players on cross-chain Dapps and some of them have already implemented anyCall, which will be released soon, so stay tuned!

--

--

Multichain (Previously Anyswap)
Multichain

Cross-Chain Router Protocol (CRP), an infrastructure for cross-chain interoperability, envisioned to be the ultimate router for Web3 https://multichain.org/