Babel Fees on Ergo: How-To Guide

explained community dev
Ergo Platform

November 24, 2022

The Problem

Every blockchain requires a fee to fund transactions, and it is most often a blockchain's respective coin that pays for transactions on the network. In the case of Ergo, every transaction requires a payment in $ERG.

For those who are active within a blockchain’s ecosystem, there is often a desire to hold assets other than that blockchain’s coin. You may want to buy NFTs, or you may want other tokens native to the blockchain. Depending on a wallet's holdings, the need to use $ERG to pay for transactions may create some complexities. What if the wallet does not have enough $ERG to fund a transaction where the user is trying to send a native token? This sort of scenario might discourage a person from using the chain because they cannot fund a transaction with $ERG.

Based on the above scenario, it would be more convenient to pay for transactions in native tokens rather than $ERG. This is now possible with the introduction of Babel fees.

Babel Fees

With Babel fees, you no longer need $ERG to pay for a transaction. You can pay for the transaction using fungible, native tokens that have liquidity. Let’s take a look at how this new feature works on Ergo.

Providing Babel Fee Liquidity

Before using Babel fees, someone (or many people) must provide liquidity on the blockchain. They agree to buy the native asset for $ERG at some rate. To illustrate:

  1. Go to the Tokenjay site.
  2. Click “Open App”.
  3. Click “Purchase Tokens”.
  4. Click “Babel Fee Liquidity”.
  5. Connect a compatible ErgoPay wallet.
  6. Click “create new babel fee box”.
  7. Select token from drop-down box or own ID entered below.
  8. Optional: Enter token ID of a fungible token (not an NFT) not on drop-down list.
  9. Enter rate, or number of $ERG per token, often as a decimal, such as 0.0001.
  10. Enter the amount of $ERG you are willing to buy at that rate.
  11. Click “create Babel fee box”.
  12. Scan QR code.
  13. Check the rates before signing.
  14. Optional: Go back to Step 6 if the rates were not as expected.
  15. Sign transaction in your ErgoPay compatible wallet.

babel-liquidity (1).png

This provides a Babel Fee bank box, which anyone can use to trade the digital asset for $ERG to pay for transactions. Building the transaction is handled within a wallet that supports Babel Fees.

Using Babel Fee Bank Boxes

Using Babel Fee Boxes is simple. Nautilus, for example, allows you to pick a token to pay a fee based on what is in your wallet, and it selects the best rate from the Babel Fee bank boxes available on the blockchain. In the case below, the token SigUSD is being used to swap for the necessary amount of $ERG to pay for the transaction. The process of choosing to pay with Babel fees is as simple as selecting the native asset from a pull-down list.

babel-nautilius (1).png

Conclusion

Babel Fees are an innovative solution that make blockchains easier to use. For users, they eliminate the need to keep the blockchain coin in each wallet they own. It basically helps to prevent assets from getting “stuck” because a wallet does not have the blockchain’s coin (or enough of that coin). The introduction of Babel fees on Ergo offers a significant boost to the versatility of the blockchain. With this newly implemented technology, Ergo becomes much more fluid and flexible by increasing the efficiency of transactions and interactions on the network.

Share post

Loading...