# Turing Staking Guide

How to stake TUR tokens (OAK Network)

## Step 1 - Account

Follow the link to [Turing Accounts Page](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.turing.oak.tech#/accounts), it assumes you have [Polkadot.js extension](https://polkadot.js.org/extension/) installed and account having TUR tokens configured. Please click on the images to zoom.

![account page](https://3282887039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJhkuXNZFKT0RXjh9M4l1%2Fuploads%2FdeKp5qeS1u67tt4FPbxQ%2Faccounts_page.jpg?alt=media\&token=d25f7a02-a80f-437d-a157-f38b6f1d9fc3)

## Step 2 - Developer -> Extrinsics

Next, on the top menu, click on Developer -> Extrinsics, or [follow this link](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.turing.oak.tech#/extrinsics)

![Staking Step](https://3282887039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJhkuXNZFKT0RXjh9M4l1%2Fuploads%2FiBlGaymGGBLpVG8B6LRT%2Fstaking_step.jpg?alt=media\&token=1b9d4a68-c242-4dba-839e-a902ed175891)

1. Select the account with TUR balance (if you have just one account it will be automatically selected)
2. In `submit the following extrinsic` find and select `parachainStaking`from the dropdown
3. In next dropdown find and select *`delegate(candidate, amount, candidateDelegationCount, delegationCount)`*
4. In `candidate: AccountId32` input the Collator address with whom you want to stake, you can find the collators on <https://staketur.com/> click the copy icon next to their address\ <mark style="color:blue;">Tip: You can stake with pathrocknetwork with following address:</mark> <mark style="color:blue;"></mark><mark style="color:blue;">`6BkqEuMXuNYzssdPQYpo4eVbcA2756RdfBHbSAvgj5FFZx71`</mark>\
   ![](https://3282887039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJhkuXNZFKT0RXjh9M4l1%2Fuploads%2FIzkfmPMXD3lyEdjIzwxa%2Fpathrock-collator-address.jpg?alt=media\&token=b8b752ec-f916-4876-ba65-48365e9d4d83)
5. In `amount: u128 (BalanceOf)` field input the TUR amount, the amount should be multiplied by 10000000000.\
   for example if you want to stake 50 TUR the amount to input will be: `50 * 10000000000 = 500000000000`\ <mark style="color:blue;">Please remember the minimum amount to stake is 50 TUR</mark>
6. In `candidateDelegationCount: u32` field, go to <https://staketur.com/> and note down the value in your position / Delegations column (you should take the value of Delegation which is in 2nd row) as shown in the image below, <mark style="color:blue;">please note that this value can change, so always refresh the page and get the latest value before submitting the transaction</mark>\
   ![](https://3282887039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJhkuXNZFKT0RXjh9M4l1%2Fuploads%2FxqSoKFGyMeDJTA6h1wyi%2Fdelegationcount.jpg?alt=media\&token=c2b413f1-bd16-4cc0-bd48-aa4af0abd1b6)
7. The `delegationCount: u32` the field represents your previous delegations, if you are delegating for the first time then leave it as 0, in case of 2nd delegation, input 1... and so on...
8. Finally, press 'Submit Transaction' button and sign the transaction with Polkadot.js wallet extension, in a few seconds the transaction should be thorugh and you should see a confirmation message and the top right of the screen

## Step 3 - Confirmation

You can head over to the [following link](https://turing.stg.subscan.io/) and input your TUR wallet address, at bottom you can see Extrinsics with Action: [parachainstaking (delegate)](https://turing.stg.subscan.io/extrinsic?module=parachainstaking\&call=delegate) and Result column with a green tick mark. Congratulation you have successfully staked your TUR tokens.<br>

{% hint style="success" %}
At the time of writing, the <mark style="color:blue;">pathrocknetwork</mark> is the best performing collator with the highest apr.  \
To learn more about <mark style="color:blue;">pathrocknetwork</mark> please visit us at <https://pathrocknetwork.org/>
{% endhint %}


# Increase Bond

How to increase the stake value

If you want to stake more TUR to a collator you have already staked, you can use `delegatorBondMore(candidate, more)` function under [parachainStaking option here](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.turing.oak.tech#/extrinsics)

![delegate bond more](https://3282887039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJhkuXNZFKT0RXjh9M4l1%2Fuploads%2FWl1GFyqCn8ifwvBclrpM%2Fdelegatebondmore.jpg?alt=media\&token=45827d9a-c83b-4221-be76-bfea063b5032)

As seen in image above

1. Select your wallet account&#x20;
2. Select `paraChainStaking` from the dropdown
3. select `delegatorBondMore(candidate, more)`
4. paste the validator Collator address with whom you previously staked
   1. &#x20;in case of pathrocknetwork you can use the following address: <mark style="color:blue;">`6BkqEuMXuNYzssdPQYpo4eVbcA2756RdfBHbSAvgj5FFZx71`</mark>
5. in more: field input the amount you want to stake, remember to multiply it by 10000000000 for example if you want to stake 50 TUR the amount to input will be: `50 * 10000000000 = 500000000000`
6. Press <mark style="background-color:purple;">Submit Transaction</mark> button

{% hint style="success" %}
You can head over to the [following link](https://turing.stg.subscan.io/) and input your TUR wallet address, at the bottom you can see Extrinsics with Action: parachainstaking (delegator\_*bond\_*&#x6D;ore) and Result column with a green tick mark. Congratulation you have successfully increased your TUR stake.
{% endhint %}


# Decrease Bond

How to decrease the stake value

{% hint style="danger" %}
Decrease bond takes two transactions, the first one is to schedule less bond function and after waiting for 24 rounds (approx 48 hours) you have to execute Delegation Request function, please follow the guide below
{% endhint %}

## Step 1 - Schedule&#x20;

If you want to unstake some of your TUR from a collator you previously staked, you can use `scheduleDelegatorBondLess(candidate, less)` function under [parachainStaking option here](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.turing.oak.tech#/extrinsics)

![](https://3282887039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJhkuXNZFKT0RXjh9M4l1%2Fuploads%2FyCWc3nYk2ekgrwURS6RL%2Fdelegatebondless.jpg?alt=media\&token=26a46e0c-a1a1-49af-a7aa-89fd44f7fcaf)

As seen in the image above

1. Select your wallet account&#x20;
2. Select `paraChainStaking` from the dropdown
3. select `scheduleDelegatorBondLess(candidate, less)`
4. paste the Collator address with whom you previously staked
   1. &#x20;in case of pathrocknetwork you can use the following address: <mark style="color:blue;">`6BkqEuMXuNYzssdPQYpo4eVbcA2756RdfBHbSAvgj5FFZx71`</mark>
5. in less: field input the amount you want to unstake, remember to multiply it by 10000000000 for example if you want to stake 50 TUR the amount to input will be: `50 * 10000000000 = 500000000000`
6. Press <mark style="background-color:purple;">Submit Transaction</mark> button

{% hint style="success" %}
You can head over to the [following link](https://turing.stg.subscan.io/) and input your TUR wallet address, at the bottom you can see Extrinsics with Action: <mark style="color:blue;">parachainstaking (schedule\_delegator\_bond\_less)</mark> and Result column with a green tick mark. you have successfully triggered the unstaking function. Now wait 24 rounds (approx 48 hours) and follow the following steps
{% endhint %}

## Step 2 - Execute

Once 48 hours are over,  you can use `executeDelegationRequest(delegator, candidate)` function under [parachainStaking option here](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.turing.oak.tech#/extrinsics)

![execute delegation request](https://3282887039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJhkuXNZFKT0RXjh9M4l1%2Fuploads%2FiRw9cc5Ij2u65wBM8E8y%2Fexecute_delegation_request.jpg?alt=media\&token=35c7398b-7bd9-44d2-98aa-26dd06ef08fe)

1. Select your wallet account&#x20;
2. Select `paraChainStaking` from the dropdown
3. select `executeDelegationRequest(delegator, candidate)`
4. In delegator: select your wallet again.
5. In candidate: paste the collator address with whom you staked previously.
6. Press <mark style="background-color:purple;">Submit Transaction</mark> button


# Turing Unstaking Guide

How to unstake your staked TUR tokens

{% hint style="danger" %}
Unstaking takes two transactions, the first one is to schedule revoke delegation function and after waiting for 24 rounds (approx 48 hours) you have to execute Delegation Request function, please follow the guide below
{% endhint %}

## Step 1 - Schedule&#x20;

If you want to fully unstake TUR from a collator (Revoke Delegation) you previously staked, you can use `scheduleRevokeDelegation(collator)` function under [parachainStaking option here](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.turing.oak.tech#/extrinsics)

![schedule revoke delegation](https://3282887039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJhkuXNZFKT0RXjh9M4l1%2Fuploads%2FiGJ6wmSLhCK8GVxfD1Z7%2Fschedule_revoke_delegation.jpg?alt=media\&token=9014a25f-9a56-4564-aa20-8d5acad652a8)

As seen in the image above

1. Select your wallet account&#x20;
2. Select `paraChainStaking` from the dropdown
3. select `scheduleRevokeDelegation(collator)`
4. paste the validator Collator address with whom you previously staked
   1. &#x20;in case of pathrocknetwork you can use the following address: <mark style="color:blue;">`6BkqEuMXuNYzssdPQYpo4eVbcA2756RdfBHbSAvgj5FFZx71`</mark>
5. Press <mark style="background-color:purple;">Submit Transaction</mark> button

{% hint style="success" %}
You can head over to the [following link](https://turing.stg.subscan.io/) and input your TUR wallet address, at the bottom you can see Extrinsics with Action: <mark style="color:blue;">parachainstaking (schedule\_revoke\_delegation)</mark> and Result column with a green tick mark. you have successfully triggered the unstaking function. Now wait 24 rounds (approx 48 hours) and follow the following steps
{% endhint %}

## Step 2 - Execute

Once 48 hours are over,  you can use `executeDelegationRequest(delegator, candidate)` function under [parachainStaking option here](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.turing.oak.tech#/extrinsics)

![execute delegation request](https://3282887039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJhkuXNZFKT0RXjh9M4l1%2Fuploads%2FiRw9cc5Ij2u65wBM8E8y%2Fexecute_delegation_request.jpg?alt=media\&token=35c7398b-7bd9-44d2-98aa-26dd06ef08fe)

1. Select your wallet account&#x20;
2. Select `paraChainStaking` from the dropdown
3. select `executeDelegationRequest(delegator, candidate)`
4. In delegator: select your wallet again.
5. In candidate: paste the collator address with whom you staked previously.
6. Press <mark style="background-color:purple;">Submit Transaction</mark> button

{% hint style="info" %}
If you do not want to unstake your full amount you can use [Decrease Bond](https://oak-turing.pathrocknetwork.org/turing-staking-guide/decrease-bond) guide to reduce your staked TUR. At the moment Turing is offering a high APR, happy earnings..
{% endhint %}


