Our very own two-way token bridge: Emery is now live! Emery connects CENNZnet to Ethereum allowing our community to easily transfer ERC-20 tokens, Native ETH, data and assets (like NFTs) between the two chains.
The Emery bridge unlocks all sorts of new channels of liquidity and pools of users for DApps on CENNZnet. It also allows both chains to read and cryptographically verify information from the connected chain, meaning both chains will recognise that a user holds certain assets and even allows composability of DApps.
You can access the bridge here.
This guide will explain:
A token bridge or blockchain bridge is a connection that allows the transfer of tokens and/or arbitrary data from one blockchain to another. The really clever thing about a successful bridge is that the connected chains can each have totally different governance models, protocols and rules; something which would typically totally cut them off from each other. Despite their different core protocols, the bridge allows the chains to interact and interoperate securely and quickly.
Bridge technology introduces the possibility of a world of connected blockchains. Bridges can connect multiple chains, each with their own focus and strengths, enabling complex and efficient inter-chain actions – all within a totally decentralised state. Rather than blockchains developing in isolation, as is the case today, chains and decentralised communities will be able to interact and develop together.
The Emery bridge brings many benefits to the CENNZnet community:
Emery works by utilising the CENNZnet network validators, chosen by the network-wide Proof of Stake mechanism. As well as being responsible for creating blocks on CENNZnet, validators are now required to verify bridge transactions. They have the authority to act as notaries, verifying the authenticity of a deposit to a bridge contract.
The security of this system is based on threshold cryptography alongside a system of smart contracts. It works something like this:
1. The user sends a deposit to a bridge contract on Ethereum containing:
2. The user then sends a deposit claim to the CENNZnet bridge module with their Ethereum transaction receipt to initiate the claim of funds on CENNZnet.
3. The CENNZnet Bridge module waits for block confirmations on Ethereum. Validators query block hashes against Ethereum’s full node to check they are valid. If the Proof is valid they create and submit a notarisation claim against the deposit.
4. After all relevant claims are made by the validators a deposit is enacted. We only wait for at least 2/3rds of validators to notarise a deposit successfully. And some number of block confirmations to protect against Ethereum reorgs. The token information is then pulled from the Ethereum contract and the correct amount is minted to the nominated CENNZnet address.
The whole secure process will only take a couple of minutes.
1.A user sends a ‘withdraw’ transaction to the CENNZnet bridge module containing:
2. Validators sign a message saying “CENNZnet locked these tokens” and issue a withdrawal proof.
3. The user (or anyone) can submit the withdrawal proof to the Ethereum contract. This checks the signatures are legitimate and releases the tokens to the intended recipient address.
Note: while these examples show the process for token transfer, the method also works for moving events from one chain to another, for example DAO votes.
You can learn how to use our token bridge UI here.
You can also check out our FAQ page here.
Got more questions? Join our Discord to get the latest updates and chat to our support team.