# 20220309: Sturdy.finance testnet tutorial

By [SeaCrypto.eth](https://paragraph.com/@seacrypto) · 2022-03-10

---

*   Cost: 0
    
*   Time to finish: 5 minutes
    
*   Return: unknown
    

**Sturdy is a new kind of DeFi lending protocol that enables users to earn high stablecoin yields or take out interest-free loans.**

'Lenders' deposit assets they'd like to earn yield on while 'borrowers' provide collateral and take out the assets deposited by lenders as a loan.

When borrowers provide a token as collateral, Sturdy converts it into an interest-bearing token (ibToken) using protocols like Yearn or Lido. Over time, these ibTokens accrue yield; the yield from these tokens are then distributed to lenders in the same token they deposited.

In this tutorial, we are going to try out Sturdy testnet. For now Sturdy testnet supports Fantom and Goerli, and we use Fantom as example in this tutorial.

1\. Preparation
---------------

### 1.1. Configure fanton testnet

Goto [chainlist.org](http://chainlist.org), turn on ‘Testnets’, search fantom, and add ‘Fantom Testnet’ to your Metamask wallet.

![](https://storage.googleapis.com/papyrus_images/ce291bc5b4bc376ca5f0bb641f803c99b60ef19ab8d0a9255d8b29abcc4bca6a.png)

### 1.2. Get FTM as gas fee on testnet.

Goto [https://faucet.fantom.network](https://faucet.fantom.network), fill your address, and request testnet FTM. You may request 5 FTM in every 5 minutes.

![](https://storage.googleapis.com/papyrus_images/4276e004b923bb3369a6bdb41c54aee3ccaf3c16a1cd7e0999754601f59169d0.png)

2.Try Testnet
-------------

### 2.1.Faucet fund for testnet

Goto [https://app.sturdy.finance/faucet](https://app.sturdy.finance/faucet), connect your wallet:

![](https://storage.googleapis.com/papyrus_images/5f9e097194188b7a2449f5947c103df0340b6eab336d9bf964e3a883113b5ce0.png)

Let’s take faucet WETH as example below.

![](https://storage.googleapis.com/papyrus_images/f67b280a3481e04d6c182de02a1a82487d8d76f35055c150e1b2a3193e27b398.png)

![](https://storage.googleapis.com/papyrus_images/09cf7a29b3b16db3c5df0ef0e6da43e1ec27ed75cc096baff6db1b55b84d706b.png)

![](https://storage.googleapis.com/papyrus_images/0264f2d4b7ae4ecb3fbca2c227bbab68ee18be0502745113a1c3c05eb10874ed.png)

### 2.2.Deposit

Goto [https://app.sturdy.finance/deposit](https://app.sturdy.finance/deposit), and provide WETH.

![](https://storage.googleapis.com/papyrus_images/253769dc2aa70e605fc1120e3e1a2c1ba5aedcb8adfec3f6eb2b8080ef27b650.png)

Choose amount to deposit and continue:

![](https://storage.googleapis.com/papyrus_images/b30653f3b0ee5e82fa3ba9fbe6a2f9ce9106ded72095cfe2fff5bcd1f6cfd568.png)

Follow the instructions to approve and deposit:

![](https://storage.googleapis.com/papyrus_images/78047b090ae6216a8cc991358778a6874780b0083fba05a3afbbe2c8c952f137.png)

Now we have 7.5 WETH as collateral.

![](https://storage.googleapis.com/papyrus_images/58f401f9a3fb75b8a5a709267243be8d4be89d91a74e99cd42320aebc6ac0219.png)

### 2.3.Withdraw

You may withdraw your deposit.

![](https://storage.googleapis.com/papyrus_images/717607a48dcac7e89f93dce58e95c2f51df7f6c36238a80f7131969bf2e19c28.png)

Follow steps to finish withdrawal.

![](https://storage.googleapis.com/papyrus_images/1e2c89a65ec9f66e149425c26033f56ff3b2ab70a2163512240b1669899f5646.png)

### 2.4.Borrow

Now we can try to borrow some DAI/USDC/USDT.

![](https://storage.googleapis.com/papyrus_images/de8e248c9b55845c46ae82d535e2242ab7ecbb3f3965aa6a35d1cb30ad2dcc2e.png)

Choose amount you want to borrow, and continue.

![](https://storage.googleapis.com/papyrus_images/d4ce16b82f39d1ca6b760e5b5a992f8089067e6da970ed5e93d4c9f94be4005f.png)

Follow the steps to finish, now we borrowed 4,909 USDT.

![](https://storage.googleapis.com/papyrus_images/09da224f2bdfd9dd75c5cc035ce3f6389e17f861870b0fae6dbbfc03b687bfcc.png)

### 2.5.Repay

We can repay at any time.

![](https://storage.googleapis.com/papyrus_images/6cd0c9f9d4d8826d37e2727aa58fb207d5efcc6b03968aed3384bde59c05ed08.png)

Follow steps to finish repay.

![](https://storage.googleapis.com/papyrus_images/e3b536e114040eada2bb3e46292f01d153c84bac9cc583c98772f42866e67b44.png)

---

*Originally published on [SeaCrypto.eth](https://paragraph.com/@seacrypto/20220309-sturdy-finance-testnet-tutorial)*
