How to lend your assets with Demex
What is Demex
Demex is a new generation decentralized exchange designed for trading complex financial instruments and derivatives across several blockchains. Anyone can be a market maker by contributing liquidity and making money from trading fees. It offers a wide range of features including trading derivatives, lending or borrowing tokens, minting stablecoins and providing liquidity.
The fact that it is a decentralized exchange means there is not 3rd party involved and no custodial. Everything is managed by smart contracts and code.
Risks
While trading cryptocurrencies comes already with a lot of risk because of volatility, trading on a dex adds a smart contract malfunction of hack risk. If something happens no one is liable. So it’s very important to understand the risks and do your own research before using such technologies.
For example, when you supply your favorite coin to a lending pool, users have to deposit a collateral to be able to borrow it. Usually users have to provide more collateral than what they borrow, but they could do so with many different coins. Now let’s say one of the coins on the collateral side looses all its value (let’s say LUNA for example). For sure the lender prefers to get liquidated rather than paying back the loan and returning your favorite coin. So you are left with worthless coins.
As decentralized exchanges get more sophisticated they try to put some guards in place, however it’s still too early for these safety measures to be bulletproof.
You can review the risks stated by demex here.
Lending
That being said, let’s review how you can lend your assets using Nitron on Demex:
We will be using keplr wallet, which is a great wallet mostly for the COSMOS ecosystem.
The first step is to connect to demex and create your account. Once this is completed, you can click on “Nitron” and search for the coin you wish to lend:
![](https://www.tecsurf.com/wp-content/uploads/2024/02/demex-lend-sttia-1024x459.png)
Once you find your coin, click on “lend”. In this example we clicked on stTIA. If you don’t have stTIA on Demex, you will have to deposit some from your wallet. Click on “Deposit”
![](https://www.tecsurf.com/wp-content/uploads/2024/02/image-15.png)
Transfering your tokens
On the next screen, you have to choose the network that has your coins and the balance you wish to transfer to Demex:
![](https://www.tecsurf.com/wp-content/uploads/2024/02/image-16-1024x435.png)
Once you choose the amount to transfer and click on Deposit, you will have to accept the transaction in your wallet. This will trigger and IBC transaction and you will have to pay for the transaction fee with the coin of your chain. In our example, the fees have to be paid using STRIDE coin. The IBC transaction will move the coins from their chain of origin (Stride) to the Demex chain (Carbon).
It is important to note that once your coins are transferred, you might not see them anymore in your wallet, unless your wallet supports displaying your assets that are on Demex/Carbon.
Complete the transaction
Once completed you go back to the previous step and you can see your coins available to lend:
![](https://www.tecsurf.com/wp-content/uploads/2024/02/demex-lend-sttia2.png)
You can choose how much to lend and whether you want all the amount to be available as collateral or not. This means the amount you wish to make available as collateral for future borrowing.
![](https://www.tecsurf.com/wp-content/uploads/2024/02/demex-lend-sttia4.png)
You will have to confirm the transactions in your wallet. Note that the transaction fee is paid in SWTH, which is the coin used for the Carbon chain.
Once completed, you can start borrowing against the collateral portion:
![](https://www.tecsurf.com/wp-content/uploads/2024/02/demex-lend-sttia6.png)
You can always increase or decrease the amount of the collateral later on:
![](https://www.tecsurf.com/wp-content/uploads/2024/02/image-17.png)
![](https://www.tecsurf.com/wp-content/uploads/2024/02/image-18.png)
Borrowing
To borrow some funds, find the coin you wish to borrow and click on borrow:
![](https://www.tecsurf.com/wp-content/uploads/2024/02/image-19.png)
In this example, we are borrowing milkTia:
![](https://www.tecsurf.com/wp-content/uploads/2024/02/image-20.png)
We can borrow up to 6.59 in this example, however that puts us at risk of liquidation. Always check your Health Factor and make sure it’s in a good position. You have to verify it daily and verify the interest rate as it can vary too. A spike in the interest rate can get you liquidated.
In this example, since the provided collateral and borrowed asset are all liquid TIA, we know that there won’t be a lot of price fluctuation. However if your supplied assets value go down while the borrowed asset goes up, you will need to rebalance.
Again, it’s not financial advice, you should do your extensive research before deciding to use these features.
Here’s the result of the borrowing transaction:
![](https://www.tecsurf.com/wp-content/uploads/2024/02/image-22.png)
The Nitron dashboard is nicely done, we can see all the information easily:
![](https://www.tecsurf.com/wp-content/uploads/2024/02/image-23-1024x460.png)
We have our total asset, health factor, net APY and the “return” button very accessible.
The question now is why would we borrow milkTIA or stTIA if we already have some? This strategy applied at scale will increase our holdings and could help us farm the borrowed coin’s airdrop. It depends whether they consider the net balance or total balance for the airdrop. There are no guarantees.
We can also use the borrowed asset to lend it back, which will improve our health:
![](https://www.tecsurf.com/wp-content/uploads/2024/02/image-24.png)
Don’t forget that by using Demex, you could be eligible for its future airdrop.