# Lara App walkthrough

## Connecting your wallet

When you open the Lara App, you can click on any of the connect buttons to connect your wallet(Metamask as an example)

<figure><img src="https://4107685385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7CwAsCkQWhbSW5EWxNRc%2Fuploads%2F9n2Yly0hxjr6oOEhN81K%2FScreenshot%202024-11-06%20at%2017.37.27.png?alt=media&#x26;token=14a7c95d-40b1-4977-b9d2-f896df5a8a55" alt=""><figcaption><p>Click any of these to connect</p></figcaption></figure>

Once connected, you should see your wallet address like this:

<figure><img src="https://4107685385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7CwAsCkQWhbSW5EWxNRc%2Fuploads%2F3J2yUjvjtmCsAY25i2wN%2FScreenshot%202024-11-06%20at%2017.38.21.png?alt=media&#x26;token=b2b2ddfc-10ea-4032-9514-88e38d010f58" alt=""><figcaption><p>An example for a connected address</p></figcaption></figure>

### How to stake $TARA

When you open the app, you should see this central card with a single main call to action: STAKE.

<figure><img src="https://4107685385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7CwAsCkQWhbSW5EWxNRc%2Fuploads%2FOLmvlbYaWpGShYfEnCP5%2Fimage.png?alt=media&#x26;token=bc4de89d-8647-473b-b1de-04e99ab57d44" alt=""><figcaption><p>How to stake</p></figcaption></figure>

All you need to do is complete the amount input with the number of TARA tokens you want to stake, and then click the stake button:

<figure><img src="https://4107685385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7CwAsCkQWhbSW5EWxNRc%2Fuploads%2FXEOv0eF4myeXqV5TXMPZ%2FScreenshot%202024-11-06%20at%2017.40.08.png?alt=media&#x26;token=d75f53d1-1ce1-44f2-a761-516d6f130f52" alt=""><figcaption><p>Adding the amount to stake</p></figcaption></figure>

This should trigger a transaction and stake your tokens

{% hint style="danger" %}
The minium amount to stake is 1000 $TARA
{% endhint %}

## How to Undelegate $TARA

If you want to take our your $TARA tokens from Lara Protocol, you need to proceed to the [Withdrawals](https://app.laraprotocol.com/withdrawals) page and create an undelegation request.&#x20;

{% hint style="danger" %}
Undelegation requests are subject to the same undelegation period as direct staking, but they perceive no commission.
{% endhint %}

The action is the same as on staking, you just need to specify the amount staked and you must have more $stTARA than the specified amount, but the prerequisites are a bit more complex.&#x20;

When you request a withdrawal, your equivalent amount of `$stTARA` is burnt instantly, therefore you need to approve the Lara Protocol contract to burn those on your behalf. This triggers an additional approval request in your wallet.

* [ ] First you need to specify a bigger spending cap than the specified withdrawal amount. The app will prefill this with the maximum integer amount in Solidity.
* [ ] Then, you need to approve that amount.
* [ ] Once that's done, a final popup is going to spawn with the request withdrawal contract interaction.

![](https://4107685385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7CwAsCkQWhbSW5EWxNRc%2Fuploads%2FuwNY1uXVrprDiC1sMCnh%2FScreenshot%202024-11-06%20at%2017.46.24.png?alt=media\&token=df6fe110-6d11-4c40-8f9d-35c487186631)![](https://4107685385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7CwAsCkQWhbSW5EWxNRc%2Fuploads%2Fil36kvjjjNlWoJOp5zcf%2FScreenshot%202024-11-06%20at%2017.46.34.png?alt=media\&token=7ae095bd-b2b5-47f2-a1df-4820f20c6b1c)&#x20;

<figure><img src="https://4107685385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7CwAsCkQWhbSW5EWxNRc%2Fuploads%2F0nB4X1YhjH9NXLiNm79g%2FScreenshot%202024-11-06%20at%2017.47.06.png?alt=media&#x26;token=b02adc50-ff19-407c-aceb-106d2ceb2f93" alt=""><figcaption></figcaption></figure>

Once this is done, our stack will show, after a minute or so, your pending request:

<figure><img src="https://4107685385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7CwAsCkQWhbSW5EWxNRc%2Fuploads%2FG8aH7oPUpREj5qDFxhYc%2FScreenshot%202024-11-06%20at%2017.51.15.png?alt=media&#x26;token=dde2b895-acbb-467f-83cf-8d0e987c908e" alt=""><figcaption><p>One claimable request</p></figcaption></figure>

{% hint style="success" %}
The green section shows the amount of withdrawal requests that are claimable
{% endhint %}

{% hint style="warning" %}
The yellow one shows the amount of withdrawal requests that are not claimable yet. For those, you need to wait for the chain's unlock period.
{% endhint %}

## Claiming withdrawals

On the [Withdrawals](https://app.laraprotocol.com/withdrawals) page, you can move to the Claims tab via clicking the "Claim" toggle

<figure><img src="https://4107685385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7CwAsCkQWhbSW5EWxNRc%2Fuploads%2FtgxqQuq9omnSQt0lbdOU%2FScreenshot%202024-11-06%20at%2017.53.50.png?alt=media&#x26;token=45392569-e35d-4db7-b50d-2bc7922f8f2a" alt=""><figcaption><p>Claim view</p></figcaption></figure>

This will open the list of claims you have and you'll see a "Claim All" button that can be used to claim all ready ones instantly, in one click.

<figure><img src="https://4107685385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7CwAsCkQWhbSW5EWxNRc%2Fuploads%2F3iY9FE7FoaWsvZaNlWiF%2FScreenshot%202024-11-06%20at%2017.55.13.png?alt=media&#x26;token=a21c4e68-c5f6-4a17-82c6-9943e4ba1e24" alt=""><figcaption><p>Claiming a withdrawal request</p></figcaption></figure>

Once this is done, the UI will update and you will be able to see if there are other outstanding requests or not:

<figure><img src="https://4107685385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7CwAsCkQWhbSW5EWxNRc%2Fuploads%2FabbV592abDowrAz0Rh4M%2FScreenshot%202024-11-06%20at%2017.56.14.png?alt=media&#x26;token=2b32727a-06e0-43a6-a3d6-0d19084531d5" alt=""><figcaption><p>No available claims available</p></figcaption></figure>

Happy staking! :tada:
