AnyCall is a permissionless generic cross-chain message protocol that allows cross-chain messages and contract calling from chain A to chain B. anyCall is secured by the Multichain SMPC network which is used to secure billions of assets.
- Permissionless Deployments (No whitelisting)
- Flexible contract designs
- Chained anyCall allowed. You can call anyCall to Chain B, then to Chain C
The anyCall protocol is made up of three main functions
anyExec. These two methods exist in our deployed anyCall contracts.
DAPPS need to develop and deploy a sender contract on chain A and a receiver contract on chain B. On the receiver contract, a function named
anyExecuteneeds to be present and it will be called.
DAPPS sender contract(Chain A) ->
anyCall(Chain A) -> SMPC Network ->
anyExec(Chain B) ->
anyExecuteby DAPP receiver contract(Chain B)
DAPPS sender contract call
anyCallon the Chain A. Then SMPC network will relay anyCall event which will call
AnyCallExecutorto make the final execution of the
anyExecutefunction on the DAPP receiver contract. Hence a function named
anyExecuteneeds to be present in the DAPP receiver contract.
anyExeccontract execution failed on Chain B, it can call
_fallbackfunction to send messages back to Chain A.
anyExecuteDAPP receiver contract(Chain B failed) -> anyCall(Chain B) -> SMPC Network -> anyExec(Chain A) ->
anyFallbackDAPP sender contract(Chain A)