How to use the HASHI bridge

What is HASHI?

HASHI is a descentralized and trustless cross chain bridge .The HASHI bridge allows users to move tokens between Ethereum and Sora mainnet. HASHI is integrated with Polkaswap, Polkaswap is a cross chain liquidity agregator DEX protocol for swapping tokens based on Substrate (Polkadot and Kusama networks) and other networks through bridges like Hashi that allows user to move tokens between Ethereum and Sora.

How does HASHI works?

To move assets from Ethereum (ERC20 Tokens) to Sora mainnet (Substrate based network) the user sends their assets to a bridge contract on Ethereum, then HASHI will use the proof of the ethereum transaction as an extrensic call and once the validation has finished on Sora’s side the funds will be available in the user’s Sora wallet.

Before we use the bridge we need to connect to Polkaswap both wallets (Sora’s mainnet and Ethereum), if you don’t know how to create a Sora account you can follow this guide.

Steps:

  1. Open Polkaswap and go to the bridge tab

Click the “Connect account” button, once you click it you will you will be asked to connect a Sora Network account (substrate based), create one or use one you already have.

Select the account you want to use

If your account is successfully connected you should be able to see your account holdings as shown below. If you are in a different page go to the “account” tab in the side menu.

You can also know which address is connected at any moment by looking at the top right, next to your node selection.

Note: Do not use accounts generated by hardware wallets.

How to transfer funds between Ethereum and Sora Network

Just like we did before with the Sora account we need to connect our Ethereum wallet to Polkaswap before we use HASHI. You don’t need to pay any fee to connect your account.

Before you use the bridge be sure Metamask is set to Ethereum mainnet, once it is done go to Polkaswap and click the “Bridge” tab of the side menu.

Click the “Connect account”, you will be asked to choose what Ethereum account you want to use, if Metamask does not open a new window open it manually.

If the connection is successful you should see your Ethereum address on the bridge menu.

Select what bridge direction you wish to use. Are you sending your assets to Sora Network or are you moving your assets to Ethereum?

As you can see in the previous image in the center of the page there is a little button that allows us to switch the direction, just click it until you get the configuration you want to use, for this tutorial we will send assets from Ethereum to Sora Network.

Choose what token are you bridging, always verify the contract address of the token you’re bridging.

To select what token you want to bridge click on the drop down list and choose a token, for this example we will bridge ETH.

You have two options to filter the token you’re looking for, you can look for it manually in the “tokens” tab or you can type the ticker for a quick a search.

If you are already holding the token in Ethereum you will see the amount displayed.

Once you’ve selected a Token put the amount you want to bridge.

At the bottom of the bridge menu you will see how much you will receive, click “Next” and then click the “Confirm” buttton if you are happy with the amounts displayed.

Sora does not charge you any fee while bridging from Ethereum to Sora.

succesfulBefore the confirmation starts you need to confirm the transaction on Metamask. If the window does not pop up automatically then open metamask and confirm it manually.

One of the coolest things about Sora is the amount of gas required to bridge tokens to its netwok, it is as low as a transfer between accounts.

This is not a fixed price and it is displayed as example only, current fees depend on Ethereum gas prices.

While the transactions are being confirmed you will see a screen similar to the one shown below which contains the current status of the first confirmation (Ethereum side), it is recommended to set a high gas fee so the transaction does not get stuck.

Once the ethereum transaction has been confirmed the transaction proof will be sent to Sora.

Sora’s transaction requires 30 block confirmations but this is not an issue since a new block is produced every 6 seconds. Once both transactions are confirmed we will get a notification.

Go to the “account” tab in your side menu and you will see your assets now listed under your Sora account.

That is it, you have succesfully bridged your tokens to Sora. Welcome to the new economy!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store