Skip to content

Commit

Permalink
Add restaking deposit DApp steps
Browse files Browse the repository at this point in the history
  • Loading branch information
yurixander committed Oct 21, 2024
1 parent b73e4a3 commit 9d57ae4
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pages/restake/create_a_pool/lst-pool-create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Sign and submit the transaction. Make sure the account you are using has enough

![PolkadotJS Transaction](/images/liquid-staking/create-pool-polkadotjs/sign.png)

If successful, you should see the following screen:
If successful, you should see the following confirmation toast notification:

![PolkadotJS Pool Created](/images/liquid-staking/create-pool-polkadotjs/inblock.png)

Expand Down
28 changes: 27 additions & 1 deletion pages/restake/how_to_restake/deposit-tangle.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
## Deposit Using Tangle DApp

TODO
Depositing is the process of allocating assets to the multiasset delegation vault. Deposits are required to participate in restaking (delegate).

Users can deposit LST assets to the multiasset delegation vault.

### Step 1: Access the PolkadotJS Interface

- Open [Tangle DApp's Restaking page](https://app.tangle.tools/restake).
- Connect your wallet to the DApp by clicking on the **Connect Wallet** button on the top right and selecting your preferred wallet provider.

### Step 2: Deposit Assets

1. Switch to the **Deposit** tab on the Restaking page.
2. Select the appropriate network from the dropdown list.
3. Select an asset from the modal.
4. Enter the desired amount to deposit.
5. Select an operator from the list, which will be used to restake the deposited assets. You can also search for specific operators by entering their address in the search bar.
6. Review any fees, APY, and other key information before proceeding.
7. If all the information is correct, the **Deposit + Delegate** button should be enabled. Click on it to initiate the transaction.

![Deposit Steps](/images/restake/deposit/dapp-steps.png)

### Step 3: Sign and Submit the Transaction

- Sign and submit the transaction. Make sure the account you are using has enough balance to cover the transaction fee.
- If successful, you should see the following confirmation toast notification:

![Deposit Transaction Confirmation Toast](/images/restake/deposit/deposit-tx-confirmation.png)
10 changes: 4 additions & 6 deletions pages/restake/how_to_restake/deposit.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
## Deposit Using PolkadotJS

Deposit is the process of allocating assets to the multiasset delegation vault. This deposit is required to participate in restaking (delegate).
Depositing is the process of allocating assets to the multiasset delegation vault. Deposits are required to participate in restaking (delegate).

### Deposit Assets

To participate in restaking, a user can deposit LST assets to the multiasset delegation vault.
Users can deposit LST assets to the multiasset delegation vault.

### Step 1: Access the PolkadotJS Interface

Expand All @@ -22,14 +20,14 @@ For convenience, here are the PolkadotJS direct links for Tangle Testnet and Mai

![PolkadotJS Extrinsics](/images/extrinsic.png)

- Under the **MultiAssetDelegation** section, select **Deposit** and enter the amount of assets to deposit.
- Under the **multiAssetDelegation** section, select **deposit(...)**, enter the asset ID and the amount of assets to deposit.

![PolkadotJS Deposit](/images/restake/deposit/deposit.png)

Sign and submit the transaction. Make sure the account you are using has enough balance to cover the transaction fee.

![PolkadotJS Transaction](/images/restake/deposit/depositsign.png)

If successful, you should see the following screen:
If successful, you should see the following confirmation toast notification:

![PolkadotJS Deposit Success](/images/restake/deposit/depositinblock.png)
2 changes: 1 addition & 1 deletion pages/restake/join_a_pool/polkadotjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You can view all pools by clicking on the **Developer** → **Chain state** tab

### Step 5: Confirmation

- If successful, you should see the following screen:
- If successful, you should see the following confirmation toast notification:

![PolkadotJS Pool Joined](/images/liquid-staking/join-pool-polkadotjs/success.png)

Expand Down
2 changes: 1 addition & 1 deletion pages/restake/join_operator/join.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Sign and submit the transaction. Make sure the account you are using has enough

![PolkadotJS Transaction](./images/sign.png)

If successful, you should see the following screen:
If successful, you should see the following confirmation toast notification:

![PolkadotJS Operator Joined](./images/success.png)

Expand Down
2 changes: 1 addition & 1 deletion pages/restake/join_operator/stake.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Sign and submit the transaction. Make sure the account you are using has enough

![PolkadotJS Transaction](./images/signstake.png)

If successful, you should see the following screen:
If successful, you should see the following confirmation toast notification:

![PolkadotJS Operator Joined](./images/successstake.png)

Expand Down
Binary file added public/images/restake/deposit/dapp-steps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/restake/deposit/deposit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/restake/deposit/depositinblock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/restake/deposit/depositsign.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9d57ae4

Please sign in to comment.