Supply, Borrow, Repay and Withdraw Asset

To cover the most important flows: supply, borrow, repay and withdraw an asset, follow the steps below.

Supply Asset

  • Go to Fathom DApp.

  • Connect your Web3 wallet (such as MetaMask) and make sure your network is set to the intended chain (i.e., XDC).

  • Choose the asset to Supply.

    • You can investigate the Market for this asset to make the decision. Clock "Details" button.

  • Click "Supply" button.

  • Enter the amount of the asset you would like to supply.

  • Click "Supply Asset"

    • If this is your first time supplying this asset you may be required to approve the asset transfer before the actual transfer (depending on the asset type).

    • Sign and send the transaction in your Wallet.

    • Wait for the transaction to be processed.

    • Once the transaction has gone through, you'll see your asset supply in "Your supplies".

Borrow Asset

Now, you can borrow assets against your collateral. Be careful only to borrow a little; otherwise, your position may be liquidated. The simplest metric for the position risk is the health factor.

  • Choose an asset to borrow and click "Borrow" button.

  • Enter the amount of the asset you would like to borrow. Pay attention to the Health Factor.

  • Click "Borrow Asset"

    • Sign and send the transaction in your Wallet.

    • Wait for the transaction to be processed.

    • Once the transaction has gone through, you'll see your asset borrowed in "Your borrows".

Repay Asset

If you have significant borrowing positions, your ability to withdraw your supply may be restricted. You need to repay all your borrowed assets with interest to withdraw all your supplies.

  • Choose the asset to repay and click "Repay" button.

  • Enter the amount of the asset you would like to repay.

Click "Repay Asset"

  • If this is your first time repaying this asset you may be required to approve the asset transfer before the actual transfer (depending on the collateral type).

  • Sign and send the transaction in your Wallet.

  • Wait for the transaction to be processed.

  • Once the transaction has gone through, you'll see changes in "Your borrows".

Withdraw Asset

  • Choose the asset to withdraw and click "Withdraw" button.

  • Enter the amount of the asset you would like to withdraw.

Click "Withdraw Asset"

  • Sign and send the transaction in your Wallet.

  • Wait for the transaction to be processed.

  • Once the transaction has gone through, you'll see changes in "Your supplies".

Risk Management

Pay attention to your Health Factor. If it becomes too small, your supplied assets may be liquidated to restore it. In that case, you will lose your supply.

There are 2 ways how to manage your Health Factors:

  • Supply more assets

  • Repay your borrowed assets

Last updated

Copyright© Fathom App 2024.