How to save gas on XFai using Automate

ChronoLogic
ChronoLogicNetwork
Published in
3 min readJun 17, 2021

--

With XFai being a service provider that requires the execution of complex smart contracts, one of the main issues their users face is high transaction fees. As part of our partnership with XFai, ChronoLogic brings a solution to this problem by rolling out Automate.

In this article, we’ll go over the details of how to use Automate to lower gas fees while staking on XFai. If you’re interested in learning more about how to sign up to Automate, please refer to this article.

You can also watch the video below and see how to save on gas in 1 minute using Automate.

Staking on XFai

Before you get started, please make sure you’re logged into your Metamask wallet.

  1. Navigate to farm.xfai.com and make sure the notification across the top indicates that you’re connected to Automate.

Now, with the connection being set up, you can save on gas costs when you’re staking your tokens in liquidity pools, adding more to your staked amount, or claiming your rewards on XFai. You are in control of how much gas you’d like to spend while executing any transaction.

For example, you’re about to stake USDT into the XFai liquidity pool. In this tutorial, we’re not going to be covering the whole staking process, and will only focus on how to lower your transaction fees using Automate. Here’s a detailed tutorial on how to farm on XFai.

Once you’ve entered the amount of USDT and clicked Farm, the Metamask window pops up with the Automate network already selected. AUTOMATE WILL SUGGEST THE BEST GAS PRICE FOR YOU AUTOMATICALLY, DEPENDING ON THE CONNECTION SETTINGS! You can click Confirm at this point and submit your transaction.

2. If you wanted to, you could adjust the gas price even further. Click Edit to be able to customize your gas settings.

3. In the Advanced tab, you can set your gas price to an extremely low value if you believe the network’s activity will be lower resulting in cheaper gas prices during the confirmation time (which is set to 24 hours by default).

4. Click Save when you’re done editing.

5. Now, once you’ve lowered a fee associated with this transaction, click Confirm.

6. Navigate back to Automate and choose Transactions from the dropdown under your account menu. At the top of the list, you’ll see your transaction pending to be executed when the gas price matches the specified criteria, which is 32 Gwei in this case.

Once a transaction gets scheduled or executed (as well as canceled or delayed due to high gas prices) you will receive an email.

You can use the same method of confirming your transactions in Metamask whenever there are fees associated with your requests. We believe that you’ll have a much better transaction experience using Automate and significantly lower your gas spendings on XFai.

Ready to try it out? Follow this link to get started https://automate.chronologic.network/?utm_source=xfai

If you’re interested in learning more about how to sign up to Automate, please refer to this article.

Stay tuned to our blog, Telegram, and Twitter for more technical updates as we continue our integration with the XFai dapp.

--

--