20220309: Sturdy.finance testnet tutorial

  • 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, turn on ‘Testnets’, search fantom, and add ‘Fantom Testnet’ to your Metamask wallet.

post image

1.2. Get FTM as gas fee on testnet.

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

post image

2.Try Testnet

2.1.Faucet fund for testnet

Goto https://app.sturdy.finance/faucet, connect your wallet:

post image

Let’s take faucet WETH as example below.

post image
post image
post image

2.2.Deposit

Goto https://app.sturdy.finance/deposit, and provide WETH.

post image

Choose amount to deposit and continue:

post image

Follow the instructions to approve and deposit:

post image

Now we have 7.5 WETH as collateral.

post image

2.3.Withdraw

You may withdraw your deposit.

post image

Follow steps to finish withdrawal.

post image

2.4.Borrow

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

post image

Choose amount you want to borrow, and continue.

post image

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

post image

2.5.Repay

We can repay at any time.

post image

Follow steps to finish repay.

post image