Select Page

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:

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”

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:

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:

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.

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:

You can always increase or decrease the amount of the collateral later on:

Borrowing

To borrow some funds, find the coin you wish to borrow and click on borrow:

In this example, we are borrowing milkTia:

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:

The Nitron dashboard is nicely done, we can see all the information easily:

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:

Don’t forget that by using Demex, you could be eligible for its future airdrop.

How to protect your offline wallet

We are surfing the Web hunting for the latest airdrop. A link somewhere says that we are eligible, but we have only a few hours to claim. We rush to the link and connect our wallet… then we get a bit suspicious but it’s already too late.

Scammers are getting very innovative in luring us into traps. We have to be extremely careful where we connect our wallet. Even if the link comes from a trusted source, we still have to double check everything.

We should never sign a transaction that we don’t understand, however most of the time the transactions are not human readable.

Thankfully there are some tools that can identify scams and wallet drainers before they interact with your wallet. Check walletguard, in one click you can scan for risks including approvals, hacks, honeypots & more.

Again, as a good practice, you should do your own research even before using walletguard.

And don’t forget rule #1 regarding your wallet: Never share your secret phrase with anyone.

How to verify your L2 airdrop score

Rhino.fi offers an interesting tool that helps you determine your potential eligibility for an airdrop from the new layer2 networks.

On the site, you can click on “Trackers”, select the network and input your address.

Based on your transaction history on that chain, Rhino will give you a score and you have the possibility to run a simulation. While a good score does not guarantee and airdrop, it will let you know what interactions with the platform you can do to better your chances.

Besides this functionality, Rhino offers a bridge with reasonable fees. In the following example, it would cost 1.7 USDC to bridge from Scroll to ZkSync Era:

You can also check our article about owlto for other bridging possibilities.

Other interesting platform for checking your level:

rubyscore displays the level you reached for each network and lets you claim level NFTs that will help you generate more transactions and level up.

netlify gives you a comprehensive summary of your status based on previous airdrops.

Rainbow wallet

Are you looking for an offline wallet for your Web3 journey? Besides the famous metamask, there are a lot of new wallets that are getting traction and support.

Rainbow is an open source self-custodial wallet for the Ethereum stack. You can download it as an application or as a browser plugin. You can even pair it with your hardware wallet.

What’s special about Rainbow is that it has a points system that rewards users that already use the Ethereum stack for swapping and other transactions, even if you don’t use the Rainbow wallet yet! You can check it out and see if you have any points ready to claim!