Emery Bridge UI guide

Emery bridge UI guide

The Emery bridge allows you to securely transfer tokens between CENNZnet and Ethereum. You can use the bridge through the CENNZnet API, or the Bridge UI, which is a DApp that lets you access the Emery bridge. This guide demonstrates how to use the Bridge UI.

To learn more about how the Emery bridge works, see the following articles:

Before you start: required software

Before using the Emery bridge UI you will need to provide it with access to your CENNZnet and Ethereum accounts. To do this you will need to use a browser with the following 2 wallets installed:

 

Add your accounts to the wallets

Once you’ve installed the wallets, make sure your relevant CENNZnet and Ethereum accounts are added to both wallets. This allows the Bridge UI to access your accounts.

How do bridge gas fees work?

Transferring tokens between Ethereum and CENNZnet involves transactions on both chains. Therefore every bridge transaction requires ETH as well as CPAY gas fees. 

To improve the experience for our users, we are waiving the CPAY gas fees for deposits made to CENNZnet. You will therefore only need to pay for the Ethereum gas fees when transferring to CENNZnet. 

 

The Emery Token Bridge

Entering the bridge

Before you enter the Emery Bridge, you will be asked to connect your 2 wallets to the Bridge UI. This gives the Bridge UI access to your CENNZnet and Ethereum accounts.

To do this you will need to:

Step 1. Connect Metamask

Clicking on the “CONNECT METAMASK WALLET” button will give you popups from MetaMask, asking for your permission to connect to the Bridge UI.

 

Click “Connect” to complete the process.

Step 2. Connect CENNZnet Extension

Clicking on the “CONNECT CENNZNET WALLET” button will give you popups from CENNZnet Extension.

Step 3. Enter the bridge

Once both wallets are connected, you can enter the bridge.

Emery Bridge Settings

At the top of the page you will find settings. The NETWORK and the CENNZnet WALLET buttons show which networks and CENNZnet account the bridge is connected to. Clicking on these buttons will display a menu that allows you to select the specific networks and account you wish to use.

Network selection

The network selection menu allows you to select a network to connect to. 

Note: selecting one of the test networks allows for beta testing and trying out the bridge with test tokens.

When you switch networks, MetaMask will display a popup requesting that you to switch to the new network. You will need to click Switch Network on this pop up to complete the switch.

The CENNZnet WALLET menu

Clicking on the CENNZnet WALLET button at the top right corner of the page will bring up the CENNZnet WALLET menu. Here you can see the tokens available in your CENNZnet account.

How to transfer tokens from Ethereum to CENNZnet

Click on the Deposit tab to transfer tokens from Ethereum to CENNZnet. 

You will need to:

  1. Select the token type from the Token menu
  2. Specify the amount
  3. Specify the CENNZnet recipient address

When you press the DEPOSIT button, MetaMask will show a window asking you to confirm the transaction.

Once the transaction is confirmed, you can view the transaction in MetaMask and Etherscan. This can take a couple of minutes to come through.

How to transfer tokens from CENNZnet to Ethereum

Click on the Withdraw tab to transfer tokens from CENNZnet to Ethereum.  

You will need to:

  1. Select the token type from the Token menu
  2. Specify the amount

The tokens will be withdrawn from the CENNZnet account connected to the bridge.

When you press the WITHDRAW button, you will need to perform 2 steps:

  1. Pay for the CENNZnet gas fee using the CENNZnet Extension 
  2. Pay for the Ethereum gas fee using MetaMask

 

Once the transaction is confirmed you can view the transaction in UNcover. Your balance will be updated in the CENNZnet WALLET menu. This can take a couple of minutes to update.

 

Paying for the CENNZnet gas fee

 

Paying for the Ethereum gas fee

 

 

Congratulations, now you have successfully transferred your tokens!