About the AMB

The AMB can be used to relay any data between chains

The Arbitrary Message Bridge (AMB) is designed to relay any data between two EVM-based chains. The originating contract encodes data in the form of an arbitrary method call, which can also include or exclude parameters. This information, along with the target contract address, is passed to the AMB contracts. As soon as data are relayed from chain A to chain B by the Arbitrary Message Bridge oracles, the bridge contract on side B passes the ABI-encoded method to the target contract.

AMB usage examples:

  • transfer NFTs between two chains

  • trigger a method in one chain after some contract invocation in another chain

  • propagate tokens prices to another chain

  • transfer digital asset (native or ERC20 tokens) ownership similar to the generic TokenBridge

  • synchronize contracts states between two chains

AMB's universality means it can be used as a base layer for bridge and application construction. Once the bridge contracts are deployed and the corresponding validators are running the oracles, other applications can use them without the need to deploy their own infrastructure.

Check out the ETH-xDai AMB section to view and try some live extensions.

Existing extensions

Starting from the launch of the AMB project there were developed several extensions:

  • native-to-erc20 - an extension that allows transfer a native tokens on one chain to another ERC677 tokens on another chain. It works similarly to the POA20 bridge.

  • CryptoKitties NFTs - an extension prepared for demonstration purposes. It allows to transfer CryptoKitties ERC721 tokens from the Ethereum Mainnet to the xDai chain

  • erc20-to-erc20 - an extension to transfer an ERC20 token linked with the extension to an ERC677 token.

  • erc20-to-native - an extension to transfer an ERC20 token in one chain to a native tokens in another chain. It works similarly to the xDai bridge.

  • mutli-erc20-to-erc677 - an extensions that allows to transfer any ERC20 token to another ERC677 token. It also could be called as multi-token bridging.

Video Explainers

AMB Overview with Igor Barinov - EthCC 2020

AMB cross-chain transfers with Alex Kolotov - NonCon 2020

AMB presentation at Waves online Meetup (Russian presentation)

На онлайн-митапе эксперты обсудят современные тенденции развития технологии, а также поделятся практическими решениями.

Александр Колотов, руководитель группы разработки в проекте TokenBridge, преподаватель Университета Иннополис